QuestionQ6

VerifiedTest Analysis and Test Design

Your regression test suite contains five test cases, TC1–TC5. They cover use-case scenarios UC1–UC10 as follows:

  • TC1 covers UC1, UC2, UC3, UC4, UC5, UC6, UC7, UC8
  • TC2 covers UC7, UC8
  • TC3 covers UC2, UC4, UC6, UC7
  • TC4 covers UC10
  • TC5 covers UC5, UC8, UC9

The system has three components: C1, C2, and C3.

  • C1 implements UC1, UC2, UC3, and UC4.
  • C2 implements UC5, UC6, and UC7.
  • C3 implements UC8, UC9, and UC10.

The latest project iteration refactored component C3. Your organization follows a scenario-coverage-based regression test-selection strategy.

Because of time constraints, only two regression tests can be run. Which TWO test cases should be executed?

Choose two
Explanation

C3 implements UC8, UC9, and UC10, so regression selection must cover those scenarios. TC5 covers UC8 and UC9, and TC4 covers UC10; together, they cover every scenario implemented by the refactored component.

Community Discussion

No comments yet. Be the first to start the discussion!