~/talk

The Three Laws of TDD are Useful and Incomplete

Talkat Connect.Tech 2021 · 2021-11-08..11-10· [testing, software-architecture]
links:none on file
slides:none on file

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

  1. 0:00Introduction to TDD
  2. 2:06Speaker introduction
  3. 4:15What is TDD?
  4. 8:28Three laws of TDD
  5. 16:47Why three laws are incomplete
  6. 19:34Executable specifications
  7. 24:50New TDD rules
  8. 25:52FizzBuzz demo
  9. 39:40Refactoring benefits
  10. 42:45Q&A on TDD
~/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.