We deleted 40% of our regression suite. Here's what happened

We ran hundreds of regression tests and still shipped a checkout bug. What were they all doing?
Honestly, many were checking things that hadn’t broken in years.

So we tried something:

  1. Flagged tests that hadn’t caught a real bug in 18 months.
  2. Mapped coverage to the 5 areas where failure would hurt customers most, not to the requirement tree. We found gaps we didn’t know about.
  3. Merged, rewrote, or archived. We archived rather than deleted, in case we were wrong.

Results: Regression time went from 3-4 days to just under 2, and escaped defects dropped significantly. The bigger win was that the team started trusting failures again: red meant something.

Lesson: Involve devs earlier. Several retired tests turned out to be the only coverage on a legacy integration. The archive saved us.
**
How do you decide whether a test has earned its place in regression? Or is a big safety net worth the cost?**

1 Like

Really useful write-up, especially the part about archiving instead of deleting. That legacy integration story is exactly why I’d never hard-delete a test on “hasn’t failed in 18 months” alone.

On a smaller video platform I work on, the rule we ended up with is roughly: a test earns its place in regression if it covers something a user would notice within minutes (upload, playback, login, payments), or if it guards an integration nobody touches often. Tests that only re-check stable internal logic get moved to a nightly or weekly run instead of the per-release suite. They still run, they just don’t block a release.

The other thing that helped was tagging each test with the area and the last time it caught something, so the review becomes a quick sort instead of a debate. Curious whether you kept the archived tests runnable anywhere, or fully parked them?