SlideShare a Scribd company logo
Íntel Software and Services Group
Android:testautomationworkshopEduardo Carrara
Developer Evangelist – Intel Developers Relations Division
Intel Software and Services Group
#AndroidOnIntel
2
+EduardoCarraraDeAraujo
https://www.facebook.com/ducarrara
@DuCarrara
br.linkedin.com/in/eduardocarrara/
ecarrara-araujo
Intel Software and Services Group 3
Objective
Practice the usage of test automation tools available in the
Android Framework through the following activities:
• Prepare the test environment for development and execution.
• Development of unit tests that run on the local JVM.
• Development of UI Tests with Espresso.
• Development of Cross Apps Tests with UI Automator.
• Running tests in the cloud with TestDroid.
Intel Software and Services Group 4
Requirements
• Android Studio 1.3+
• Test Device with Android 4.0+
• SDK Version 23
• Build Tools 23.0.0
• AppCompat-v7 23.3.0
Intel Software and Services Group 5
Base App - BeerWith
• Simple demo app to help you keep track of
what have you been drinking and with who.
• https://github.com/ecarrara-araujo/beer-with
• If you want to follow the workshop just clone
it and work on branch master.
• Check the branch ahead for the
implementations:
• Imasters-android-devconf-tests-workshop
Intel Software and Services Group
#1–CreatingyourfirstUnitTest
6
Intel Software and Services Group 7
#1 – Creating your first Unit Test
testCompile 'junit:junit:4.12'
• Add the Junit dependency to the app/build.gradle
Intel Software and Services Group 8
#1 – Creating your first Unit Test
Create these directories.
Intel Software and Services Group 9
#1 – Creating your first Unit Test
Intel Software and Services Group 10
#1 – Creating your first Unit Test
Intel Software and Services Group 11
#1 – Creating your first Unit Test
Intel Software and Services Group 12
#1 – Creating your first Unit Test
public class UtilityTest {
@Test
public void testGetDateFormattedTime() throws Exception {
String expectedDateFormat = "yyyy, MMMM dd";
Calendar calendar = Calendar.getInstance();
calendar.set(2015, 4 - 1, 3); //20150403
String expectedResult = (new SimpleDateFormat(expectedDateFormat)).format(calendar.getTime());
String result = Utility.getDateFormattedTime(calendar, expectedDateFormat);
assertEquals("Date was not correctly formatted.", expectedResult, result);
// testing a second format to be sure
expectedDateFormat = "dd MM yyyy";
expectedResult = (new SimpleDateFormat(expectedDateFormat)).format(calendar.getTime());
result = Utility.getDateFormattedTime(calendar, expectedDateFormat);
assertEquals("Date was not correctly formatted.", expectedResult, result);
}
}
Intel Software and Services Group 13
#1 – Creating your first Unit Test
$ ./gradlew testor
Intel Software and Services Group 14
#1 – Creating your first Unit Test
or
appbuildreportstestsdebugindex.html
Intel Software and Services Group
#2Testingtheuiwithespresso
15
Intel Software and Services Group 16
#2 Testing the ui with espresso
• App/build.gradle
defaultConfig {
testInstrumentationRunner 'android.support.test.runner.AndroidJUnitRunner'
}
dependencies {
androidTestCompile 'com.android.support.test:runner:0.3'
androidTestCompile 'com.android.support.test:rules:0.3'
androidTestCompile 'com.android.support.test.espresso:espresso-core:2.2'
}
• ./build.gradle
allprojects {
configurations.all {
resolutionStrategy.force 'com.android.support:support-annotations:23.0.0' } }
Intel Software and Services Group 17
#2 Testing the ui with espresso
Intel Software and Services Group 18
#2 Testing the ui with espresso
Intel Software and Services Group 19
#2 Testing the ui with espresso
Here comes a whole lot of code…
Check the file:
BeerWithappsrcandroidTestjavabrengecarrarabeerwit
hBeerWithMainActivityInstrumentationTest.java
Intel Software and Services Group 20
#2 Testing the ui with espresso
or $ ./gradlew connectedCheck
Intel Software and Services Group 21
#2 Testing the ui with espresso
or
appbuildreportsandroidTestsconnectedindex.html
Intel Software and Services Group
#3CROssappTestingwithUIAutomator
22
Intel Software and Services Group 23
#3 Cross app Testing with UI Automator
• App/build.gradle
defaultConfig {
testInstrumentationRunner 'android.support.test.runner.AndroidJUnitRunner'
}
• ./build.gradle
allprojects {
configurations.all {
resolutionStrategy.force 'com.android.support:support-annotations:23.0.0' } }
dependecies {
androidTestCompile 'com.android.support.test:runner:0.3'
androidTestCompile 'com.android.support.test.uiautomator:uiautomator-v18:2.1.1'
androidTestCompile 'org.hamcrest:hamcrest-integration:1.3'
}
Intel Software and Services Group 24
#3 Cross app Testing with UI Automator
Intel Software and Services Group 25
#3 Cross app Testing with UI Automator
Intel Software and Services Group 26
#3 Cross app Testing with UI Automator
Androidsdk/tools/uiautomatorviewer
Intel Software and Services Group 27
#3 Cross app Testing with UI Automator
Here comes a whole lot of code…
Check the file:
BeerWithappsrcandroidTestjavabrengecarrarabeerwit
hAddingBeerWithCompleteTestFlow.java
Intel Software and Services Group 28
#3 Cross app Testing with UI Automator
or $ ./gradlew connectedCheck
Intel Software and Services Group 29
or
Intel Software and Services Group 30
Intel Software and Services Group 31
Intel Software and Services Group 32
Intel Software and Services Group 33
Intel Software and Services Group 34
Intel Information Technology
What is next?
35
• Follow the guide and automate your tests!
• How to integrate continous integration and delivery with Android?
• Code Coverage
• Mocking
Intel Software and Services Group 36
Intel Developer Zone
https://software.intel.com/en-us/android/app-testing
Intel Software and Services Group
Thanks!
37
+EduardoCarraraDeAraujo
https://www.facebook.com/ducarrara
@DuCarrara
br.linkedin.com/in/eduardocarrara/
ecarrara-araujo/vilibra
Intel Software and Services Group 38
References
• Android Testing: https://developer.android.com/tools/testing/testing_android.html
• Android Unit Testing Support: http://tools.android.com/tech-docs/unit-testing-support
• UI Testing: https://developer.android.com/training/testing/ui-testing/index.html
• Android Testing Support Library: https://developer.android.com/tools/testing-support-
library
• Android Instrumentation:
http://developer.android.com/tools/testing/testing_android.html#Instrumentation
• Junit: http://junit.org
• Testdroid: http://testdroid.com
• Intel App Testing Page: https://software.intel.com/en-us/android/app-testing
Intel Software and Services Group 39
References
• Codelab Android Studio Testing: https://io2015codelabs.appspot.com/codelabs/android-
studio-testing#1
• Android Testing Blueprints: https://github.com/googlesamples/android-testing-
templates/tree/master/AndroidTestingBlueprint
• Testing on Android by Vincent Brison: http://vincentbrison.com/2015/08/05/testing-on-
android-part1-a-practical-approach/
• Android Developers Unit Testing Training:
https://developer.android.com/training/testing/unit-testing/index.html
• Android Testing Samples: https://github.com/googlesamples/android-testing/
• G+ Community: https://plus.google.com/communities/10515313437206298596
• Stack Overflow: http://stackoverflow.com/questions/tagged/android-testing
Intel Software and Services Group 40
References
• Espresso v2 Cheat Sheet - https://code.google.com/p/android-test-
kit/wiki/EspressoV2CheatSheet
Placeholder Footer Copy / BU Logo or Name Goes Here
Ad

