The Three Laws of TDD are Useful and Incomplete
summary
Argues the Three Laws of TDD (red/green/refactor) are useful but miss start/stop and refactoring guidance, so the better practice is to write executable specifications (BDD-style) that run as tests. Demonstrates a fizzbuzz translator built with simple specs, a JS test runner, and HTML reports that become living documentation, refactors the implementation without breaking behavior, and shows a new developer switching float to BigDecimal and getting the whole suite green in about 40 minutes.
AI-written summary · about
chapters (10)
- 0:00Introduction to TDD
- 2:06Speaker introduction
- 4:15What is TDD?
- 8:28Three laws of TDD
- 16:47Why three laws are incomplete
- 19:34Executable specifications
- 24:50New TDD rules
- 25:52FizzBuzz demo
- 39:40Refactoring benefits
- 42:45Q&A on TDD








