Overview
Explore the fundamentals of automated software testing for Android app development in this 40-minute conference talk from Android Dev Summit 2015. Gain insights into Google's testing tools and frameworks as Stephan Linzner, Jose Alcérreca, and Jan-Felix Schmakeit demonstrate how to improve iteration speed and maintain a healthier codebase. Learn about isolating external dependencies, choosing flavors, Gradle tasks, mockable Android Jar, test-driven development, UI testing, performance testing harness, and custom test rules. Discover how to effectively implement these techniques using a Notes app example, from adding features to running tests on devices and emulators.
Syllabus
Intro
Meet your testing tools
Notes app
Isolate from external dependencies
Choose flavors prod/mock
Gradle tasks
Mockable Android Jar
Run from Gradle
Test-driven development
Run on device/ emulator
Add note feature
Anatomy of a UI test
Add note screen test
Go green
Perf Testing Harness
Custom Test Rules
Running the harness
Test output
Taught by
Android Developers