More Related Content

What's hot (20)

Android testing
Android testingAndroid testing
Android testing
Bitbar
 
Android Automation Using Robotium
Android Automation Using RobotiumAndroid Automation Using Robotium
Android Automation Using Robotium
Mindfire Solutions
 
A guide to Android automated testing
A guide to Android automated testingA guide to Android automated testing
A guide to Android automated testing
jotaemepereira
 
ATAGTR2017 Upgrading a mobile tester's weapons with advanced debugging
ATAGTR2017 Upgrading a mobile tester's weapons with advanced debuggingATAGTR2017 Upgrading a mobile tester's weapons with advanced debugging
ATAGTR2017 Upgrading a mobile tester's weapons with advanced debugging
Agile Testing Alliance
 
Robotium at Android Only 2010-09-29
Robotium at Android Only 2010-09-29Robotium at Android Only 2010-09-29
Robotium at Android Only 2010-09-29
Hugo Josefson
 
Mobile App Testing ScanAgile 2012
Mobile App Testing ScanAgile 2012Mobile App Testing ScanAgile 2012
Mobile App Testing ScanAgile 2012
Daniel Knott
 
Espresso
EspressoEspresso
Espresso
kanthivel
 
Inside Android Testing
Inside Android TestingInside Android Testing
Inside Android Testing
Fernando Cejas
 
Android Testing: An Overview
Android Testing: An OverviewAndroid Testing: An Overview
Android Testing: An Overview
SmartLogic
 
Next Step, Android Studio!
Next Step, Android Studio!Next Step, Android Studio!
Next Step, Android Studio!
Édipo Souza
 
Getting Started with XCTest and XCUITest for iOS App Testing
Getting Started with XCTest and XCUITest for iOS App TestingGetting Started with XCTest and XCUITest for iOS App Testing
Getting Started with XCTest and XCUITest for iOS App Testing
Bitbar
 
Unit Testing Android Applications
Unit Testing Android ApplicationsUnit Testing Android Applications
Unit Testing Android Applications
Rody Middelkoop
 
Android testing part i
Android testing part iAndroid testing part i
Android testing part i
Kan-Han (John) Lu
 
Android UI Testing with uiautomator
Android UI Testing with uiautomatorAndroid UI Testing with uiautomator
Android UI Testing with uiautomator
Jana Moudrá
 
Android development session 5 - Debug android studio
Android development   session 5 - Debug android studioAndroid development   session 5 - Debug android studio
Android development session 5 - Debug android studio
Farabi Technology Middle East
 
Breaking free from static abuse in test automation frameworks and using Sprin...
Breaking free from static abuse in test automation frameworks and using Sprin...Breaking free from static abuse in test automation frameworks and using Sprin...
Breaking free from static abuse in test automation frameworks and using Sprin...
Abhijeet Vaikar
 
Testing on Android
Testing on AndroidTesting on Android
Testing on Android
Ari Lacenski
 
Android, Gradle & Dependecies
Android, Gradle & DependeciesAndroid, Gradle & Dependecies
Android, Gradle & Dependecies
Édipo Souza
 
Tech Talk #5 : Android Automation Test with Espresso - Trần Văn Toàn
Tech Talk #5 : Android Automation Test with Espresso - Trần Văn ToànTech Talk #5 : Android Automation Test with Espresso - Trần Văn Toàn
Tech Talk #5 : Android Automation Test with Espresso - Trần Văn Toàn
Nexus FrontierTech
 
Android Lab
Android LabAndroid Lab
Android Lab
Leo Nguyen
 
Android testing
Android testingAndroid testing
Android testing
Bitbar
 
Android Automation Using Robotium
Android Automation Using RobotiumAndroid Automation Using Robotium
Android Automation Using Robotium
Mindfire Solutions
 
A guide to Android automated testing
A guide to Android automated testingA guide to Android automated testing
A guide to Android automated testing
jotaemepereira
 
ATAGTR2017 Upgrading a mobile tester's weapons with advanced debugging
ATAGTR2017 Upgrading a mobile tester's weapons with advanced debuggingATAGTR2017 Upgrading a mobile tester's weapons with advanced debugging
ATAGTR2017 Upgrading a mobile tester's weapons with advanced debugging
Agile Testing Alliance
 
Robotium at Android Only 2010-09-29
Robotium at Android Only 2010-09-29Robotium at Android Only 2010-09-29
Robotium at Android Only 2010-09-29
Hugo Josefson
 
Mobile App Testing ScanAgile 2012
Mobile App Testing ScanAgile 2012Mobile App Testing ScanAgile 2012
Mobile App Testing ScanAgile 2012
Daniel Knott
 
Inside Android Testing
Inside Android TestingInside Android Testing
Inside Android Testing
Fernando Cejas
 
Android Testing: An Overview
Android Testing: An OverviewAndroid Testing: An Overview
Android Testing: An Overview
SmartLogic
 
Next Step, Android Studio!
Next Step, Android Studio!Next Step, Android Studio!
Next Step, Android Studio!
Édipo Souza
 
Getting Started with XCTest and XCUITest for iOS App Testing
Getting Started with XCTest and XCUITest for iOS App TestingGetting Started with XCTest and XCUITest for iOS App Testing
Getting Started with XCTest and XCUITest for iOS App Testing
Bitbar
 
