~/talk

TDD as if You Meant It

Talkat Agile on the Beach 2016 · 2016-07-06..07-07· [testing, developer-experience]
links:none on file
slides:none on file

Demonstrates evolving a working tic-tac-toe engine in short TDD loops using Ruby/RSpec, enforcing three rules: only write production code to make a failing test pass, only create methods by extracting duplication, and only create classes as move-method targets. Uses one failing test at a time cycles of a few minutes to force emergent design rather than upfront design. The team implements state, win detection and refactorings; the engine ends up simpler and test-driven behavior matches expected outcomes.

AI-written summary · about

  1. 0:00TDD intro
  2. 6:23Beck’s TDD cycle
  3. 8:57Purpose of exercise
  4. 12:13Live coding rules
  5. 17:28Tic-tac-toe task
  6. 22:10First failing test
  7. 25:29Game states & winner
~/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.