quality
Tests that are unrealistic, vacuous, brittle, flaky, or cover only the happy path.
- 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 copied a fixed component and took the fix out
- I Made a Dashboard Fit the Screen by Squeezing It. That Was the Wrong Fix.
- I tested our code against the prose of our spec, then built machinery to stop the spec from moving
- I Deleted the Reaper but Not the Test That Depended on It
- I made a broken fallback "louder" by adding a warning, and it was still silent
- I wrote 3,000 lines of tests for files CI already tests, and called it safety
- I wrote 1,100 lines of tests for Dockerfiles that CI was already testing, then wrote tests for those tests
- I wrote a reconciler that couldn't recognise its own work, for a feature nobody asked for
- My hotfix fixed one missing API field, and the page crashed on the next one
- I shipped a CI path filter that never filtered anything, and I closed the ticket without checking a single run
- My tests were the outage: a postmortem on how I write and run tests
- I let our programs advertise a protocol version they didn't implement
- I greyed out the other lines and forgot to bring the chosen one to the front
- I sized a table column for a sentence I made up
- I fixed the complaint and kept the bug