Unit Testing Android Applications
Unit Testing Android ApplicationsUnit Testing Android Applications
Unit Testing Android Applications
Rody Middelkoop
 
Android UI Testing with uiautomator
Android UI Testing with uiautomatorAndroid UI Testing with uiautomator
Android UI Testing with uiautomator
Jana Moudrá
 
Android development session 5 - Debug android studio
Android development   session 5 - Debug android studioAndroid development   session 5 - Debug android studio
Android development session 5 - Debug android studio
Farabi Technology Middle East
 
Breaking free from static abuse in test automation frameworks and using Sprin...
Breaking free from static abuse in test automation frameworks and using Sprin...Breaking free from static abuse in test automation frameworks and using Sprin...
Breaking free from static abuse in test automation frameworks and using Sprin...
Abhijeet Vaikar
 
Testing on Android
Testing on AndroidTesting on Android
Testing on Android
Ari Lacenski
 
Android, Gradle & Dependecies
Android, Gradle & DependeciesAndroid, Gradle & Dependecies
Android, Gradle & Dependecies
Édipo Souza
 
Tech Talk #5 : Android Automation Test with Espresso - Trần Văn Toàn
Tech Talk #5 : Android Automation Test with Espresso - Trần Văn ToànTech Talk #5 : Android Automation Test with Espresso - Trần Văn Toàn
Tech Talk #5 : Android Automation Test with Espresso - Trần Văn Toàn
Nexus FrontierTech
 

Viewers also liked (12)

A guideline for using hangouts on air for company collaboration
A guideline for using hangouts on air for company collaborationA guideline for using hangouts on air for company collaboration
A guideline for using hangouts on air for company collaboration
Mars Cyrillo
 
Indo além com Automação de Testes de Apps Android
Indo além com Automação de Testes de Apps AndroidIndo além com Automação de Testes de Apps Android
Indo além com Automação de Testes de Apps Android
Eduardo Carrara de Araujo
 
Qa workshop
Qa workshopQa workshop
Qa workshop
testhive
 
Do You Enjoy Espresso in Android App Testing?
Do You Enjoy Espresso in Android App Testing?Do You Enjoy Espresso in Android App Testing?
Do You Enjoy Espresso in Android App Testing?
Bitbar
 
Test api
Test apiTest api
Test api
Ivo Manolov
 
Different Android Test Automation Frameworks - What Works You the Best?
Different Android Test Automation Frameworks - What Works You the Best?Different Android Test Automation Frameworks - What Works You the Best?
Different Android Test Automation Frameworks - What Works You the Best?
Bitbar
 
API Testing: The heart of functional testing" with Bj Rollison
API Testing: The heart of functional testing" with Bj RollisonAPI Testing: The heart of functional testing" with Bj Rollison
API Testing: The heart of functional testing" with Bj Rollison
TEST Huddle
 
API Testing
API TestingAPI Testing
API Testing
Bikash Sharma
 
Api testing
Api testingApi testing
Api testing
Keshav Kashyap
 
REST API testing with SpecFlow
REST API testing with SpecFlowREST API testing with SpecFlow
REST API testing with SpecFlow
Aiste Stikliute
 
How to Automate API Testing
How to Automate API TestingHow to Automate API Testing
How to Automate API Testing
Bruno Pedro
 
Home automation using android mobiles
Home automation using android mobilesHome automation using android mobiles
Home automation using android mobiles
Durairaja
 
A guideline for using hangouts on air for company collaboration
A guideline for using hangouts on air for company collaborationA guideline for using hangouts on air for company collaboration
A guideline for using hangouts on air for company collaboration
Mars Cyrillo
 
Indo além com Automação de Testes de Apps Android
Indo além com Automação de Testes de Apps AndroidIndo além com Automação de Testes de Apps Android
Indo além com Automação de Testes de Apps Android
Eduardo Carrara de Araujo
 
Qa workshop
Qa workshopQa workshop
Qa workshop
testhive
 
Do You Enjoy Espresso in Android App Testing?
Do You Enjoy Espresso in Android App Testing?Do You Enjoy Espresso in Android App Testing?
Do You Enjoy Espresso in Android App Testing?
Bitbar
 
Different Android Test Automation Frameworks - What Works You the Best?
Different Android Test Automation Frameworks - What Works You the Best?Different Android Test Automation Frameworks - What Works You the Best?
Different Android Test Automation Frameworks - What Works You the Best?
Bitbar
 
API Testing: The heart of functional testing" with Bj Rollison
API Testing: The heart of functional testing" with Bj RollisonAPI Testing: The heart of functional testing" with Bj Rollison
API Testing: The heart of functional testing" with Bj Rollison
TEST Huddle
 
REST API testing with SpecFlow
REST API testing with SpecFlowREST API testing with SpecFlow
REST API testing with SpecFlow
Aiste Stikliute
 
How to Automate API Testing
How to Automate API TestingHow to Automate API Testing
How to Automate API Testing
Bruno Pedro
 
Home automation using android mobiles
Home automation using android mobilesHome automation using android mobiles
Home automation using android mobiles
Durairaja
 
Ad

Similar to Android Test Automation Workshop (20)

codeduiws-130507074566782958-phpapp02.pdf
codeduiws-130507074566782958-phpapp02.pdfcodeduiws-130507074566782958-phpapp02.pdf
codeduiws-130507074566782958-phpapp02.pdf
Patiento Del Mar
 
Advanced Coded UI Testing
Advanced Coded UI TestingAdvanced Coded UI Testing
Advanced Coded UI Testing
Shai Raiten
 
Unit Testing in Flutter - From Workflow Essentials to Complex Scenarios
Unit Testing in Flutter - From Workflow Essentials to Complex ScenariosUnit Testing in Flutter - From Workflow Essentials to Complex Scenarios
Unit Testing in Flutter - From Workflow Essentials to Complex Scenarios
RubenGray1
 
Testando Apps Android na Nuvem
Testando Apps Android na NuvemTestando Apps Android na Nuvem
Testando Apps Android na Nuvem
tdc-globalcode
 
Mercury Testdirector8.0 using Slides
Mercury Testdirector8.0 using SlidesMercury Testdirector8.0 using Slides
Mercury Testdirector8.0 using Slides
telab
 
Gcs day1
Gcs day1Gcs day1
Gcs day1
Sriram Angajala
 
