CISA · Question #141
Which of the following tests is MOST likely to detect an error in one subroutine resulting from a recent change in another subroutine?
The correct answer is A. Regression testing. Regression testing is specifically designed to verify that recent changes to code have not introduced unintended side effects or broken previously working functionality in other parts of the system. It re-executes existing test cases after a change to detect these ripple…
Question
Which of the following tests is MOST likely to detect an error in one subroutine resulting from a recent change in another subroutine?
Options
- ARegression testing
- BUser acceptance testing (UAT)
- CStress testing
- DBlack-box testing
How the community answered
(41 responses)- A90% (37)
- B2% (1)
- C2% (1)
- D5% (2)
Explanation
Regression testing is specifically designed to verify that recent changes to code have not introduced unintended side effects or broken previously working functionality in other parts of the system. It re-executes existing test cases after a change to detect these ripple effects. User acceptance testing (B) validates business requirements with end users, not inter-module dependencies. Stress testing (C) evaluates system behavior under extreme load, not code-change impacts. Black-box testing (D) tests inputs and outputs without knowledge of internal code, making it less targeted for detecting cross-subroutine errors caused by specific changes.
Topics
Community Discussion
No community discussion yet for this question.