regression

A bug where something that used to work stops working, or works worse, after a change.

In more detail

Regressions usually come from small, plausible changes to code that other parts of the system rely on. A regression test is any test that would fail if the old, correct behaviour came back broken. Performance can regress too, and averages can hide a latency regression that percentiles reveal. Catching regressions the moment they are introduced is the main thing a test suite buys you.

Example

A visual regression is an unintended change in appearance, such as clipped text after a line-height tweak.

Related terms

Taught in

References

Certification courses