Build testable apps for Android
summary
Shows a test-first build of a real to‑do app that uses Jetpack libraries (Room, ViewModel, LiveData, Navigation), Kotlin coroutines, and AndroidX testing APIs to prove the approach. Demonstrates a failing end‑to‑end Espresso test with ActivityScenario/FragmentScenario, then layered integration and unit tests using verified fakes, an in‑memory Room database, and runBlocking for deterministic coroutine tests. Introduces test doubles taxonomy, a shared test source trick for on/off‑device runs, and the Project Nitrogen unified execution vision.
AI-written summary · about
chapters (12)
- 0:00Intro
- 0:45Android Development
- 4:40Testing Codelab
- 5:16Critical User Journey
- 12:30Architecture Components
- 19:37Integration Tests
- 28:51Unit Tests
- 37:01Test Pyramid
- 37:40Local Tests
- 38:08AndroidX Test
- 38:47Compatibility
- 40:40Nitrogen EAP








