~/talk

Ten things you heard about testing that might be wrong

Talkat droidcon London 2024 · 2024-10-31..11-01· [testing, android]
slides:none on file

Argues that most unit test failures come from implementation changes not bugs, so tests should verify behavior not structure; warns that heavy mocking and DI cause design damage and fragile tests, advising to avoid mocking data classes and to mock only across architectural boundaries. Cites studies showing widespread flakiness (>50% of developers, ~41% at Google) and describes SoundCloud teams dropping flaky UI tests after low ROI. Recommends an 80/20 focus on high-value modules, measure coverage only to find gaps, and treat AI-generated tests as low-quality scaffolding unless carefully validated.

AI-written summary · about

  1. 0:00Introduction
  2. 3:57Change should fail test
  3. 9:12Testable code vs design
  4. 13:52Coverage ≠ quality
  5. 17:06Flaky tests erode confidence in testing
  6. 20:19Over-testing wastes time
  7. 25:55AI will not solve all testing problems
  8. 33:14Pyramid outdated?
  9. 37:11Summary
~/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.