~/talk

TDD misconceptions

Talkat Code Europe 2021 · 2021-09-21..09-23· [testing]
slides:none on file

Argues that TDD is often practiced wrong — teams write all the tests or chase 100% coverage and end up testing getters/setters with heavy mocking, which inflates development time and still lets critical bugs escape. Advocates the practical red–green–refactor cycle, shows BDD with Cucumber on a 20–25 year legacy system using only ~3–4 scenario tests per feature, and cites studies reporting pre-release defect density drops of roughly 40–90% when test-first practices are applied.

AI-written summary · about

  1. 0:00Introduction to TDD misconceptions
  2. 1:55Writing all tests before logic
  3. 3:40Changing requirements challenge
  4. 5:48First real TDD adoption
  5. 8:16Testing implementation details
  6. 10:44100% code coverage myth
  7. 13:35Overuse of mocks in tests
  8. 15:19BDD approach success
  9. 18:34Correct TDD understanding
  10. 20:40TDD for better design
  11. 22:05Refactoring and handover ease
  12. 22:48Common TDD misconceptions
  13. 24:33Red green refactor cycle
  14. 25:56Simple code needs tests
  15. 27:02Q&A and closing
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.