CLO-002 practice question 9 of 30

A company wants to ensure its existing functionalities are not compromised by the addition of a new functionality. Which of the following is the BEST testing technique?

Full set: 218 questions
Answer options
A: Regression Correct answer
B: Stress
C: Load
D: Quality
Correct Answer:
A. Regression
Explanation

Regression testing is a type of software testing executed to verify that a recent code change or new functionality has not adversely affected existing features. Its primary goal is to uncover "regressions," which are bugs that cause a previously working feature to fail. By re-running a subset of tests that cover the core existing functionalities after a new feature is integrated, the company can ensure that the system's stability and core operations remain uncompromised. This directly addresses the scenario described in the question.

Why Incorrect

B. Stress: Stress testing evaluates a system's behavior when pushed beyond its normal operational capacity, focusing on robustness and error handling under extreme conditions, not on functional correctness after a change.
C. Load: Load testing measures a system's performance under anticipated, realistic user loads. It assesses response times and stability, but does not specifically verify that existing functionalities are unbroken by new code.
D. Quality: Quality testing is a broad, overarching term for the entire process of ensuring a product meets specified requirements (Quality Assurance). Regression testing is a specific technique within this broader discipline.

References

1. Microsoft Azure Documentation. "Test types." In the context of DevOps and software development lifecycles, Microsoft defines regression tests as those that "help you catch defects in existing functionality when you make changes." This aligns with the need to ensure existing functionalities are not compromised.

Source: Microsoft, Azure DevOps Documentation, "Get started with test plans," Section: "Test types."

2. Yoo, S., & Harman, M. (2012). "Regression testing is the process of retesting a modified program to check that the changes have not introduced new faults (so-called regression faults) into previously-tested code."

Source: Yoo, S., & Harman, M. (2012). Regression testing minimization, selection and prioritization: a survey. Software Testing, Verification and Reliability, 22(2), 67-120. Section 2: "Background," Paragraph 1. DOI: https://doi.org/10.1002/stvr.430

3. MIT OpenCourseWare. In a lecture on testing, regression testing is described as the process of running old tests to ensure that "what used to work still works" after making changes to the software. This is precisely the goal stated in the question.

Source: MIT OpenCourseWare, 6.170 Software Studio, Spring 2013. Lecture 20: "Testing," Slide 22: "Regression testing."

Scroll to Top