TDD: Beyond the intro, part one
summary
Walks through implementing FizzBuzz in Java using parameterized tests, quick guard ifs and module logic, deliberately writing ugly solutions to reach a green bar, then refactoring; claims TDD speeds discovery by treating tests as field notes and uses lazy-naming, purposeful-bad-faith and branch-reduction heuristics. Uses the rule-of-three to stop ad hoc fixes, calls tests an Ariadne’s thread for archeology, and ends with a working FizzBuzz and a clear path for extraction.
AI-written summary · about
chapters (10)
- 0:00Introduction to TDD
- 3:27Why TDD and test design
- 16:47Speed vs sensation of speed
- 21:49Drafts are your friends
- 27:46Parameterized tests and examples
- 32:54Green bar as permission to think
- 37:58Limiting bad faith in solutions
- 43:28Controlling step size
- 46:35Refactor only when green
- 49:12Summary and part two teaser
