A regression is a defect or loss of quality in software caused by a change; regression tests look for such defects in the parts that were not changed.
Regression testing starts from a change but looks for defects precisely where nothing was changed. The ISTQB glossary defines it as testing prompted by a change, which checks whether defects have been introduced or uncovered in unchanged areas of the software. An earlier edition of the glossary, version 3.2 from 2018, defined regression itself as a drop in quality caused by a change.
The BSI's IT-Grundschutz Compendium attaches particular importance to regression tests, because even a small change to a piece of software can affect entirely different properties and features. In an online shop, to take an example of our own, an update might affect the checkout or one of the shop's interfaces Interface An interface is the point at which two systems, programs or components meet and exchange data; the word also covers the user interface between a person and software. Read in the glossary → . The Compendium says regression tests should be run whenever software has been changed. They should also check whether security settings have been altered unintentionally.
Every change to the business applications Business application In general terms, a business application is software used to perform or support business functions. Read in the glossary → we develop for the pharma industry is checked by automated tests. After a Shopware 5 Shopware Shopware is e-commerce software from shopware AG in Schöppingen, Germany; the vendor says its current product, Shopware 6, is a complete redevelopment of Shopware 5. Read in the glossary → shop moves to a new PHP PHP PHP is a widely used, general-purpose, open-source scripting language that is especially suited to web development; the name is a recursive acronym for 'PHP: Hypertext Preprocessor'. version, we carry out a regression run. The shop goes through the same test sequence on the old and the new version, with the same database and the same code. Only the PHP version differs.
Where the term appears
See also
-
Patch
A patch is an update for software or operating systems that closes vulnerabilities and fixes bugs.
E-commerce
-
Software release
A software release is a published, deployable version of a piece of software, made available under a fixed version number for download and installation.
E-commerce
-
Sandbox
A sandbox is a self-contained test environment that imitates the live system; a payment service, for example, provides one with fictitious accounts.
E-commerce
-
PHPUnit
PHPUnit is an open-source testing framework for PHP that developers use to write automated tests comparing actual results with expected ones.
Cross-cutting
Sources
-
ISTQB Glossary: Regressionstest (Version 3) (opens in a new tab)
ISTQB (International Software Testing Qualifications Board), deutsche Fassung des German Testing Board accessed
-
IT-Grundschutz-Kompendium Edition 2023, Baustein OPS.1.1.6 Software-Tests und -Freigaben (opens in a new tab)
Bundesamt für Sicherheit in der Informationstechnik (BSI) accessed