Android Testing Talk by Rebootd v1
Transcript of Android Testing Talk by Rebootd v1
![Page 1: Android Testing Talk by Rebootd v1](https://reader035.fdocuments.us/reader035/viewer/2022081605/58f08e9a1a28abb1318b45c3/html5/thumbnails/1.jpg)
ANDROID TESTING THAT DOESN’T
SUCK
GITHUB:REBOOTD@COMPUTERISTCO
getting started…
![Page 2: Android Testing Talk by Rebootd v1](https://reader035.fdocuments.us/reader035/viewer/2022081605/58f08e9a1a28abb1318b45c3/html5/thumbnails/2.jpg)
TESTING?
@computeristcogithub:rebootd
Unit Tests?Integration Tests?UI Tests?
![Page 3: Android Testing Talk by Rebootd v1](https://reader035.fdocuments.us/reader035/viewer/2022081605/58f08e9a1a28abb1318b45c3/html5/thumbnails/3.jpg)
TESTING?
Helps solving problemsFind problems fasterFaster development speedCleaner code
@computeristcogithub:rebootd
![Page 4: Android Testing Talk by Rebootd v1](https://reader035.fdocuments.us/reader035/viewer/2022081605/58f08e9a1a28abb1318b45c3/html5/thumbnails/4.jpg)
TESTING?
Helps solving problemsFind problems fasterFaster development speedCleaner code
BUT I WON’T DO IT IF IT SUCKS
@computeristcogithub:rebootd
![Page 5: Android Testing Talk by Rebootd v1](https://reader035.fdocuments.us/reader035/viewer/2022081605/58f08e9a1a28abb1318b45c3/html5/thumbnails/5.jpg)
TOOLS
@computeristcogithub:rebootd
![Page 6: Android Testing Talk by Rebootd v1](https://reader035.fdocuments.us/reader035/viewer/2022081605/58f08e9a1a28abb1318b45c3/html5/thumbnails/6.jpg)
TOOLS
jUnit
@computeristcogithub:rebootd
![Page 7: Android Testing Talk by Rebootd v1](https://reader035.fdocuments.us/reader035/viewer/2022081605/58f08e9a1a28abb1318b45c3/html5/thumbnails/7.jpg)
TOOLS
jUnit Espresso
@computeristcogithub:rebootd
![Page 8: Android Testing Talk by Rebootd v1](https://reader035.fdocuments.us/reader035/viewer/2022081605/58f08e9a1a28abb1318b45c3/html5/thumbnails/8.jpg)
TOOLS
jUnit Espresso
UIAutomator
@computeristcogithub:rebootd
![Page 9: Android Testing Talk by Rebootd v1](https://reader035.fdocuments.us/reader035/viewer/2022081605/58f08e9a1a28abb1318b45c3/html5/thumbnails/9.jpg)
TOOLS
jUnit Espresso
UIAutomatorMonkey
@computeristcogithub:rebootd
![Page 10: Android Testing Talk by Rebootd v1](https://reader035.fdocuments.us/reader035/viewer/2022081605/58f08e9a1a28abb1318b45c3/html5/thumbnails/10.jpg)
TOOLS
jUnit Espresso
UIAutomatorMonkeyRobotium
@computeristcogithub:rebootd
![Page 11: Android Testing Talk by Rebootd v1](https://reader035.fdocuments.us/reader035/viewer/2022081605/58f08e9a1a28abb1318b45c3/html5/thumbnails/11.jpg)
TOOLS
jUnit Espresso
UIAutomatorMonkeyRobotium
Robolectric@computeristcogithub:rebootd
![Page 12: Android Testing Talk by Rebootd v1](https://reader035.fdocuments.us/reader035/viewer/2022081605/58f08e9a1a28abb1318b45c3/html5/thumbnails/12.jpg)
HOW DO I MAKE IT EASY
@computeristcogithub:rebootd
• Base classes• Mocking• DI• OSS• Gradle scripts• Build Server
Just say no to “friction burn” image search
![Page 13: Android Testing Talk by Rebootd v1](https://reader035.fdocuments.us/reader035/viewer/2022081605/58f08e9a1a28abb1318b45c3/html5/thumbnails/13.jpg)
MOCKING
@computeristcogithub:rebootd
![Page 14: Android Testing Talk by Rebootd v1](https://reader035.fdocuments.us/reader035/viewer/2022081605/58f08e9a1a28abb1318b45c3/html5/thumbnails/14.jpg)
DEPENDENCY INJECTION
@computeristcogithub:rebootd
![Page 15: Android Testing Talk by Rebootd v1](https://reader035.fdocuments.us/reader035/viewer/2022081605/58f08e9a1a28abb1318b45c3/html5/thumbnails/15.jpg)
RUNNING YOUR TESTS
@computeristcogithub:rebootd
![Page 16: Android Testing Talk by Rebootd v1](https://reader035.fdocuments.us/reader035/viewer/2022081605/58f08e9a1a28abb1318b45c3/html5/thumbnails/16.jpg)
WATCH OUT FOR…
@computeristcogithub:rebootd
• flavors• unsupported api features
![Page 17: Android Testing Talk by Rebootd v1](https://reader035.fdocuments.us/reader035/viewer/2022081605/58f08e9a1a28abb1318b45c3/html5/thumbnails/17.jpg)
BUILD SERVER INTEGRATION
@computeristcogithub:rebootd
![Page 18: Android Testing Talk by Rebootd v1](https://reader035.fdocuments.us/reader035/viewer/2022081605/58f08e9a1a28abb1318b45c3/html5/thumbnails/18.jpg)
WHAT ELSE?
@computeristcogithub:rebootd
UI Testing and build servers?Appium?Monkey Runner?UI Automator?Ranorex?Selendroid?
![Page 19: Android Testing Talk by Rebootd v1](https://reader035.fdocuments.us/reader035/viewer/2022081605/58f08e9a1a28abb1318b45c3/html5/thumbnails/19.jpg)
LINKS AND REFERENCES
@computeristcogithub:rebootd
Code:https://github.com/rebootd/ComputeristReader
GDE’s:https://github.com/chiukihttps://github.com/donnfelkerhttps://github.com/mwolfson
Articles & Sampleshttps://github.com/googlesamples/android-testinghttp://www.meetup.com/DenverDroids/events/224537126/http://blog.sqisland.com/2015/10/how-i-prepared-my-keynote.htmlhttp://www.donnfelker.com/materials-from-hdc09-testing-with-mocks-talk/http://www.donnfelker.com/integration-testing/
![Page 20: Android Testing Talk by Rebootd v1](https://reader035.fdocuments.us/reader035/viewer/2022081605/58f08e9a1a28abb1318b45c3/html5/thumbnails/20.jpg)
TO BE CONTINUED…
@computeristcogithub:rebootd
Resources:http://slides….https://github.com/rebootd/ComputeristReader
Contact:http://computerist.cohttps://github.com/rebootdhttps://twitter.com/computeristco
Ask me about presenting
for your group