The Unspeakable Horror of Discovering You Didn't Write Tests
summary
A confession: the project has 28% coverage and no tests at all until someone adds pytest, pytest-django, pytest-cov and selenium (with geckodriver setup noted as fiddly). The team writes functional browser tests that assert page titles and login flows and unit tests that call a divide_users function which, given 10 users, returns three groups 3 3 4. Coverage climbs, regressions stop surprising deploys, and the concrete payoff is mental freedom plus a safety net for future changes.
AI-written summary · about
chapters (7)
- 0:00Start
- 6:14Pi Tests Django
- 6:40Pi Test Curve
- 9:13Functional Tests
- 9:33Functional Test
- 11:51Pi Tests
- 16:14Unit Tests
related talks
30mThe Unspeakable Horror of Discovering You Didn't Write Tests
38mTesting for the Terrified: How to Write Tests, Conquer Guilt, and Level Up
27mHow a Solo Hobbyist Learned to Love Testing
35mTurning test writing into a consistently brief and pleasant experience
28m"WHAT IS THIS MESS?" - Writing tests for pre-existing code bases
28mEgad! How Do We Start Writing Better Tests?
29mEgad! How Do We Start Writing (Better) Tests?
27mQuest for Adequate Autotest Coverage
