IT Glossary
What are regression tests?
Regression tests re-check, after a change, that the features which worked before still work now.
- 7
- sections
- 7
- questions answered
“A type of change-related testing to detect whether defects have been introduced or uncovered in unchanged areas of the software” is how ISTQB defines regression testing: the tests run after a change to find out whether something that was not touched has stopped working. They do not check the newly built feature, and they are not the retest of a fixed defect (confirmation testing). Example: a change to how a basket discount is calculated can silently break the payment total or the shipping cost. The term has nothing to do with regression in statistics (regression analysis). The ISTQB Foundation Level syllabus v4.0.1 (15 September 2024, section 2.2.3) calls regression tests “a strong candidate for automation”, because they run many times and the suite grows with every release.
For a business, regression tests defend exactly what earns money today: login, basket, payment, reports. The question to put to any software supplier is direct: what do you run before every release to make sure you have not broken what works? A serious answer describes a suite executed automatically on every change, with results anyone can look at, rather than a promise to have a quick look first. The suite also grows with the product, because every bug fixed properly leaves behind a test that stops it returning, and that accumulation makes changes to an old application safer in its third year than in its first.
Why it matters for your business
The features that earn money stay protected
Critical flows such as ordering, payment and login are re-verified at every change, so an adjustment to a report can no longer silently break the checkout.
Confidence to modernise
With a regression suite that runs on every change, a team can restructure and upgrade without fear; applications without one freeze technologically because nobody dares touch anything.
Defects caught where they are cheap
A regression found before release costs one correction; the same one found by customers costs lost sales, support hours and trust that is slow to rebuild.
What regression tests check
According to the ISTQB syllabus (section 2.2.3), a change can have adverse consequences in the same component, in other components or in other connected systems. The cause can also be the environment: an update to the browser, a library or the server changes how the application behaves without a line of code being touched.
Retesting confirms that the reported defect no longer occurs. Regression confirms that nothing else broke, including after a fix that has already been retested. After a correction you do both, and the retest comes first.
Regression is a purpose, not a test level: the suite mixes unit, integration and end-to-end tests (see the glossary terms unit tests and test automation). User acceptance testing (UAT) pursues something else: whether the product solves the users’ need.
When to run regression tests
Run them after a new feature, after a defect fix (after the retest), after a code restructuring, after an update to libraries, operating system or server, and after a change of configuration or business rule. Example: when the standard VAT rate went from 19% to 21% on 1 August 2025 (Law 141/2025), every application that computes prices, invoices or reports had to be rechecked, not only the line that holds the rate.
Run them also before every release and for urgent fixes (hot fixes), which ISTQB calls maintenance testing. With continuous integration, good practice is for automated regression tests to run on every change pushed to the shared code. How far the run goes is set by an impact analysis.
Want an estimate for your project?
Message us on WhatsApp. We reply the same working day, and the first 30-minute call is free.
How much to retest: full, selective, prioritised
A full run (retest all) executes the whole suite: the safest and the slowest option. A selective run picks only the tests covering what the impact analysis showed could be affected. Prioritisation puts critical flows and historically fragile areas first, so the most important answer arrives first.
The practical rule: business-critical flows (order, payment, login) run on every change, whatever the change.
Manual and automated regression tests
The ISTQB syllabus (sections 2.2.3 and 6.2) calls regression a strong candidate for automation: the tests repeat many times, the suite grows with every release, and automation saves manual work and gives faster feedback. For browser flows teams usually use Playwright, Selenium or Cypress.
What stays manual is judgement about visual appearance, exploratory checks around the change, and one-off checks. Automation has real costs, which ISTQB lists as risks: scripts must be maintained when the application changes, and the tool may be used where manual testing would fit better.
What to ask your software supplier
Ask about five things: what runs before every release, automatically or by hand; whether you can see the results (a report per release or the continuous-integration history); which flows are covered; what happens to the suite when a defect is fixed (the good answer: a test is added); and who maintains the suite after handover.
If the answer stays “we test before delivery” with no results to show, you have no evidence that what worked yesterday works today.
Frequently asked questions
Are regression tests run manually or automatically?
With frequent releases, only automation is realistic: the suite runs at any hour with no hours of manual work per release. What stays manual is the small set of checks that resist automation, typically those depending on visual perception and on judgement about how something feels.
How long does it take to build a regression suite for an existing application?
Pragmatically, start with the ten to twenty flows that would hurt most if they failed — a few weeks of work — then extend gradually. Aiming for complete coverage in one push is a trap: it costs months, delays exactly the protection you need now, and usually stalls before the valuable flows are covered.
How do regression tests differ from unit tests?
They sit on different planes. Unit tests verify small pieces of code in isolation, whereas regression is a purpose — confirming that previous behaviour survived a change — achieved through a selection of tests of every kind, from unit level up to complete journeys driven through a browser.
What is the difference between retesting and regression testing?
Retesting (confirmation testing in ISTQB terms) checks that the fixed defect no longer causes the failure. Regression testing checks that the change did not break anything else. After a fix you do both, and the retest comes first.
What is a regression in software?
A regression is a function that worked and stops working, or becomes slower, after a change to the code or to the environment it runs in. It is exactly the type of defect that regression tests exist to catch before release.
When is regression testing done?
After a new feature, a fix, a code restructuring, a library or server update, and a change of configuration or business rule, then before release. With continuous integration, the suite runs automatically on every change pushed to the shared code.
Is regression testing related to regression analysis in statistics?
No. The word is the same, the field is not: in statistics, regression models the relationship between variables, whereas in software, regression testing means re-running tests after a change to confirm that what worked before still works.
Let’s talk about your project
Book a free 30-minute call or send us an email. We reply the same working day.
office@northdan.com · +40 750 252 851