~/talk

Test Driving Code with the Help of AI

Talkat NDC Copenhagen 2026 · 2026-06-01..06-04· [testing, ai-assisted-development]
slides:none on file

Demonstrates using AI (VS Code/Copilot style) to write TDD for Conway’s Game of Life: starts with a canary test, has AI generate tests and methods like nextState, generateSignals, countSignals and nextGeneration, and implements them until tests pass. Shows useful patterns—select many/flatMap and group‑by for counting—and warns AI copies boilerplate, writes useless “not null” tests, and suffers a starting/stopping problem that requires active human steering.

AI-written summary · about

  1. 0:00Test driving with AI
  2. 3:25Automated tests matter
  3. 7:39Canary test example
  4. 9:05Designing code incrementally
  5. 13:43Stateless design and AI
  6. 21:14First meaningful test
  7. 24:46Game of Life universe
  8. 26:12Generating live cell signals
  9. 33:16Functional style with AI
  10. 37:32Counting signals and tests
  11. 42:13Method interfaces via tests
  12. 48:56Next-gen Game of Life tests
  13. 55:01AI test correctness
  14. 56:07Summary
~/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.