~/talk

TDD Revisited

Talkat NDC Porto 2023 · 2023-10-16..10-20· [testing]
slides:none on file

Argues TDD is about driving behaviors not isolating “unit tests,” and recommends writing developer tests that target the smallest observable behavior, use red‑green‑refactor, and avoid testing private methods. Recommends mocks only for IO/shared fixtures or speed, uses JUnit/xUnit/NUnit and warns SpecFlow/Cucumber/Fitnesse are costly unless customers write specs. Claims test‑first gives scope control, test‑after is for regression, estimates unseen rework ~30%, and aims for fast feedback under 30 seconds.

AI-written summary · about

  1. 0:00Introduction
  2. 3:13TDD fallacies and principles
  3. 11:51Developer tests vs unit tests
  4. 22:26TDD as discovery
  5. 33:18Behavior-driven development origins
  6. 39:17Customer acceptance tests pitfalls
  7. 44:35Testing after dev vs TDD
  8. 50:17When not to use TDD
  9. 57:02Summary
~/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.