5.1.5 Test Case Prioritization Flashcards
Once the test cases and test procedures are specified and assembled into test suits, these test suits … that defines the order …
can be arranged in a test execution schedule
in which they are to be run.
When prioritizing test cases, different …
factors can be taken into 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 …
results of risk analysis.
Risk-based prioritization
Test cases covering the most important risks …
are executed first.
Coverage-based prioritization
Where the order of test execution is …
based on coverage (e.g. statement coverage).
Coverage-based prioritization
Test cases achieving the highest coverage are …
executed first.
Coverage-based prioritization
In another variant, called additional coverage prioritization, the test case achieving the highest … each subsequent test case is the one that …
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 …
requirements traced back to the corresponding test cases.
Requirements-based prioritization
Requirements priorities are …
defined by stakeholders.
Requirements-based prioritization
Test cases related to the most important requirements…
are executed first.
Ideally, test cases would be ordered to run based on their priority levels, using …
for example, one of the 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 …
lower priority test case must be executed first.
The order of test execution must also take into account the …
availability of resources.