33 / 57 · 26 Testing Like a Senior · Testability and Test Curation← prev⊞ allnext →☰ Read as one page
8.4Key Takeaways
- Testability is a design requirement, not an afterthought — advocate for dependency injection, observability, and determinism during architecture reviews
- Tests have costs (maintenance, speed, cognitive load) and value (bugs caught, confidence) — curate accordingly
- Delete tautological tests, duplicate coverage, implementation-detail tests, and permanently skipped tests
- Regular test curation is higher-leverage than writing new tests in a mature suite
- If a test has not caught a real bug in months and costs time to maintain, it is not providing value