Submit Search
Upload
Android Testing: An Overview
•
12 likes
•
3,410 views
SmartLogic
Follow
A brief overview of android testing from SmartLogic's Eric Oestrich.
Read less
Read more
Technology
Report
Share
Report
Share
1 of 37
Download now
Download to read offline
Recommended
Inside Android Testing
Inside Android Testing
Fernando Cejas
Android testing
Android testing
JinaTm
Android testing
Android testing
Bitbar
A guide to Android automated testing
A guide to Android automated testing
jotaemepereira
Android Automation Using Robotium
Android Automation Using Robotium
Mindfire Solutions
Robotium Tutorial
Robotium Tutorial
Mobile March
Test Automation On Android Platform Using Robotium
Test Automation On Android Platform Using Robotium
IndicThreads
Robotium - sampath
Robotium - sampath
Sampath Muddineni
Recommended
Inside Android Testing
Inside Android Testing
Fernando Cejas
Android testing
Android testing
JinaTm
Android testing
Android testing
Bitbar
A guide to Android automated testing
A guide to Android automated testing
jotaemepereira
Android Automation Using Robotium
Android Automation Using Robotium
Mindfire Solutions
Robotium Tutorial
Robotium Tutorial
Mobile March
Test Automation On Android Platform Using Robotium
Test Automation On Android Platform Using Robotium
IndicThreads
Robotium - sampath
Robotium - sampath
Sampath Muddineni
Robotium at Android Only 2010-09-29
Robotium at Android Only 2010-09-29
Hugo Josefson
Testing on Android
Testing on Android
Ari Lacenski
Android testing part i
Android testing part i
Kan-Han (John) Lu
Unit testing and Android
Unit testing and Android
Tomáš Kypta
Different Android Test Automation Frameworks - What Works You the Best?
Different Android Test Automation Frameworks - What Works You the Best?
Bitbar
Testing in Android: automatici, di integrazione, TDD e scenari avanzati
Testing in Android: automatici, di integrazione, TDD e scenari avanzati
Alfredo Morresi
Testing for Android: When, Where, and How to Successfully Use Test Automation
Testing for Android: When, Where, and How to Successfully Use Test Automation
Trent Peterson
Android Test Automation Workshop
Android Test Automation Workshop
Eduardo Carrara de Araujo
Mobile App Testing ScanAgile 2012
Mobile App Testing ScanAgile 2012
Daniel Knott
Testing Android Application, Droidcon Torino
Testing Android Application, Droidcon Torino
Pietro Alberto Rossi
Utilizando Espresso e UIAutomator no Teste de Apps Android
Utilizando Espresso e UIAutomator no Teste de Apps Android
Eduardo Carrara de Araujo
Dagger for android
Dagger for android
Kan-Han (John) Lu
Learn How to Unit Test Your Android Application (with Robolectric)
Learn How to Unit Test Your Android Application (with Robolectric)
Marakana Inc.
Android automation tools
Android automation tools
SSGMCE SHEGAON
Appium Mobile Testing: Nakov at BurgasConf - July 2021
Appium Mobile Testing: Nakov at BurgasConf - July 2021
Svetlin Nakov
Automation Proposal_V1.0
Automation Proposal_V1.0
Dao Nhỏ
Choosing the Best Open Source Test Automation Tool for You
Choosing the Best Open Source Test Automation Tool for You
Perfecto by Perforce
Robotium
Robotium
Isuru Uyanage
How to setup unit testing in Android Studio
How to setup unit testing in Android Studio
tobiaspreuss
MonkeyTalk Documentation
MonkeyTalk Documentation
Vivek Pansara
Android Meetup Slovenija #3 - Testing with Robolectric by Ivan Kust
Android Meetup Slovenija #3 - Testing with Robolectric by Ivan Kust
Infinum
Introduction to android testing - oscon 2012
Introduction to android testing - oscon 2012
OSCON Byrum
More Related Content
What's hot
Robotium at Android Only 2010-09-29
Robotium at Android Only 2010-09-29
Hugo Josefson
Testing on Android
Testing on Android
Ari Lacenski
Android testing part i
Android testing part i
Kan-Han (John) Lu
Unit testing and Android
Unit testing and Android
Tomáš Kypta
Different Android Test Automation Frameworks - What Works You the Best?
Different Android Test Automation Frameworks - What Works You the Best?
Bitbar
Testing in Android: automatici, di integrazione, TDD e scenari avanzati
Testing in Android: automatici, di integrazione, TDD e scenari avanzati
Alfredo Morresi
Testing for Android: When, Where, and How to Successfully Use Test Automation
Testing for Android: When, Where, and How to Successfully Use Test Automation
Trent Peterson
Android Test Automation Workshop
Android Test Automation Workshop
Eduardo Carrara de Araujo
Mobile App Testing ScanAgile 2012
Mobile App Testing ScanAgile 2012
Daniel Knott
Testing Android Application, Droidcon Torino
Testing Android Application, Droidcon Torino
Pietro Alberto Rossi
Utilizando Espresso e UIAutomator no Teste de Apps Android
Utilizando Espresso e UIAutomator no Teste de Apps Android
Eduardo Carrara de Araujo
Dagger for android
Dagger for android
Kan-Han (John) Lu
Learn How to Unit Test Your Android Application (with Robolectric)
Learn How to Unit Test Your Android Application (with Robolectric)
Marakana Inc.
Android automation tools
Android automation tools
SSGMCE SHEGAON
Appium Mobile Testing: Nakov at BurgasConf - July 2021
Appium Mobile Testing: Nakov at BurgasConf - July 2021
Svetlin Nakov
Automation Proposal_V1.0
Automation Proposal_V1.0
Dao Nhỏ
Choosing the Best Open Source Test Automation Tool for You
Choosing the Best Open Source Test Automation Tool for You
Perfecto by Perforce
Robotium
Robotium
Isuru Uyanage
How to setup unit testing in Android Studio
How to setup unit testing in Android Studio
tobiaspreuss
MonkeyTalk Documentation
MonkeyTalk Documentation
Vivek Pansara
What's hot
(20)
Robotium at Android Only 2010-09-29
Robotium at Android Only 2010-09-29
Testing on Android
Testing on Android
Android testing part i
Android testing part i
Unit testing and Android
Unit testing and Android
Different Android Test Automation Frameworks - What Works You the Best?
Different Android Test Automation Frameworks - What Works You the Best?
Testing in Android: automatici, di integrazione, TDD e scenari avanzati
Testing in Android: automatici, di integrazione, TDD e scenari avanzati
Testing for Android: When, Where, and How to Successfully Use Test Automation
Testing for Android: When, Where, and How to Successfully Use Test Automation
Android Test Automation Workshop
Android Test Automation Workshop
Mobile App Testing ScanAgile 2012
Mobile App Testing ScanAgile 2012
Testing Android Application, Droidcon Torino
Testing Android Application, Droidcon Torino
Utilizando Espresso e UIAutomator no Teste de Apps Android
Utilizando Espresso e UIAutomator no Teste de Apps Android
Dagger for android
Dagger for android
Learn How to Unit Test Your Android Application (with Robolectric)
Learn How to Unit Test Your Android Application (with Robolectric)
Android automation tools
Android automation tools
Appium Mobile Testing: Nakov at BurgasConf - July 2021
Appium Mobile Testing: Nakov at BurgasConf - July 2021
Automation Proposal_V1.0
Automation Proposal_V1.0
Choosing the Best Open Source Test Automation Tool for You
Choosing the Best Open Source Test Automation Tool for You
Robotium
Robotium
How to setup unit testing in Android Studio
How to setup unit testing in Android Studio
MonkeyTalk Documentation
MonkeyTalk Documentation
Viewers also liked
Android Meetup Slovenija #3 - Testing with Robolectric by Ivan Kust
Android Meetup Slovenija #3 - Testing with Robolectric by Ivan Kust
Infinum
Introduction to android testing - oscon 2012
Introduction to android testing - oscon 2012
OSCON Byrum
Android Performance Tips & Tricks
Android Performance Tips & Tricks
Sergii Zhuk
Unit Testing Android Applications
Unit Testing Android Applications
Rody Middelkoop
Unit Testing on Android: why and how? DevFest Romania, Bucharest 2016
Unit Testing on Android: why and how? DevFest Romania, Bucharest 2016
Danny Preussler
Testing Android applications with Maveryx
Testing Android applications with Maveryx
Maveryx
Android Building, Testing and reversing
Android Building, Testing and reversing
Enrique López Mañas
Android testing
Android testing
Antonio López Marín
Android Testing, Why So Hard?!
Android Testing, Why So Hard?!
Annyce Davis
Testing Android
Testing Android
Marc Chung
Testing With Open Source
Testing With Open Source
Matthias Käppler
Unit testing in android
Unit testing in android
Li-Wei Cheng
Unit testing on Android (Droidcon Dubai 2015)
Unit testing on Android (Droidcon Dubai 2015)
Danny Preussler
Mobile Performance Testing - Best Practices
Mobile Performance Testing - Best Practices
Eran Kinsbrunner
Rapid Android Application Security Testing
Rapid Android Application Security Testing
Nutan Kumar Panda
Oh so you test? - A guide to testing on Android from Unit to Mutation
Oh so you test? - A guide to testing on Android from Unit to Mutation
Paul Blundell
Testing on Android
Testing on Android
Diego Torres Milano
How ANDROID TESTING changed how we think about Death - Second Edition
How ANDROID TESTING changed how we think about Death - Second Edition
penanochizzo
Performance Testing for Mobile Apps & Sites using Apache JMeter
Performance Testing for Mobile Apps & Sites using Apache JMeter
Alon Girmonsky
Introduction to android testing
Introduction to android testing
Diego Torres Milano
Viewers also liked
(20)
Android Meetup Slovenija #3 - Testing with Robolectric by Ivan Kust
Android Meetup Slovenija #3 - Testing with Robolectric by Ivan Kust
Introduction to android testing - oscon 2012
Introduction to android testing - oscon 2012
Android Performance Tips & Tricks
Android Performance Tips & Tricks
Unit Testing Android Applications
Unit Testing Android Applications
Unit Testing on Android: why and how? DevFest Romania, Bucharest 2016
Unit Testing on Android: why and how? DevFest Romania, Bucharest 2016
Testing Android applications with Maveryx
Testing Android applications with Maveryx
Android Building, Testing and reversing
Android Building, Testing and reversing
Android testing
Android testing
Android Testing, Why So Hard?!
Android Testing, Why So Hard?!
Testing Android
Testing Android
Testing With Open Source
Testing With Open Source
Unit testing in android
Unit testing in android
Unit testing on Android (Droidcon Dubai 2015)
Unit testing on Android (Droidcon Dubai 2015)
Mobile Performance Testing - Best Practices
Mobile Performance Testing - Best Practices
Rapid Android Application Security Testing
Rapid Android Application Security Testing
Oh so you test? - A guide to testing on Android from Unit to Mutation
Oh so you test? - A guide to testing on Android from Unit to Mutation
Testing on Android
Testing on Android
How ANDROID TESTING changed how we think about Death - Second Edition
How ANDROID TESTING changed how we think about Death - Second Edition
Performance Testing for Mobile Apps & Sites using Apache JMeter
Performance Testing for Mobile Apps & Sites using Apache JMeter
Introduction to android testing
Introduction to android testing
Similar to Android Testing: An Overview
The Test way
The Test way
Mikhail Grinfeld
Android developer's toolbox
Android developer's toolbox
Alex Verdyan
#BABBQAmsterdam The other Android getting started guide: Gradle power
#BABBQAmsterdam The other Android getting started guide: Gradle power
Javier de Pedro López
Android TDD
Android TDD
Chuck Greb
Continuous Integration for Spark Apps by Sean McIntyre
Continuous Integration for Spark Apps by Sean McIntyre
Spark Summit
20171215 andoird-test-night
20171215 andoird-test-night
Kazuaki Matsuo
Unit Test Android Without Going Bald
Unit Test Android Without Going Bald
David Carver
Developing Selenium tests with JUnit 5
Developing Selenium tests with JUnit 5
Boni García
Selendroid in Action
Selendroid in Action
Dominik Dary
Using Robots for App Testing
Using Robots for App Testing
Shauvik Roy Choudhary, Ph.D.
LDNSE: Testdroid for Mobile App and Web Testing (London Selenium Meetup)
LDNSE: Testdroid for Mobile App and Web Testing (London Selenium Meetup)
Bitbar
Testing In Java
Testing In Java
David Noble
Testing In Java4278
Testing In Java4278
contact.bsingh
Android
Android
BVP GTUG
Google test training
Google test training
Thierry Gayet
Automated Web Testing With Selenium
Automated Web Testing With Selenium
Jodie Miners
J unit android
J unit android
Matthew Porter
CI CD Basics
CI CD Basics
Prabhu Ramkumar
androidPramming.ppt
androidPramming.ppt
BijayKc16
Develop Android/iOS app using golang
Develop Android/iOS app using golang
SeongJae Park
Similar to Android Testing: An Overview
(20)
The Test way
The Test way
Android developer's toolbox
Android developer's toolbox
#BABBQAmsterdam The other Android getting started guide: Gradle power
#BABBQAmsterdam The other Android getting started guide: Gradle power
Android TDD
Android TDD
Continuous Integration for Spark Apps by Sean McIntyre
Continuous Integration for Spark Apps by Sean McIntyre
20171215 andoird-test-night
20171215 andoird-test-night
Unit Test Android Without Going Bald
Unit Test Android Without Going Bald
Developing Selenium tests with JUnit 5
Developing Selenium tests with JUnit 5
Selendroid in Action
Selendroid in Action
Using Robots for App Testing
Using Robots for App Testing
LDNSE: Testdroid for Mobile App and Web Testing (London Selenium Meetup)
LDNSE: Testdroid for Mobile App and Web Testing (London Selenium Meetup)
Testing In Java
Testing In Java
Testing In Java4278
Testing In Java4278
Android
Android
Google test training
Google test training
Automated Web Testing With Selenium
Automated Web Testing With Selenium
J unit android
J unit android
CI CD Basics
CI CD Basics
androidPramming.ppt
androidPramming.ppt
Develop Android/iOS app using golang
Develop Android/iOS app using golang
More from SmartLogic
Writing Game Servers with Elixir
Writing Game Servers with Elixir
SmartLogic
All Aboard The Stateful Train
All Aboard The Stateful Train
SmartLogic
DC |> Elixir Meetup - Going off the Rails into Elixir - Dan Ivovich
DC |> Elixir Meetup - Going off the Rails into Elixir - Dan Ivovich
SmartLogic
Monitoring Your Elixir Application with Prometheus
Monitoring Your Elixir Application with Prometheus
SmartLogic
Going Multi-Node
Going Multi-Node
SmartLogic
Kubernetes and docker
Kubernetes and docker
SmartLogic
Serializing Value Objects-Ara Hacopian
Serializing Value Objects-Ara Hacopian
SmartLogic
Guide to food foraging by SmartLogic's Kei Ellerbrock
Guide to food foraging by SmartLogic's Kei Ellerbrock
SmartLogic
Introduction to Type Script by Sam Goldman, SmartLogic
Introduction to Type Script by Sam Goldman, SmartLogic
SmartLogic
How SmartLogic Uses Chef-Dan Ivovich
How SmartLogic Uses Chef-Dan Ivovich
SmartLogic
A Few Interesting Things in Apple's Swift Programming Language
A Few Interesting Things in Apple's Swift Programming Language
SmartLogic
Effective ActiveRecord
Effective ActiveRecord
SmartLogic
An Introduction to Reactive Cocoa
An Introduction to Reactive Cocoa
SmartLogic
iOS Development Methodology
iOS Development Methodology
SmartLogic
CSS Preprocessors to the Rescue!
CSS Preprocessors to the Rescue!
SmartLogic
Deploying Rails Apps with Chef and Capistrano
Deploying Rails Apps with Chef and Capistrano
SmartLogic
From Slacker to Hacker, Practical Tips for Learning to Code
From Slacker to Hacker, Practical Tips for Learning to Code
SmartLogic
The Language of Abstraction in Software Development
The Language of Abstraction in Software Development
SmartLogic
Intro to DTCoreText: Moving Past UIWebView | iOS Development
Intro to DTCoreText: Moving Past UIWebView | iOS Development
SmartLogic
Logstash: Get to know your logs
Logstash: Get to know your logs
SmartLogic
More from SmartLogic
(20)
Writing Game Servers with Elixir
Writing Game Servers with Elixir
All Aboard The Stateful Train
All Aboard The Stateful Train
DC |> Elixir Meetup - Going off the Rails into Elixir - Dan Ivovich
DC |> Elixir Meetup - Going off the Rails into Elixir - Dan Ivovich
Monitoring Your Elixir Application with Prometheus
Monitoring Your Elixir Application with Prometheus
Going Multi-Node
Going Multi-Node
Kubernetes and docker
Kubernetes and docker
Serializing Value Objects-Ara Hacopian
Serializing Value Objects-Ara Hacopian
Guide to food foraging by SmartLogic's Kei Ellerbrock
Guide to food foraging by SmartLogic's Kei Ellerbrock
Introduction to Type Script by Sam Goldman, SmartLogic
Introduction to Type Script by Sam Goldman, SmartLogic
How SmartLogic Uses Chef-Dan Ivovich
How SmartLogic Uses Chef-Dan Ivovich
A Few Interesting Things in Apple's Swift Programming Language
A Few Interesting Things in Apple's Swift Programming Language
Effective ActiveRecord
Effective ActiveRecord
An Introduction to Reactive Cocoa
An Introduction to Reactive Cocoa
iOS Development Methodology
iOS Development Methodology
CSS Preprocessors to the Rescue!
CSS Preprocessors to the Rescue!
Deploying Rails Apps with Chef and Capistrano
Deploying Rails Apps with Chef and Capistrano
From Slacker to Hacker, Practical Tips for Learning to Code
From Slacker to Hacker, Practical Tips for Learning to Code
The Language of Abstraction in Software Development
The Language of Abstraction in Software Development
Intro to DTCoreText: Moving Past UIWebView | iOS Development
Intro to DTCoreText: Moving Past UIWebView | iOS Development
Logstash: Get to know your logs
Logstash: Get to know your logs
Recently uploaded
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
Allon Mureinik
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
null - The Open Security Community
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Safe Software
The transition to renewables in India.pdf
The transition to renewables in India.pdf
Competition Advisory Services (India) LLP
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
Malak Abu Hammad
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024
Scott Keck-Warren
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
BookNet Canada
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
Ridwan Fadjar
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
Neo4j
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
Kalema Edgar
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
Puma Security, LLC
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
Delhi Call girls
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
comworks
Artificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning era
Deakin University
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
2toLead Limited
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
Enterprise Knowledge
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
Sinan KOZAK
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
Rizwan Syed
Recently uploaded
(20)
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
The transition to renewables in India.pdf
The transition to renewables in India.pdf
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping Elbows
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food Manufacturing
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
Artificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning era
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
Android Testing: An Overview
1.
An Overview of Android
Testing Eric Oestrich BohConf 7/19/2013
2.
Eric Oestrich http://www.smartlogic.io https://twitter.com/ericoestrich https://github.com/oestrich SmartLogic
3.
You can test
Android?
4.
Regular Android testing leaves
a lot to be desired
5.
Robolectric http://robolectric.org/
6.
Run tests on
your development machine
7.
JUnit 4
8.
Requires Maven
9.
IntelliJ Supports maven projects
10.
Eclipse Should just use
IntelliJ
11.
Android Studio Uses gradle,
not much support for this yet
12.
Downsides
13.
Content Providers are still
hard to test
14.
Still somewhat new Not
every area is able to be tested nicely
15.
Lack of Documentation
16.
Extra Libraries You Should
Consider
17.
Hamcrest http://hamcrest.org/JavaHamcrest/
18.
Hamcrest ● Nicer assertions
than regular JUnit
19.
Hamcrest assertThat(item.getId(), equalTo(itemId));
20.
FEST Android https://github.com/square/fest-android
21.
FEST Android ● Fluent
assertions make test read nicely ● FEST additions specific to Android
22.
FEST Android assertThat(view.getVisibility(), equalTo(View.GONE)); vs assertThat(view).isGone();
23.
Awaitility https://code.google.com/p/awaitility/
24.
Awaitility ● Handles testing
asynchronous code nicely ● Set timeouts
25.
Awaitility public void testActivityTitle()
{ await().atMost(TIMEOUT_SECONDS, TimeUnit.SECONDS).until( activityTitle(), equalTo("Notification")); Spoon.screenshot(getActivity(), "activity_title"); }
26.
Awaitility protected Callable<String> activityTitle()
{ return new Callable<String>() { @Override public String call() throws Exception { return mActivity.getTitle().toString(); } }; }
27.
Spoon https://github.com/square/spoon
28.
Spoon ● Take screenshots
of app during test ● Compiles to animated gif ● Instrumentation tests
29.
Spoon public void testActivity()
{ Spoon.screenshot(getActivity(), "activity"); }
30.
Spoon http://square.github.io/spoon/sample/index.html
31.
Continuous Integration
32.
Jenkins Shell Script export
ANDROID_HOME=/var/lib/jenkins/tools/android-sdk mvn clean test --batch-mode
33.
Javadocs
34.
JUnit Results
35.
Android Emulator Plugin https://wiki.jenkins-ci. org/display/JENKINS/Android+Emulator+Plu gin
36.
Resources ● http://corner.squareup.com/2013/05/robolectric-two-point-oh.html ● http://blog.bignerdranch.com/2583-testing-the-android-way/
37.
Questions? http://www.smartlogic.io http://www.twitter.com/smartlogic http://www.github.com/smartlogic http://www.facebook.com/smartlogic
Download now