yourfirstcodedui-121217152431-phpapp02.pdf
yourfirstcodedui-121217152431-phpapp02.pdfyourfirstcodedui-121217152431-phpapp02.pdf
yourfirstcodedui-121217152431-phpapp02.pdf
Patiento Del Mar
 
GlobalLogic Test Automation Online TechTalk “Test Driven Development as a Per...
GlobalLogic Test Automation Online TechTalk “Test Driven Development as a Per...GlobalLogic Test Automation Online TechTalk “Test Driven Development as a Per...
GlobalLogic Test Automation Online TechTalk “Test Driven Development as a Per...
GlobalLogic Ukraine
 
Testando Sua App Android na Nuvem
Testando Sua App Android na NuvemTestando Sua App Android na Nuvem
Testando Sua App Android na Nuvem
Eduardo Carrara de Araujo
 
Getting Started with Visual Studio’s Coded UI Testing: Building Your First Au...
Getting Started with Visual Studio’s Coded UI Testing: Building Your First Au...Getting Started with Visual Studio’s Coded UI Testing: Building Your First Au...
Getting Started with Visual Studio’s Coded UI Testing: Building Your First Au...
Imaginet
 
DevOps CI Automation Continuous Integration
DevOps CI Automation Continuous IntegrationDevOps CI Automation Continuous Integration
DevOps CI Automation Continuous Integration
IRJET Journal
 
The Magic Of Application Lifecycle Management In Vs Public
The Magic Of Application Lifecycle Management In Vs PublicThe Magic Of Application Lifecycle Management In Vs Public
The Magic Of Application Lifecycle Management In Vs Public
David Solivan
 
Dive into Angular, part 5: Experience
Dive into Angular, part 5: ExperienceDive into Angular, part 5: Experience
Dive into Angular, part 5: Experience
Oleksii Prohonnyi
 
Qa case study
Qa case studyQa case study
Qa case study
hopperdev
 
IRJET- Automatic Device Functional Testing
IRJET- Automatic Device Functional TestingIRJET- Automatic Device Functional Testing
IRJET- Automatic Device Functional Testing
IRJET Journal
 
Ian Sommerville, Software Engineering, 9th EditionCh 8
Ian Sommerville,  Software Engineering, 9th EditionCh 8Ian Sommerville,  Software Engineering, 9th EditionCh 8
Ian Sommerville, Software Engineering, 9th EditionCh 8
Mohammed Romi
 
Leveraging Python Telemetry, Azure Application Logging, and Performance Testi...
Leveraging Python Telemetry, Azure Application Logging, and Performance Testi...Leveraging Python Telemetry, Azure Application Logging, and Performance Testi...
Leveraging Python Telemetry, Azure Application Logging, and Performance Testi...
Stackify
 
Unit Testing on Android - Droidcon Berlin 2015
Unit Testing on Android - Droidcon Berlin 2015Unit Testing on Android - Droidcon Berlin 2015
Unit Testing on Android - Droidcon Berlin 2015
Buşra Deniz, CSM
 
Testes? Mas isso não aumenta o tempo de projecto? Não quero...
Testes? Mas isso não aumenta o tempo de projecto? Não quero...Testes? Mas isso não aumenta o tempo de projecto? Não quero...
Testes? Mas isso não aumenta o tempo de projecto? Não quero...
Comunidade NetPonto
 
Moogilu qa-case study (Software Testing)
Moogilu qa-case study (Software Testing)Moogilu qa-case study (Software Testing)
Moogilu qa-case study (Software Testing)
Jagadish Channagiri
 
codeduiws-130507074566782958-phpapp02.pdf
codeduiws-130507074566782958-phpapp02.pdfcodeduiws-130507074566782958-phpapp02.pdf
codeduiws-130507074566782958-phpapp02.pdf
Patiento Del Mar
 
Advanced Coded UI Testing
Advanced Coded UI TestingAdvanced Coded UI Testing
Advanced Coded UI Testing
Shai Raiten
 
Unit Testing in Flutter - From Workflow Essentials to Complex Scenarios
Unit Testing in Flutter - From Workflow Essentials to Complex ScenariosUnit Testing in Flutter - From Workflow Essentials to Complex Scenarios
Unit Testing in Flutter - From Workflow Essentials to Complex Scenarios
RubenGray1
 
Testando Apps Android na Nuvem
Testando Apps Android na NuvemTestando Apps Android na Nuvem
Testando Apps Android na Nuvem
tdc-globalcode
 
Mercury Testdirector8.0 using Slides
Mercury Testdirector8.0 using SlidesMercury Testdirector8.0 using Slides
Mercury Testdirector8.0 using Slides
telab
 
yourfirstcodedui-121217152431-phpapp02.pdf
yourfirstcodedui-121217152431-phpapp02.pdfyourfirstcodedui-121217152431-phpapp02.pdf
yourfirstcodedui-121217152431-phpapp02.pdf
Patiento Del Mar
 
GlobalLogic Test Automation Online TechTalk “Test Driven Development as a Per...
GlobalLogic Test Automation Online TechTalk “Test Driven Development as a Per...GlobalLogic Test Automation Online TechTalk “Test Driven Development as a Per...
GlobalLogic Test Automation Online TechTalk “Test Driven Development as a Per...
GlobalLogic Ukraine
 
Getting Started with Visual Studio’s Coded UI Testing: Building Your First Au...
Getting Started with Visual Studio’s Coded UI Testing: Building Your First Au...Getting Started with Visual Studio’s Coded UI Testing: Building Your First Au...
Getting Started with Visual Studio’s Coded UI Testing: Building Your First Au...
Imaginet
 
DevOps CI Automation Continuous Integration
DevOps CI Automation Continuous IntegrationDevOps CI Automation Continuous Integration
DevOps CI Automation Continuous Integration
IRJET Journal
 
The Magic Of Application Lifecycle Management In Vs Public
The Magic Of Application Lifecycle Management In Vs PublicThe Magic Of Application Lifecycle Management In Vs Public
The Magic Of Application Lifecycle Management In Vs Public
David Solivan
 
Dive into Angular, part 5: Experience
Dive into Angular, part 5: ExperienceDive into Angular, part 5: Experience
Dive into Angular, part 5: Experience
Oleksii Prohonnyi
 
Qa case study
Qa case studyQa case study
Qa case study
hopperdev
 
IRJET- Automatic Device Functional Testing
IRJET- Automatic Device Functional TestingIRJET- Automatic Device Functional Testing
IRJET- Automatic Device Functional Testing
IRJET Journal
 
