Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Testing and CI in Android
Search
Soham Mondal
October 14, 2016
Technology
290
3
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Testing and CI in Android
Talk on Testing and Continuous Integration/Delivery at Devfest-Blrdroid 2016
Soham Mondal
October 14, 2016
More Decks by Soham Mondal
See All by Soham Mondal
Building Unstoppable Products v1.1
soham
0
150
Product Design as Your Competitive Edge
soham
0
160
Building Unstoppable Startups: Product Design as Your Competitive Edge
soham
0
190
Best Practices For Designing Apps For India - Devfest Bangalore 2022
soham
0
610
How (and Why) to be a data driven startup - THub Rubrix
soham
0
250
GFS - Startup School 2022
soham
0
710
Designing Experiences For Indian Users - T-Hub
soham
0
400
Designing_Products_For_Novice_Internet_Users_-_I.pdf
soham
0
180
Designing Products for Novice Internet Users - Opportunities & Problems
soham
1
290
Other Decks in Technology
See All in Technology
Digitization部 紹介資料
sansan33
PRO
2
7.7k
私がブラウザを自作したくなった理由
supurazako
1
270
Software Supply Chain Attackからクラウド環境を守るためにできること
lhazy
2
280
AIペネトレーションテスト・ セキュリティ検証「AgenticSec」紹介資料
laysakura
2
9.3k
ブラウザ研修 2026
recruitengineers
PRO
7
1.3k
猫付きpingコマンドを自作
uyuki234
0
270
SmartHR Engineering Team Deck
smarthr
1
3k
Go 1.27 の標準パッケージに uuid が入った!のでいろいろ喋る / go_127_std_go_uuid
convto
3
530
ハーレムエンジニアリング
kazuma777777
0
190
AIコーディングの次。コードレビューと理解負荷を解消して組織の開発生産性を高める
moongift
PRO
2
2.7k
【GCC2026】大規模言語モデルを活用した内製検索サービスの社内展開や業務活用
bandainamcostudios
PRO
0
340
AIに持続⼒を与える 判断の⻑期記憶設計
eiei114
1
360
Featured
See All Featured
Chasing Engaging Ingredients in Design
codingconduct
0
280
So, you think you're a good person
axbom
PRO
2
2.1k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
10
1.3k
Ecommerce SEO: The Keys for Success Now & Beyond - #SERPConf2024
aleyda
1
2.1k
We Analyzed 250 Million AI Search Results: Here's What I Found
joshbly
1
1.8k
JAMstack: Web Apps at Ludicrous Speed - All Things Open 2022
reverentgeek
1
570
How To Stay Up To Date on Web Technology
chriscoyier
790
250k
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
Designing for Performance
lara
611
70k
What the history of the web can teach us about the future of AI
inesmontani
PRO
1
660
The B2B funnel & how to create a winning content strategy
katarinadahlin
PRO
1
470
Groundhog Day: Seeking Process in Gaming for Health
codingconduct
0
290
Transcript
Testing and CI in Android Soham Mondal https://speakerdeck.com/soham/testing-and-ci-in-android
You know it’s a good event if the first talk
of the day is on Testing
Soham Mondal - Founder, Triveous - Creator, Voice Recorder -
Google Expert: UX - Organizer at Blrdroid - Android/UX consultant
- What is Testing? - Testing principles - Types of
Tests - Unit testing/Instrumentation Testing - Architecture - Continuous Integration - Live Demos Agenda
What is testing? Testing is an investigation conducted to see
if a product satisfies its requirements or not
Testing Principles - Isolation - Integration - Scenarios
Unit Testing What are you testing?
Unit Testing - Objective of Unit Testing: What are you
testing? - Business logic - No external dependencies - Options: Roboelectric, JUnit - Unit testing on android studio - Mockito/PowerMock
Instrumentation Testing What are you testing?
Instrumentation Testing - Objective: What are you testing? - User
Behavior/Dependencies/Integration - Options: Robotium, Espresso - Why is espresso generally better? - Espresso test recorder in android studio
Types of Tests - Unit tests - Integration tests -
End to end tests http://googletesting.blogspot.in/2015/04/just-say-no-to-more-end-to-end-tests.html
Unit vs End-to-End Tests http://googletesting.blogspot.in/2015/04/just-say-no-to-more-end-to-end-tests.html - Fast - Reliable -
Isolates Failures - Real User
Architecture - MVP - MVVM - Unit testing the presenter
http://hannesdorfmann.com/mosby/mvp/
Continuous Integration
https://infinum.co/the-capsized-eight/articles/a-ruby-on-rails-continous-integration-process-using-semaphore-github-codeclimate-and-hipchat
Why - Integrate - Build your code properly: Environment, Breakage
- Everyone is on the same page - Run your tests - Code Coverage - Deploy: Continuous deployment - Build faster Solve problems quickly
Options - Travis CI - Circle CI - BuddyBuild -
Jenkins
Cloud
None
None
Self-hosted
None
Running instrumentation Tests
None
None
None
Continuous Deployment
None
Demo: Travis and Unit Tests Soham Mondal https://github.com/s0h4m/toggle
Demo: Jenkins+Spoon and Instrumentation Tests Shivaraj Patil
Q&A @s0h4m |
[email protected]
More espresso - Espresso-Intents and Intent Stubbing - Espresso-Contrib for
DatePicker, RecyclerView, Drawer actions, Accessibility checks, CountingIdlingResource - Idling resources - Code coverage
None
None