~/talk

The 7 Stages of Unit Testing

Talkat TestCon Moscow 2019 · 2019-04-02..04-04· [testing, developer-experience]
slides:none on file

Walks through a concrete Android Kotlin demo: a SuperVillain data class with a computed fullName getter, a setter that splits names, and an attack(megaWeapon) method. Writes three unit tests that pass: assert fullName equals "Lex Luthor", setting fullName updates firstName and lastName, and verify(megaWeapon).fire() using a mock. Uses Android Studio, JUnit4 and Mockito, discusses coverage measurement, DI, modularization and CI tradeoffs.

AI-written summary · about

  1. 0:00Unit testing in mobile dev
  2. 1:13Why unit testing matters
  3. 13:14Overcoming productivity denial
  4. 16:45Writing effective unit tests
  5. 21:00Three unit test types with code
  6. 56:15Simplifying test interactions
  7. 59:04Architecting testable apps with MVP
  8. 1:17:54Improving test coverage
  9. 1:34:35Integrating tests into workflow
  10. 1:37:23Q&A on reactive testing
~/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.