Web apps & software

What is regression testing?

Regression testing is the practice of re-running tests on existing functionality after a code change to make sure the change did not break something that previously worked.

Why regressions happen

Software parts are connected in ways nobody remembers. A developer adjusts how phone numbers are formatted for a new country, and SMS notifications to existing customers start failing. The new feature works; an old one does not.

Building a regression suite

Every bug that reaches users should produce a test that fails before the fix and passes after, so that bug cannot return unnoticed. Over time this collection protects the product's history. Add the key business flows and run everything automatically on each pull request and before each release.

Manual checks still matter

Visual layout, device quirks and unusual combinations are hard to automate. A short, written checklist for a human to follow on release day catches many of them.

Keeping it fast

Run a quick subset on every commit and the full suite nightly. Delete tests for removed features, and fix or remove ones that fail randomly, since people stop trusting them.

Questions, answered

Both. Automation covers repeat checks cheaply; humans cover look and feel.

After refactoring, library upgrades and changes to shared code used by many features.

By the Stegnor team · Updated