~/talk

The Three Laws of Test Driven Development are Useful

Talkat Connect.Tech 2024 · 2024-11-18..11-20· [testing]
links:none on file
slides:none on file

Claims that the three laws of TDD (write a failing test, write just enough test to fail, write just enough production code to pass) help design APIs and create tight feedback loops but miss when to stop and what to test. Solution is to author executable specifications from requirements, run them with Jest (example: FizzBuzz implemented as spec-driven tests), publish HTML living reports as living documentation, refactor freely and keep tests green.

AI-written summary · about

  1. 0:00Introduction to TDD
  2. 7:12What is Test Driven Development
  3. 12:09Three Rules of TDD
  4. 14:20Why Three Rules Are Incomplete
  5. 17:50Executable Specifications
  6. 21:43Zeroth Rule and Solution
  7. 22:06FizzBuzz Example
  8. 34:23Summary and Recommendations
~/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.