Effective TDD on Android with Kotlin
summary
Kotlin app built with an MVP testable layer that calls the public Chuck Norris API to show a random joke and a keyword search. Tests drive behavior: presenter requests a random joke on start, view renders text and image, search debounces empty input, RecyclerView gets two items and shows an empty-state when results are zero. Stack uses Kotlin + coroutines, Arrow functional helpers, plus Mockito and JUnit; live demo crashes briefly but repository branches run.
AI-written summary · about
chapters (12)
- 0:00Introduction to TDD
- 1:04TDD cycles and app overview
- 3:40First test for random joke
- 6:35Rendering joke text
- 11:38Rendering joke image
- 15:58Search jokes by keyword
- 17:06Handling empty search text
- 23:30Displaying search results
- 28:53Empty search results handling
- 32:15Refactoring presenter code
- 33:47Live app demonstration
- 36:27Q&A on TDD and testing








