Test-Driven Development on Android with Android Testing Support Library
Android Developers via YouTube
Overview
Dive into a technical session from Google I/O 2017 focusing on test-driven development for Android using the Android Testing Support Library (ATSL). Explore the official testing library's features and recent enhancements designed to simplify high-quality Android app development. Learn how ATSL enables test-driven, rapid iterative development cycles as part of a comprehensive automated testing strategy. Gain insights into the testing pyramid, refactoring techniques, and unit test characteristics. Discover Robolectric for unit testing, level testing, and the Android Test Orchestrator. Understand the benefits of multiprocess Espresso for UI testing. Led by Android experts Stephan Linzner, Nick Korostelev, Jonathan Gerrish, and Christian Williams, this 40-minute talk provides valuable knowledge for Android developers looking to improve their testing practices.
Syllabus
Introduction
Why write tests
The testing pyramid
Testdriven development
Refactoring
Failing UI test
Unit test characteristics
Unit test example
Introducing Robolectric
What is Robolectric
Level testing
Android Test Orchestrator
Multiprocess Espresso
Taught by
Android Developers