Stop hating your test suite!
summary
Tests become hated for three concrete reasons: they are slow, complicated to read, and unnecessary or flaky. Recommend focus on unit tests — 6,000 unit specs run in under a minute versus ~30 end-to-end tests taking ~15 minutes and a few integration suites taking minutes — and keep unit/integration/e2e in separate folders or repos. Use test doubles for units, follow AAA: setup, exercise, verify with blank lines, avoid clever DRY that creates mystery, and run e2e only for core flows on staging while running units locally on change.
AI-written summary · about
chapters (10)
- 0:00Introduction and speaker background
- 1:36Why we write tests
- 4:24Reasons we hate test suites
- 9:53Slow tests and test pyramid
- 14:14Complicated tests and unclear descriptions
- 18:09Test structure and AAA pattern
- 22:30Obscure tests and DRY principle
- 28:08Unnecessary and fragile tests
- 32:25Bad tests vs no tests
- 33:49Summary and closing








