SlideShare a Scribd company logo
ANDROID TESTING
THAT DOESN’T
SUCK
GITHUB:REBOOTD
@COMPUTERISTCO
1
getting started…
TESTING?
2
@computeristco
github:rebootd
Unit Tests?
Integration Tests?
UI Tests?
TESTING?
Helps solving problems
Find bugs faster
Faster development speed
Cleaner code
3
@computeristco
github:rebootd
TESTING?
Helps solving problems
Find bugs faster
Faster development speed
Cleaner code
4
@computeristco
github:rebootd
BECAUSE PHILOSOPHY…
5
@computeristco
github:rebootd
TOOLS
6
@computeristco
github:rebootd
TOOLS
jUnit
7
@computeristco
github:rebootd
TOOLS
jUnit Espresso
8
@computeristco
github:rebootd
TOOLS
jUnit Espresso
UIAutomator
9
@computeristco
github:rebootd
TOOLS
jUnit Espresso
UIAutomator
Monkey
10
@computeristco
github:rebootd
TOOLS
jUnit Espresso
UIAutomator
Monkey
Robotium
11
@computeristco
github:rebootd
TOOLS
jUnit Espresso
UIAutomator
Monkey
Robotium
Robolectric
12
@computeristco
github:rebootd
HOW DO I MAKE IT EASY
13
@computeristco
github:rebootd
• Base classes
• Mocking
• DI
• OSS
• Gradle scripts
• Build Server
Just say no to “friction burn” image search
MOCKING
14
@computeristco
github:rebootd
DEPENDENCY INJECTION
15
@computeristco
github:rebootd
Diving Deeper with Dagger - Fragmented Podcast
http://fragmentedpodcast.com/episodes/021/
CODE COVERAGE
16
@computeristco
github:rebootd
JaCoCo: https://docs.gradle.org/current/userguide/jacoco_plugin.html
START WRITING TESTS
17
@computeristco
github:rebootd
Keep it really simple at first
Reality Check.
Getting started is the hardest part when you’re the only developer.
Getting buy-in is the hardest part when you work on a team.
Also: If you are getting tired of doing it, so is the team.
START WRITING TESTS
18
@computeristco
github:rebootd
Then do something more meaningful, but still simple
RUNNING YOUR TESTS
19
@computeristco
github:rebootd
RUNNING YOUR TESTS
20
@computeristco
github:rebootd
BUILD SERVER INTEGRATION
21
@computeristco
github:rebootd
WATCH OUT FOR…
22
@computeristco
github:rebootd
• flavors
• unsupported api features
• slow tests
• asynchronous can’t be tested
• SSL certificate issue with api calls
sometimes
WHAT ELSE?
23
@computeristco
github:rebootd
UI Testing and build servers?
Appium?
Monkey Runner?
UI Automator?
Ranorex?
Selendroid?
LINKS AND REFERENCES
24
@computeristco
github:rebootd
Code:
https://github.com/rebootd/ComputeristReader
GDE’s:
https://github.com/chiuki
https://github.com/donnfelker
Articles & Samples
https://github.com/googlesamples/android-testing
http://www.meetup.com/DenverDroids/events/224537126/
http://blog.sqisland.com/2015/10/how-i-prepared-my-keynote.html
http://www.donnfelker.com/materials-from-hdc09-testing-with-mocks-talk/
http://www.donnfelker.com/integration-testing/
TO BE CONTINUED…
25
@computeristco
github:rebootd
Resources:
http://slides….
https://github.com/rebootd/ComputeristReader
Contact:
http://computerist.co
https://github.com/rebootd
https://twitter.com/computeristco
Ask me about
presenting
for your group

More Related Content

PPTX
Android Testing Talk by Rebootd v1
PPTX
JavaScript and Internet Controlled Hardware Prototyping
PDF
Android Testing, Why So Hard?!
PPTX
Top 10 programming langauges crossed decades
PDF
Beyond 100% test coverage
PPTX
Predictions for the Next Five Years - Allen Wilterdink
PDF
Riding on rails3 with full stack of gems
PDF
初心者が半年間iOS開発をして思ったことなど
Android Testing Talk by Rebootd v1
JavaScript and Internet Controlled Hardware Prototyping
Android Testing, Why So Hard?!
Top 10 programming langauges crossed decades
Beyond 100% test coverage
Predictions for the Next Five Years - Allen Wilterdink
Riding on rails3 with full stack of gems
初心者が半年間iOS開発をして思ったことなど

What's hot (11)

KEY
An introduction to Git.
PDF
QCon London 2019 - LinuxKit
PPTX
GitHub: The Good Parts
ODP
Git slides
PDF
Open Source Craft at Twitter
PDF
How software that runs Wikipedia is tested
PDF
Adding Source Control to Your Life
PDF
Yes, you can git!
PPTX
Continous integration with github actions by Peter Grainger
PDF
Web APIs - Best practices
PPTX
BotCommons: Metadata for Bots - Devoxx 2017
An introduction to Git.
QCon London 2019 - LinuxKit
GitHub: The Good Parts
Git slides
Open Source Craft at Twitter
How software that runs Wikipedia is tested
Adding Source Control to Your Life
Yes, you can git!
Continous integration with github actions by Peter Grainger
Web APIs - Best practices
BotCommons: Metadata for Bots - Devoxx 2017
Ad

Viewers also liked (20)

