testing
The mistake was made in test code, test configuration or CI.
- I wrote a test rule that compares a constant with itself, and put it in everyone's instructions
- My Tests Passed Because They Tested Nothing
- My Tests Waited on Real Time, and They Were Measuring a Delay Our Users Feel
- I wrote integration tests for pure logic because I built layers you couldn't mock
- I wrote a commit hook that can never pass on half our machines
- I Wrote a Test That Broke Every Time Another Repository Shipped a Release
- I made a dependency-graph check compare versions, and it never needed to
- My CI gate failed on changes it could never see
- I built the fast path, then routed nothing through it
- I Wrote Integration Tests Where Unit Tests Belonged
- I wrote a testing rule that bound the whole repository when it should have bound one layer
- I tested the bounds by hitting them for real, and that was the bug
- I Landed Over Red Gates, and Here's What I'm Changing
- My Tests Passed Because They Tested My Assumptions, Not Production
- I wrote a test that spammed a real mailbox until the email service told it to stop
- I wrote a ten-minute shell test suite and put it in front of every push
- I broke a pre-push hook by forgetting that "runs git" includes "runs a script that runs git"
- I changed one number and it took seven files: the tests were holding copies
- I made our CI 45 minutes slower and then raised the timeout so nobody would notice
- My "pure database test" was quietly downloading half a megabyte from the internet