~/talk

ESSENTIALS - Canon Test-Driven Development

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

Argues for a stripped-down, precise TDD workflow: list the concrete scenarios then tests, write one failing test for a behavior (stack example: one test up front), make it pass quickly, then generalize and refactor — red then green then refactor. Traces origins to Smalltalk/JUnit, demonstrates variants like test‑commit‑revert and using tests to tame nondeterministic “genies,” shows practice on a rope and a B+ tree, and says property testing is useful but harder during the discovery phase.

AI-written summary · about

  1. 0:00Introduction
  2. 1:05Why revisit Test-Driven Development
  3. 3:36Canon TDD workflow
  4. 5:00TDD from first principles
  5. 8:34Interspersing code and tests
  6. 13:53Three test decisions
  7. 17:50Writing tests first
  8. 25:32Test timing economics
  9. 29:08Canon TDD two-step
  10. 33:06Passing and generalizing
  11. 37:43Test commit revert
  12. 39:07Following Canon TDD
  13. 40:56Q&A
~/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.