~/talk

The 7 Stages of Unit Testing

Talkat DevDays Europe 2019 · 2019-05-14..05-16· [android, testing]
links:none on file
slides:none on file

Seven stages map to concrete practices: Kotlin live coding builds a SuperVillain data class and three passing unit tests (return value, state, behavior) using Android Studio, Kotlin live coding, and JUnit4 + mockito (mockito‑kotlin); claims include a recommended test mix of ~70% behavior, 20% state, 10% return value, and using Robolectric only for instrumentation; shows DI patterns (constructor first), dagger‑generated code is not tested, and coverage is measured but can be gamed.

AI-written summary · about

  1. 0:00Start
  2. 1:34Selfish Unit Tests
  3. 4:48Use Unit Testing Incrementally
  4. 7:02Good & Bad News
  5. 8:33Follow the rules
  6. 10:03Types of Unit Tests
  7. 28:52TDD Schools
  8. 29:42Test Doubles
  9. 32:17Use a Mocking Framework
  10. 32:37Dependency Injection
  11. 33:45Depression
  12. 34:52Coverage in Android Studio
  13. 36:02And when I have too many tests?
  14. 36:52Acceptance & Hope
  15. 37:08Evolve
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.