# Regression test

> A regression test is an automated check that a feature or fix which worked before still works after the code changes, run every time the software is changed.

Source https://rareagentics.com/glossary/regression-test

## Why does it matter to a buyer?

It is what keeps a fixed weakness fixed. When a security finding is closed, a test written for that finding fails if a later change reopens it, which matters most when AI tools are rewriting large parts of the code.

## An example

For example, after fixing a rule that let one customer read the orders of another, a test signs in as one customer and confirms that the other customer’s orders are refused.

## Related terms

- [Retest](https://rareagentics.com/glossary/retest)
- [Hardening](https://rareagentics.com/glossary/hardening)
- [Acceptance criteria](https://rareagentics.com/glossary/acceptance-criteria)
- [Definition of done](https://rareagentics.com/glossary/definition-of-done)

---

Rare Agentics is a UK software and AI agent engineering firm based in London. Rare Agentics Limited, company number 17494524. Contact hello@rareagentics.com or https://rareagentics.com/contact. Book a call at https://rareagentics.com/book-a-call.