PDF
Varghese Chacko Portfolio
PDF
2005 Cancer SOS paper
PPTX
Android Testing Talk by Rebootd v2
PPTX
PDF
Robin Peralta Resume - 11/14/15
PDF
Mmf booklet
PPTX
J2000
PDF
VAIWG_FINAL
PPT
Proyecto
PPT
Presentations
PDF
2011 J Schroeder Paternalistic ldr-ship turkey
PDF
「隱私不再」:一個社會實作觀點的嘗試
PPTX
Ict Portfolio (PYTHON)
PDF
GESTION DE LA CALIDAD
PPTX
TheriaultNEL7001-8
PPTX
Gerardo Rodriguez p3
PDF
event booklet 3
PPT
IT market
PPTX
Powerpoint Presentation
PDF
OOP Is More Than Cars and Dogs
Varghese Chacko Portfolio
2005 Cancer SOS paper
Android Testing Talk by Rebootd v2
Robin Peralta Resume - 11/14/15
Mmf booklet
J2000
VAIWG_FINAL
Proyecto
Presentations
2011 J Schroeder Paternalistic ldr-ship turkey
「隱私不再」:一個社會實作觀點的嘗試
Ict Portfolio (PYTHON)
GESTION DE LA CALIDAD
TheriaultNEL7001-8
Gerardo Rodriguez p3
event booklet 3
IT market
Powerpoint Presentation
OOP Is More Than Cars and Dogs
Ad

Similar to Android Testing by Rebootd v2 (20)

PDF
[Ultracode Munich #4] Short introduction to the new Android build system incl...
PPTX
Android developer's toolbox
PDF
Developer Android Tools
PDF
Play with Testing on Android - Gilang Ramadhan (Academy Content Writer at Dic...
PDF
Continous UI testing with Espresso and Jenkins
PDF
Android build process (1)
PDF
#BABBQAmsterdam The other Android getting started guide: Gradle power
PPTX
Android Apps Testing in 2019
PPTX
Building High Quality Android Applications
PDF
Testing on Android
PDF
Cracking android app. Мокиенко Сергей
PPTX
Android testing
ODP
Unit Test Android Without Going Bald
PDF
Introduction to Robotium
PDF
Guide to the jungle of testing frameworks
PPTX
Different Android Test Automation Frameworks - What Works You the Best?
PDF
Android's Warp Pipe
PDF
Unit & Automation Testing in Android - Stanislav Gatsev, Melon
PDF
Unit testing and Android
PPTX
Android testing
[Ultracode Munich #4] Short introduction to the new Android build system incl...
Android developer's toolbox
Developer Android Tools
Play with Testing on Android - Gilang Ramadhan (Academy Content Writer at Dic...
Continous UI testing with Espresso and Jenkins
Android build process (1)
#BABBQAmsterdam The other Android getting started guide: Gradle power
Android Apps Testing in 2019
Building High Quality Android Applications
Testing on Android
Cracking android app. Мокиенко Сергей
Android testing
Unit Test Android Without Going Bald
Introduction to Robotium
Guide to the jungle of testing frameworks
Different Android Test Automation Frameworks - What Works You the Best?
Android's Warp Pipe
Unit & Automation Testing in Android - Stanislav Gatsev, Melon
Unit testing and Android
Android testing

Recently uploaded (20)

PPTX
ai tools demonstartion for schools and inter college
PPTX
CHAPTER 2 - PM Management and IT Context
PDF
T3DD25 TYPO3 Content Blocks - Deep Dive by André Kraus
PDF
Raksha Bandhan Grocery Pricing Trends in India 2025.pdf
PPTX
Agentic AI : A Practical Guide. Undersating, Implementing and Scaling Autono...
PDF
wealthsignaloriginal-com-DS-text-... (1).pdf
PDF
Understanding Forklifts - TECH EHS Solution
PDF
Why TechBuilder is the Future of Pickup and Delivery App Development (1).pdf
PPTX
history of c programming in notes for students .pptx
PDF
medical staffing services at VALiNTRY
PPTX
L1 - Introduction to python Backend.pptx
PPTX
Embracing Complexity in Serverless! GOTO Serverless Bengaluru
PDF
Design an Analysis of Algorithms I-SECS-1021-03
PDF
Upgrade and Innovation Strategies for SAP ERP Customers
PDF
System and Network Administration Chapter 2
PDF
Digital Systems & Binary Numbers (comprehensive )
PDF
Internet Downloader Manager (IDM) Crack 6.42 Build 42 Updates Latest 2025
PDF
System and Network Administraation Chapter 3
PDF
Which alternative to Crystal Reports is best for small or large businesses.pdf
PDF
Claude Code: Everyone is a 10x Developer - A Comprehensive AI-Powered CLI Tool
ai tools demonstartion for schools and inter college
CHAPTER 2 - PM Management and IT Context
T3DD25 TYPO3 Content Blocks - Deep Dive by André Kraus
Raksha Bandhan Grocery Pricing Trends in India 2025.pdf
Agentic AI : A Practical Guide. Undersating, Implementing and Scaling Autono...
wealthsignaloriginal-com-DS-text-... (1).pdf
Understanding Forklifts - TECH EHS Solution
Why TechBuilder is the Future of Pickup and Delivery App Development (1).pdf
history of c programming in notes for students .pptx
medical staffing services at VALiNTRY
L1 - Introduction to python Backend.pptx
Embracing Complexity in Serverless! GOTO Serverless Bengaluru
Design an Analysis of Algorithms I-SECS-1021-03
Upgrade and Innovation Strategies for SAP ERP Customers
System and Network Administration Chapter 2
Digital Systems & Binary Numbers (comprehensive )
Internet Downloader Manager (IDM) Crack 6.42 Build 42 Updates Latest 2025
System and Network Administraation Chapter 3
Which alternative to Crystal Reports is best for small or large businesses.pdf
Claude Code: Everyone is a 10x Developer - A Comprehensive AI-Powered CLI Tool

Android Testing by Rebootd v2