~/talk

TDD Revisited

Talkat Craft Conference 2024 · 2024-05-30..05-31· [testing]
slides:none on file

Claims that TDD means writing isolated “unit” tests, that each new test maps to a new function, that customers write SpecFlow acceptance tests, that test‑after equals test‑first, or that TDD guarantees 100% coverage are false. The talk shows how overusing mocks produces mock-driven fragility, explains TDD as exploring APIs by driving developer tests from user behavior triggers, recommends ports‑and‑adapters to isolate IO, and prescribes only writing production code in response to a failing behavior test to avoid speculative or rigid design.

AI-written summary · about

  1. 0:00Introduction to TDD
  2. 2:00The fallacy of unit tests
  3. 7:01Refactoring and testing
  4. 13:25The role of developer tests
  5. 16:26TDD as behavior discovery
  6. 21:00Requirements and scope
  7. 22:35Acceptance test realities
  8. 26:09Testing order and strategy
  9. 29:22Limits of test coverage
  10. 33:08Testing pyramid and summary
  11. 37:05Final conclusions
~/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.