Ah, Wonderful TDD — Peace of Mind for Apps and Engineers
summary
Presents concrete TDD rules (red–green–refactor loop plus three strict rules) and demonstrates them by implementing a Janken (rock–paper–scissors) class with three JUnit unit tests, iterating until all tests pass. Recommends running TDD on the local JVM (using trampoline scheduler for RxJava tests), reserving Espresso/Robolectric for UI happy‑path checks, and shows MVVM separation, testing LiveData observers, and dependency injection (constructor or Dagger2) to enable faster, safer refactoring.
AI-written summary · about
chapters (8)
- 0:00Introduction
- 1:54What is TDD
- 5:39Live TDD demo
- 13:20TDD benefits summary
- 15:41Why practice TDD
- 19:24TDD on Android Q&A
- 28:21TDD benefits call to action
- 29:05Q&A








