Security Architecture

A patch fixes a reported flaw in an application's export module. Which test BEST confirms the patch did not break unrelated login and reporting features that worked before?

Show the answer

Correct answerC. Regression testing

AWhy not this: Canary testing monitors a release on a slice of live traffic; it is not a suite of tests on prior behavior.

BWhy not this: A unit test checks the patched function in isolation and would not exercise login or reporting.

CWhy this is right: it reruns tests on previously working features to detect side effects of the change.

DWhy not this: Retesting the defect confirms the specific fix works but does not check unrelated login and reporting features.

Regression testing reruns tests on existing functionality to confirm a change has not broken behavior that previously worked. Retesting the defect only verifies the fix itself, not unrelated features.