Ian Sommerville, Software Engineering, 9th EditionCh 8
Ian Sommerville,  Software Engineering, 9th EditionCh 8Ian Sommerville,  Software Engineering, 9th EditionCh 8
Ian Sommerville, Software Engineering, 9th EditionCh 8
Mohammed Romi
 
Leveraging Python Telemetry, Azure Application Logging, and Performance Testi...
Leveraging Python Telemetry, Azure Application Logging, and Performance Testi...Leveraging Python Telemetry, Azure Application Logging, and Performance Testi...
Leveraging Python Telemetry, Azure Application Logging, and Performance Testi...
Stackify
 
Unit Testing on Android - Droidcon Berlin 2015
Unit Testing on Android - Droidcon Berlin 2015Unit Testing on Android - Droidcon Berlin 2015
Unit Testing on Android - Droidcon Berlin 2015
Buşra Deniz, CSM
 
Testes? Mas isso não aumenta o tempo de projecto? Não quero...
Testes? Mas isso não aumenta o tempo de projecto? Não quero...Testes? Mas isso não aumenta o tempo de projecto? Não quero...
Testes? Mas isso não aumenta o tempo de projecto? Não quero...
Comunidade NetPonto
 
Moogilu qa-case study (Software Testing)
Moogilu qa-case study (Software Testing)Moogilu qa-case study (Software Testing)
Moogilu qa-case study (Software Testing)
Jagadish Channagiri
 
Ad

More from Eduardo Carrara de Araujo (17)

Só um appzinho aê!? - O guia de sobrevivência para o dev da ideia inovadora a...
Só um appzinho aê!? - O guia de sobrevivência para o dev da ideia inovadora a...Só um appzinho aê!? - O guia de sobrevivência para o dev da ideia inovadora a...
Só um appzinho aê!? - O guia de sobrevivência para o dev da ideia inovadora a...
Eduardo Carrara de Araujo
 
Melhorando seu App com Kotlin e Testes
Melhorando seu App com Kotlin e TestesMelhorando seu App com Kotlin e Testes
Melhorando seu App com Kotlin e Testes
Eduardo Carrara de Araujo
 
Android apps ci
Android apps ciAndroid apps ci
Android apps ci
Eduardo Carrara de Araujo
 
2016 - Por que mobile?
2016 - Por que mobile?2016 - Por que mobile?
2016 - Por que mobile?
Eduardo Carrara de Araujo
 
Testes: Por onde Começar?
Testes: Por onde Começar?Testes: Por onde Começar?
Testes: Por onde Começar?
Eduardo Carrara de Araujo
 
Android ndk: Entering the native world
Android ndk: Entering the native worldAndroid ndk: Entering the native world
Android ndk: Entering the native world
Eduardo Carrara de Araujo
 
Android NDK: Entrando no Mundo Nativo
Android NDK: Entrando no Mundo NativoAndroid NDK: Entrando no Mundo Nativo
Android NDK: Entrando no Mundo Nativo
Eduardo Carrara de Araujo
 
Implementation of a Participatory Sensing Solution to Collect Data About Pave...
Implementation of a Participatory Sensing Solution to Collect Data About Pave...Implementation of a Participatory Sensing Solution to Collect Data About Pave...
Implementation of a Participatory Sensing Solution to Collect Data About Pave...
Eduardo Carrara de Araujo
 
GDG ABC - Aventura 2015
GDG ABC - Aventura 2015GDG ABC - Aventura 2015
GDG ABC - Aventura 2015
Eduardo Carrara de Araujo
 
Why mobile?
Why mobile?Why mobile?
Why mobile?
Eduardo Carrara de Araujo
 
Android M - Getting Started
Android M - Getting StartedAndroid M - Getting Started
Android M - Getting Started
Eduardo Carrara de Araujo
 
