🚀 TDD, Where Did It All Go Wrong (Ian Cooper)
What it is
Ian Cooper's DevTernity talk revisits Kent Beck's original TDD ideas and shows where misunderstandings crept in. It argues tests should target behaviors through public interfaces rather than implementation details, so suites support refactoring instead of resisting it.
Why Hacker News recommends it
HN repeatedly calls it the best talk on testing, and many say it changed how they approach tests, mocks and the meaning of a unit.
- 11 people recommended it
- 11 different months
- 5 strong recommendations
- first 2018, last 2024
What HN commenters said
“please watch Ian Cooper's "TDD, Where Did It All Go Wrong”
Explains why testing public interfaces beats testing internals.
macca321, 2018-11 · Strong recommendation · in “Signs you are doing continuous testing wrong”
“The best talk on this topic, IMO is Ian Cooper: "TDD, Where did it all go wrong?”
Best talk on TDD, restoring original principles.
VHRanger, 2020-08 · Strong recommendation · in “Is TDD Dead? (2014)”
“This excellent talk completely changed the way I approached testing. Every developer who writes tests needs to watch this now!”
Changed how commenter approaches testing; mocking everything blocks refactoring.
globular-toast, 2021-03 · Strong recommendation · in “CUPID – the back story”
“describes my own experiences with automated testing quite well.”
Matches commenter's experience with automated testing; pragmatic, empirical testing advice.
chriswarbo, 2019-05 · Recommendation · in “Ask HN: What overlooked class of tools should a self-taught programmer look into”
“Recommend”
Shows tests that enable refactoring rather than resisting it.
benjiweber, 2019-05 · Recommendation · in “Is High Quality Software Worth the Cost?”
“Mandatory link to”
Clarifies testing points; warns against overusing mocks.
beders, 2020-09 · Recommendation · in “Best Practices for Testing in Java (2019)”
“TDD: where did it all go wrong.”
Explains unit as module, not function, and overfitted tests.
snidane, 2021-03 · Recommendation · in “CUPID – the back story”
“That's the right way to do TDD, see this talk”
Explains behavior-focused TDD that allows fearless refactoring
imran-iq, 2022-08 · Recommendation · in “I have complicated feelings about TDD”
Excerpts from Hacker News comments, linked to the originals. Summaries and labels were written by a language model from those comments.
Topics: tdd, unit testing, mocking, refactoring, kent beck, bdd
Also recommended by the same people
commentarythat dark matter video aged like milkAngela Collier · 3 HN recommenders · 2024–2024
explainerdark matter is not a theoryAngela Collier · 5 HN recommenders · 2023–2024
talkProcedural Programming: It Never Went Away — Kevlin Henney | Build StuffBuild Stuff - #1 Software Dev Conf · 2 HN recommenders · 2018–2021
talkBottom Up vs Top Down Design in Clojure - Mark BastianClojureTV · 5 HN recommenders · 2016–2021
talk"Simple Made Easy" - Rich Hickey (2011)Strange Loop Conference · 14 HN recommenders · 2022–2026
talkCharlie Marsh: uv: An Extremely Fast Python Package ManagerJane Street · 3 HN recommenders · 2024–2025
lectureUnderstanding the Toyota RAV4 HybridWeberAuto · 3 HN recommenders · 2023–2026
tutorialDavid Beazley - Lambda Calculus from the Ground Up - PyCon 2019PyCon 2019 · 4 HN recommenders · 2019–2021