CS FundamentalsVery hardGATE CS · TCS NQT Prime · Product Company SDE
A regression test suite is re-run after a bug fix primarily to:
- A. Discover entirely new, never-before-seen bugs
- B. Confirm that the fix has not broken any previously working functionality
- C. Measure the performance of the fix under heavy load
- D. Replace the need for any new test cases going forward
Correct answer: B. Confirm that the fix has not broken any previously working functionality
Regression testing exists specifically to catch unintended side effects of a change on existing behaviour, not to find brand-new defects, which is the job of fresh, targeted test design.
Practise more Software Engineering, Git and Cloud Basics questionsSoftware Engineering, Git and Cloud Basics: notes and key points
More Software Engineering, Git and Cloud Basics questions
- A control-flow graph has 8 edges, 7 nodes and 1 connected component. Using V(G) = E − N + 2P, what is its cyclomatic complexity?
- Why is the waterfall model still sometimes chosen for certain regulated domains (e.g. some safety-critical or compliance-heavy systems)…
- A control-flow graph has 11 edges, 8 nodes and 1 connected component. Using V(G) = E − N + 2P, what is its cyclomatic complexity?
- A Scrum team completed 21, 21, 39, 20 story points in its last 4 sprints. The remaining backlog is 152 points. Using average velocity, how…
- A function has 2 independent input variables, each with its own valid range. Using robust BVA (standard BVA plus one invalid value just…
- A reporting class depends directly on a concrete EmailSender class to send alerts. A new requirement asks for alerts to optionally go via…