QuestionQ25

VerifiedChapter 4: Test Analysis and Design

Consider the following table containing test-case information from the test management system:

Question Image

Where:

  • REQ means REQuirement.
  • TC means Test Case.
  • TC 60 depends on REQ 1.
  • TC 80 depends on REQ 2.
  • A test case inherits the priority of its requirement.
  • Priorities range from 1 to 5.
  • Priority 5 is the highest.

Which ONE of the following options orders the test cases according to the statement-coverage strategy while accounting for practical constraints?

Explanation

Coverage-based prioritization executes the tests providing the greatest statement coverage as early as possible, but dependencies take precedence. TC 60 (7%) requires the REQ 1 tests to run first, in coverage order TC 10, TC 30, and TC 20. TC 80 (6%) requires the REQ 2 test TC 40 (5%) first. The remaining tests can then be ordered by descending statement coverage: TC 90, TC 50, and TC 70. ISTQB specifies that coverage-based prioritization is based on coverage and that dependencies can require lower-priority prerequisite tests to be executed first.

Learn more

Community Discussion

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