Regression Testing: Re-testing existing features after a change to make sure nothing that used to work is now broken.
Example
A developer changes the tax calculation for one state. Regression tests then check checkout, invoices, refunds, and reports for all states, and catch that refunds now use the wrong tax rate.
When to Run Regression Tests
- After bug fixes.
- After new features are added.
- After library, framework, or database upgrades.
- Before every release.
Regression Testing vs Retesting
| Retesting | Regression testing | |
|---|---|---|
| Checks | That a specific bug is now fixed | That other features still work |
| Scope | The failed test case | A wider set of existing tests |
| Example | Coupon bug fixed? Re-run that case | Re-run checkout, cart, and payment suites |
Making Regression Testing Practical
Full regression suites grow large, so teams automate them and run them in CI. When time is short, they run a risk-based subset focused on areas near the change. Every fixed bug should add a test to the suite so it can't silently return.
Related terms
- Automation Testing: how most regression suites run.
- Smoke Testing: a quick check before regression.
- Software Testing: the broader discipline.
- Bug: fixed bugs become regression tests.
Previous term: README | Next term: Remote Work
Related guides
- Software Development vs Testing
- Technical Interview Questions for Freshers
- DevOps Interview Questions Test
Frequently asked questions
What is regression testing?
Regression testing re-checks existing features after a change to make sure nothing that worked before is now broken.
What is the difference between regression testing and retesting?
Retesting checks that a specific bug is fixed. Regression testing checks that other features still work.
Should regression testing be automated?
Mostly yes, because the same tests run often. Some manual checks still help for complex flows.
When should regression testing be done?
After any significant change, such as bug fixes, new features, or upgrades, and before releases.
Explore more internship terms
The IT Internship Glossary explains 199 terms you will hear before and during your internship, with simple definitions and real examples.
Browse all 199 terms