5.1.5 Test Case Prioritization Flashcards
(16 cards)
Once the test cases and test procedures are specified and assembled into test suites, these test suites can be “a…“ in a t… that defines the order in which they are to be “ “.
arranged
test execution schedule
run.
When prioritizing test cases, different “f…“ can be taken into “ “.
factors
account.
The most commonly used test case prioritization strategies are as follows:
- ri…
- c…
- re…
- risk-based prioritization
- coverage-based prioritization
- requirements-based prioritization
Risk-based prioritization
Where the order of test execution is based on the r…
results of risk analysis.
Risk-based prioritization
Test cases covering the most important risks are e…
executed first.
Coverage-based prioritization
Where the order of test execution is b… (e.g. s… ).
based on coverage
statement coverage
Coverage-based prioritization
Test cases achieving the highest coverage are e…
executed first.
Coverage-based prioritization
In another variant, called additional coverage prioritization, the test case achieving the highest c… ; each subsequent test case is the one that a…
coverage is executed first
achieved the highest additional coverage.
Requirements-based prioritization
Where the order of test execution is based on the priorities of the “ “ traced back to the c…
requirements
corresponding test cases.
Requirements-based prioritization
Requirement priorities are d…
defined by stakeholders.
Requirements-based prioritization
Test cases related to the most important requirements are e…
executed first.
Ideally, test cases would be ordered to run based on their priority levels, using for example, one of the a…
above-mentioned prioritization strategies.
However, this practice may not work if the test cases or the feature being tested have “ “.
dependencies.
If a test case with a higher priority is dependent on a test case with a lower priority, the l…
lower priority test case must be executed first.
The order of test execution must also take into account the av…
availability of resources.
Example: the required test tools, test environment or people that may only be “a…” for a s…
available
specific time window.