Regression testing

Re-running tests after a change to software or its configuration to confirm that functions and security controls that worked before the change still work, and that fixed flaws have not returned.

Regression testing re-runs existing tests after software or its configuration changes, to confirm that what worked before still works. A regression is a defect a change introduces, often somewhere nobody meant to touch. NIST SP 800-53 Rev. 5 lists regression testing among the kinds of developer testing an organisation can require under SA-11, and NIST SP 800-218 (the Secure Software Development Framework) suggests adding tests for previously reported vulnerabilities to a project’s test suite so that those errors are not reintroduced.

The security angle is that controls can break silently. A patch, a library upgrade or a refactoring can disable an authorisation check or weaken input handling while visible features still behave normally, so security tests belong in the regression suite. Regression testing belongs to the testing step of change management and software configuration management: SP 800-53 asks that changes be tested before they are finalised, and that affected controls be checked after a change. Automation in a CI/CD pipeline lets the suite run on every build.

Exam relevance: a scenario in which a fix or update breaks something that previously worked, or reopens an old vulnerability, is likely to point to missing regression testing. Candidates are expected to link it to change management and to see that security controls, not only features, need retesting after each change.