Começando com Android (#AndroidOnIntel)
Começando com Android (#AndroidOnIntel)Começando com Android (#AndroidOnIntel)
Começando com Android (#AndroidOnIntel)
Eduardo Carrara de Araujo
 
Android Auto Basics
Android Auto BasicsAndroid Auto Basics
Android Auto Basics
Eduardo Carrara de Araujo
 
Debugging in Android
Debugging in AndroidDebugging in Android
Debugging in Android
Eduardo Carrara de Araujo
 
Android 101: Do Plano ao Play
Android 101: Do Plano ao PlayAndroid 101: Do Plano ao Play
Android 101: Do Plano ao Play
Eduardo Carrara de Araujo
 
Testing Your App in the Cloud
Testing Your App in the CloudTesting Your App in the Cloud
Testing Your App in the Cloud
Eduardo Carrara de Araujo
 
Android 101: Do Plano ao Play em 30 minutos
Android 101: Do Plano ao Play em 30 minutosAndroid 101: Do Plano ao Play em 30 minutos
Android 101: Do Plano ao Play em 30 minutos
Eduardo Carrara de Araujo
 
Só um appzinho aê!? - O guia de sobrevivência para o dev da ideia inovadora a...
Só um appzinho aê!? - O guia de sobrevivência para o dev da ideia inovadora a...Só um appzinho aê!? - O guia de sobrevivência para o dev da ideia inovadora a...
Só um appzinho aê!? - O guia de sobrevivência para o dev da ideia inovadora a...
Eduardo Carrara de Araujo
 
Implementation of a Participatory Sensing Solution to Collect Data About Pave...
Implementation of a Participatory Sensing Solution to Collect Data About Pave...Implementation of a Participatory Sensing Solution to Collect Data About Pave...
Implementation of a Participatory Sensing Solution to Collect Data About Pave...
Eduardo Carrara de Araujo
 

Recently uploaded (20)

TestMigrationsInPy: A Dataset of Test Migrations from Unittest to Pytest (MSR...
TestMigrationsInPy: A Dataset of Test Migrations from Unittest to Pytest (MSR...TestMigrationsInPy: A Dataset of Test Migrations from Unittest to Pytest (MSR...
TestMigrationsInPy: A Dataset of Test Migrations from Unittest to Pytest (MSR...
Andre Hora
 
F-Secure Freedome VPN 2025 Crack Plus Activation New Version
F-Secure Freedome VPN 2025 Crack Plus Activation  New VersionF-Secure Freedome VPN 2025 Crack Plus Activation  New Version
F-Secure Freedome VPN 2025 Crack Plus Activation New Version
saimabibi60507
 
Microsoft AI Nonprofit Use Cases and Live Demo_2025.04.30.pdf
Microsoft AI Nonprofit Use Cases and Live Demo_2025.04.30.pdfMicrosoft AI Nonprofit Use Cases and Live Demo_2025.04.30.pdf
Microsoft AI Nonprofit Use Cases and Live Demo_2025.04.30.pdf
TechSoup
 
Get & Download Wondershare Filmora Crack Latest [2025]
Get & Download Wondershare Filmora Crack Latest [2025]Get & Download Wondershare Filmora Crack Latest [2025]
Get & Download Wondershare Filmora Crack Latest [2025]
saniaaftab72555
 
Avast Premium Security Crack FREE Latest Version 2025
Avast Premium Security Crack FREE Latest Version 2025Avast Premium Security Crack FREE Latest Version 2025
Avast Premium Security Crack FREE Latest Version 2025
mu394968
 
Salesforce Data Cloud- Hyperscale data platform, built for Salesforce.
Salesforce Data Cloud- Hyperscale data platform, built for Salesforce.Salesforce Data Cloud- Hyperscale data platform, built for Salesforce.
Salesforce Data Cloud- Hyperscale data platform, built for Salesforce.
Dele Amefo
 
Secure Test Infrastructure: The Backbone of Trustworthy Software Development
Secure Test Infrastructure: The Backbone of Trustworthy Software DevelopmentSecure Test Infrastructure: The Backbone of Trustworthy Software Development
Secure Test Infrastructure: The Backbone of Trustworthy Software Development
Shubham Joshi
 
Why Orangescrum Is a Game Changer for Construction Companies in 2025
Why Orangescrum Is a Game Changer for Construction Companies in 2025Why Orangescrum Is a Game Changer for Construction Companies in 2025
Why Orangescrum Is a Game Changer for Construction Companies in 2025
Orangescrum
 
Kubernetes_101_Zero_to_Platform_Engineer.pptx
Kubernetes_101_Zero_to_Platform_Engineer.pptxKubernetes_101_Zero_to_Platform_Engineer.pptx
Kubernetes_101_Zero_to_Platform_Engineer.pptx
CloudScouts
 
How can one start with crypto wallet development.pptx
How can one start with crypto wallet development.pptxHow can one start with crypto wallet development.pptx
How can one start with crypto wallet development.pptx
laravinson24
 
Adobe Illustrator Crack FREE Download 2025 Latest Version
Adobe Illustrator Crack FREE Download 2025 Latest VersionAdobe Illustrator Crack FREE Download 2025 Latest Version
Adobe Illustrator Crack FREE Download 2025 Latest Version
kashifyounis067
 
How Valletta helped healthcare SaaS to transform QA and compliance to grow wi...
How Valletta helped healthcare SaaS to transform QA and compliance to grow wi...How Valletta helped healthcare SaaS to transform QA and compliance to grow wi...
How Valletta helped healthcare SaaS to transform QA and compliance to grow wi...
Egor Kaleynik
 
FL Studio Producer Edition Crack 2025 Full Version
FL Studio Producer Edition Crack 2025 Full VersionFL Studio Producer Edition Crack 2025 Full Version
FL Studio Producer Edition Crack 2025 Full Version
tahirabibi60507
 
Scaling GraphRAG: Efficient Knowledge Retrieval for Enterprise AI
Scaling GraphRAG:  Efficient Knowledge Retrieval for Enterprise AIScaling GraphRAG:  Efficient Knowledge Retrieval for Enterprise AI
Scaling GraphRAG: Efficient Knowledge Retrieval for Enterprise AI
danshalev
 
Revolutionizing Residential Wi-Fi PPT.pptx
Revolutionizing Residential Wi-Fi PPT.pptxRevolutionizing Residential Wi-Fi PPT.pptx
Revolutionizing Residential Wi-Fi PPT.pptx
nidhisingh691197
 
PDF Reader Pro Crack Latest Version FREE Download 2025
PDF Reader Pro Crack Latest Version FREE Download 2025PDF Reader Pro Crack Latest Version FREE Download 2025
PDF Reader Pro Crack Latest Version FREE Download 2025
mu394968
 
Solidworks Crack 2025 latest new + license code
Solidworks Crack 2025 latest new + license codeSolidworks Crack 2025 latest new + license code
Solidworks Crack 2025 latest new + license code
aneelaramzan63
 
Interactive odoo dashboards for sales, CRM , Inventory, Invoice, Purchase, Pr...
Interactive odoo dashboards for sales, CRM , Inventory, Invoice, Purchase, Pr...Interactive odoo dashboards for sales, CRM , Inventory, Invoice, Purchase, Pr...
Interactive odoo dashboards for sales, CRM , Inventory, Invoice, Purchase, Pr...
AxisTechnolabs
 
Exploring Code Comprehension in Scientific Programming: Preliminary Insight...
Exploring Code Comprehension  in Scientific Programming:  Preliminary Insight...Exploring Code Comprehension  in Scientific Programming:  Preliminary Insight...
Exploring Code Comprehension in Scientific Programming: Preliminary Insight...
University of Hawai‘i at Mānoa
 
Download Wondershare Filmora Crack [2025] With Latest
Download Wondershare Filmora Crack [2025] With LatestDownload Wondershare Filmora Crack [2025] With Latest
Download Wondershare Filmora Crack [2025] With Latest
tahirabibi60507
 
TestMigrationsInPy: A Dataset of Test Migrations from Unittest to Pytest (MSR...
TestMigrationsInPy: A Dataset of Test Migrations from Unittest to Pytest (MSR...TestMigrationsInPy: A Dataset of Test Migrations from Unittest to Pytest (MSR...
TestMigrationsInPy: A Dataset of Test Migrations from Unittest to Pytest (MSR...
Andre Hora
 
F-Secure Freedome VPN 2025 Crack Plus Activation New Version
F-Secure Freedome VPN 2025 Crack Plus Activation  New VersionF-Secure Freedome VPN 2025 Crack Plus Activation  New Version
F-Secure Freedome VPN 2025 Crack Plus Activation New Version
saimabibi60507
 
Microsoft AI Nonprofit Use Cases and Live Demo_2025.04.30.pdf
Microsoft AI Nonprofit Use Cases and Live Demo_2025.04.30.pdfMicrosoft AI Nonprofit Use Cases and Live Demo_2025.04.30.pdf
Microsoft AI Nonprofit Use Cases and Live Demo_2025.04.30.pdf
TechSoup
 
Get & Download Wondershare Filmora Crack Latest [2025]
Get & Download Wondershare Filmora Crack Latest [2025]Get & Download Wondershare Filmora Crack Latest [2025]
Get & Download Wondershare Filmora Crack Latest [2025]
saniaaftab72555
 
Avast Premium Security Crack FREE Latest Version 2025
Avast Premium Security Crack FREE Latest Version 2025Avast Premium Security Crack FREE Latest Version 2025
Avast Premium Security Crack FREE Latest Version 2025
mu394968
 
Salesforce Data Cloud- Hyperscale data platform, built for Salesforce.
Salesforce Data Cloud- Hyperscale data platform, built for Salesforce.Salesforce Data Cloud- Hyperscale data platform, built for Salesforce.
Salesforce Data Cloud- Hyperscale data platform, built for Salesforce.
Dele Amefo
 
Secure Test Infrastructure: The Backbone of Trustworthy Software Development
Secure Test Infrastructure: The Backbone of Trustworthy Software DevelopmentSecure Test Infrastructure: The Backbone of Trustworthy Software Development
Secure Test Infrastructure: The Backbone of Trustworthy Software Development
Shubham Joshi
 
Why Orangescrum Is a Game Changer for Construction Companies in 2025
Why Orangescrum Is a Game Changer for Construction Companies in 2025Why Orangescrum Is a Game Changer for Construction Companies in 2025
Why Orangescrum Is a Game Changer for Construction Companies in 2025
Orangescrum
 
Kubernetes_101_Zero_to_Platform_Engineer.pptx
Kubernetes_101_Zero_to_Platform_Engineer.pptxKubernetes_101_Zero_to_Platform_Engineer.pptx
Kubernetes_101_Zero_to_Platform_Engineer.pptx
CloudScouts
 
How can one start with crypto wallet development.pptx
How can one start with crypto wallet development.pptxHow can one start with crypto wallet development.pptx
How can one start with crypto wallet development.pptx
laravinson24
 
Adobe Illustrator Crack FREE Download 2025 Latest Version
Adobe Illustrator Crack FREE Download 2025 Latest VersionAdobe Illustrator Crack FREE Download 2025 Latest Version
Adobe Illustrator Crack FREE Download 2025 Latest Version
kashifyounis067
 
How Valletta helped healthcare SaaS to transform QA and compliance to grow wi...
How Valletta helped healthcare SaaS to transform QA and compliance to grow wi...How Valletta helped healthcare SaaS to transform QA and compliance to grow wi...
How Valletta helped healthcare SaaS to transform QA and compliance to grow wi...
Egor Kaleynik
 
FL Studio Producer Edition Crack 2025 Full Version
FL Studio Producer Edition Crack 2025 Full VersionFL Studio Producer Edition Crack 2025 Full Version
FL Studio Producer Edition Crack 2025 Full Version
tahirabibi60507
 
Scaling GraphRAG: Efficient Knowledge Retrieval for Enterprise AI
Scaling GraphRAG:  Efficient Knowledge Retrieval for Enterprise AIScaling GraphRAG:  Efficient Knowledge Retrieval for Enterprise AI
Scaling GraphRAG: Efficient Knowledge Retrieval for Enterprise AI
danshalev
 
Revolutionizing Residential Wi-Fi PPT.pptx
Revolutionizing Residential Wi-Fi PPT.pptxRevolutionizing Residential Wi-Fi PPT.pptx
Revolutionizing Residential Wi-Fi PPT.pptx
nidhisingh691197
 
PDF Reader Pro Crack Latest Version FREE Download 2025
PDF Reader Pro Crack Latest Version FREE Download 2025PDF Reader Pro Crack Latest Version FREE Download 2025
PDF Reader Pro Crack Latest Version FREE Download 2025
mu394968
 
Solidworks Crack 2025 latest new + license code
Solidworks Crack 2025 latest new + license codeSolidworks Crack 2025 latest new + license code
Solidworks Crack 2025 latest new + license code
aneelaramzan63
 
Interactive odoo dashboards for sales, CRM , Inventory, Invoice, Purchase, Pr...
Interactive odoo dashboards for sales, CRM , Inventory, Invoice, Purchase, Pr...Interactive odoo dashboards for sales, CRM , Inventory, Invoice, Purchase, Pr...
Interactive odoo dashboards for sales, CRM , Inventory, Invoice, Purchase, Pr...
AxisTechnolabs
 
Exploring Code Comprehension in Scientific Programming: Preliminary Insight...
Exploring Code Comprehension  in Scientific Programming:  Preliminary Insight...Exploring Code Comprehension  in Scientific Programming:  Preliminary Insight...
Exploring Code Comprehension in Scientific Programming: Preliminary Insight...
University of Hawai‘i at Mānoa
 
Download Wondershare Filmora Crack [2025] With Latest
Download Wondershare Filmora Crack [2025] With LatestDownload Wondershare Filmora Crack [2025] With Latest
Download Wondershare Filmora Crack [2025] With Latest
tahirabibi60507
 

Android Test Automation Workshop

  • 1. Íntel Software and Services Group Android:testautomationworkshopEduardo Carrara Developer Evangelist – Intel Developers Relations Division
  • 2. Intel Software and Services Group #AndroidOnIntel 2 +EduardoCarraraDeAraujo https://www.facebook.com/ducarrara @DuCarrara br.linkedin.com/in/eduardocarrara/ ecarrara-araujo
  • 3. Intel Software and Services Group 3 Objective Practice the usage of test automation tools available in the Android Framework through the following activities: • Prepare the test environment for development and execution. • Development of unit tests that run on the local JVM. • Development of UI Tests with Espresso. • Development of Cross Apps Tests with UI Automator. • Running tests in the cloud with TestDroid.
  • 4. Intel Software and Services Group 4 Requirements • Android Studio 1.3+ • Test Device with Android 4.0+ • SDK Version 23 • Build Tools 23.0.0 • AppCompat-v7 23.3.0
  • 5. Intel Software and Services Group 5 Base App - BeerWith • Simple demo app to help you keep track of what have you been drinking and with who. • https://github.com/ecarrara-araujo/beer-with • If you want to follow the workshop just clone it and work on branch master. • Check the branch ahead for the implementations: • Imasters-android-devconf-tests-workshop
  • 6. Intel Software and Services Group #1–CreatingyourfirstUnitTest 6
  • 7. Intel Software and Services Group 7 #1 – Creating your first Unit Test testCompile 'junit:junit:4.12' • Add the Junit dependency to the app/build.gradle
  • 8. Intel Software and Services Group 8 #1 – Creating your first Unit Test Create these directories.
  • 9. Intel Software and Services Group 9 #1 – Creating your first Unit Test
  • 10. Intel Software and Services Group 10 #1 – Creating your first Unit Test
  • 11. Intel Software and Services Group 11 #1 – Creating your first Unit Test
  • 12. Intel Software and Services Group 12 #1 – Creating your first Unit Test public class UtilityTest { @Test public void testGetDateFormattedTime() throws Exception { String expectedDateFormat = "yyyy, MMMM dd"; Calendar calendar = Calendar.getInstance(); calendar.set(2015, 4 - 1, 3); //20150403 String expectedResult = (new SimpleDateFormat(expectedDateFormat)).format(calendar.getTime()); String result = Utility.getDateFormattedTime(calendar, expectedDateFormat); assertEquals("Date was not correctly formatted.", expectedResult, result); // testing a second format to be sure expectedDateFormat = "dd MM yyyy"; expectedResult = (new SimpleDateFormat(expectedDateFormat)).format(calendar.getTime()); result = Utility.getDateFormattedTime(calendar, expectedDateFormat); assertEquals("Date was not correctly formatted.", expectedResult, result); } }
  • 13. Intel Software and Services Group 13 #1 – Creating your first Unit Test $ ./gradlew testor
  • 14. Intel Software and Services Group 14 #1 – Creating your first Unit Test or appbuildreportstestsdebugindex.html
  • 15. Intel Software and Services Group #2Testingtheuiwithespresso 15
  • 16. Intel Software and Services Group 16 #2 Testing the ui with espresso • App/build.gradle defaultConfig { testInstrumentationRunner 'android.support.test.runner.AndroidJUnitRunner' } dependencies { androidTestCompile 'com.android.support.test:runner:0.3' androidTestCompile 'com.android.support.test:rules:0.3' androidTestCompile 'com.android.support.test.espresso:espresso-core:2.2' } • ./build.gradle allprojects { configurations.all { resolutionStrategy.force 'com.android.support:support-annotations:23.0.0' } }
  • 17. Intel Software and Services Group 17 #2 Testing the ui with espresso
  • 18. Intel Software and Services Group 18 #2 Testing the ui with espresso
  • 19. Intel Software and Services Group 19 #2 Testing the ui with espresso Here comes a whole lot of code… Check the file: BeerWithappsrcandroidTestjavabrengecarrarabeerwit hBeerWithMainActivityInstrumentationTest.java
  • 20. Intel Software and Services Group 20 #2 Testing the ui with espresso or $ ./gradlew connectedCheck
  • 21. Intel Software and Services Group 21 #2 Testing the ui with espresso or appbuildreportsandroidTestsconnectedindex.html
  • 22. Intel Software and Services Group #3CROssappTestingwithUIAutomator 22
  • 23. Intel Software and Services Group 23 #3 Cross app Testing with UI Automator • App/build.gradle defaultConfig { testInstrumentationRunner 'android.support.test.runner.AndroidJUnitRunner' } • ./build.gradle allprojects { configurations.all { resolutionStrategy.force 'com.android.support:support-annotations:23.0.0' } } dependecies { androidTestCompile 'com.android.support.test:runner:0.3' androidTestCompile 'com.android.support.test.uiautomator:uiautomator-v18:2.1.1' androidTestCompile 'org.hamcrest:hamcrest-integration:1.3' }
  • 24. Intel Software and Services Group 24 #3 Cross app Testing with UI Automator
  • 25. Intel Software and Services Group 25 #3 Cross app Testing with UI Automator
  • 26. Intel Software and Services Group 26 #3 Cross app Testing with UI Automator Androidsdk/tools/uiautomatorviewer
  • 27. Intel Software and Services Group 27 #3 Cross app Testing with UI Automator Here comes a whole lot of code… Check the file: BeerWithappsrcandroidTestjavabrengecarrarabeerwit hAddingBeerWithCompleteTestFlow.java
  • 28. Intel Software and Services Group 28 #3 Cross app Testing with UI Automator or $ ./gradlew connectedCheck
  • 29. Intel Software and Services Group 29 or
  • 30. Intel Software and Services Group 30
  • 31. Intel Software and Services Group 31
  • 32. Intel Software and Services Group 32
  • 33. Intel Software and Services Group 33
  • 34. Intel Software and Services Group 34
  • 35. Intel Information Technology What is next? 35 • Follow the guide and automate your tests! • How to integrate continous integration and delivery with Android? • Code Coverage • Mocking
  • 36. Intel Software and Services Group 36 Intel Developer Zone https://software.intel.com/en-us/android/app-testing
  • 37. Intel Software and Services Group Thanks! 37 +EduardoCarraraDeAraujo https://www.facebook.com/ducarrara @DuCarrara br.linkedin.com/in/eduardocarrara/ ecarrara-araujo/vilibra
  • 38. Intel Software and Services Group 38 References • Android Testing: https://developer.android.com/tools/testing/testing_android.html • Android Unit Testing Support: http://tools.android.com/tech-docs/unit-testing-support • UI Testing: https://developer.android.com/training/testing/ui-testing/index.html • Android Testing Support Library: https://developer.android.com/tools/testing-support- library • Android Instrumentation: http://developer.android.com/tools/testing/testing_android.html#Instrumentation • Junit: http://junit.org • Testdroid: http://testdroid.com • Intel App Testing Page: https://software.intel.com/en-us/android/app-testing
  • 39. Intel Software and Services Group 39 References • Codelab Android Studio Testing: https://io2015codelabs.appspot.com/codelabs/android- studio-testing#1 • Android Testing Blueprints: https://github.com/googlesamples/android-testing- templates/tree/master/AndroidTestingBlueprint • Testing on Android by Vincent Brison: http://vincentbrison.com/2015/08/05/testing-on- android-part1-a-practical-approach/ • Android Developers Unit Testing Training: https://developer.android.com/training/testing/unit-testing/index.html • Android Testing Samples: https://github.com/googlesamples/android-testing/ • G+ Community: https://plus.google.com/communities/10515313437206298596 • Stack Overflow: http://stackoverflow.com/questions/tagged/android-testing
  • 40. Intel Software and Services Group 40 References • Espresso v2 Cheat Sheet - https://code.google.com/p/android-test- kit/wiki/EspressoV2CheatSheet
  • 41. Placeholder Footer Copy / BU Logo or Name Goes Here