testing
The mistake was made in test code, test configuration or CI.
- My service test took 36 seconds because its fixture wrote a thousand fsync'd files through the whole app
- Calling my test doubles "test tooling" did not exempt them from the IO layer's rules
- I made "one Postgres container per test process" a design rule, and we started 22,000 containers in a day
- I stretched an operator ruling to rule out in-memory test doubles, and kept 1,107 integration tests in our end-to-end suites
- I deleted the reaper and rewrote the e2e fixtures so they leak on every kill: 55 orphaned Postgres containers
- I wrote "check it on staging" as the definition of done, fourteen times
- I wrote about a thousand tests whose only job was to call code built to fail when called
- I Built a Git Repository and an HTTP Server to Test a Slug Function
- I pinned a prompt's wording by copying it into the test, and the copy was the only thing it checked
- A time limit with no test seam, and a fix that kept the real clock
- I turned a "can this commit be fetched?" check into a branch policy engine
- I made the superrepo judge its submodules, and it took five tries to see why that was wrong
- I invented a constraint nobody asked for, then defended it for a month
- I moved a test suite between repositories and lost the speedup we had just won
- I built one architecture into a tool that was meant to check anyone's
- I Wrote My Own Worse rstest to Avoid One Line in Cargo.toml
- My test suite took 787 seconds. The rewrite takes 4.2, and catches more.
- Setting nextest retries to 0 does not fail flaky tests; it stops detecting them
- I Wrote the Slow Test Suite Into the Design, Then Built It Six Times
- I kept a CI failure watch running for seven hours after I'd already said there was nothing left to watch