5.1.5 Test Case Prioritization Flashcards

1
Q

Once the test cases and test procedures are specified and assembled into test suits, these test suits … that defines the order …

A

can be arranged in a test execution schedule

in which they are to be run.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

When prioritizing test cases, different …

A

factors can be taken into account.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

The most commonly used test case prioritization strategies are as follows:
- ri…
- c…
- re…

A
  • risk-based prioritization
  • coverage-based prioritization
  • requirements-based prioritization
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Risk-based prioritization

Where the order of test execution is based on the …

A

results of risk analysis.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Risk-based prioritization

Test cases covering the most important risks …

A

are executed first.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Coverage-based prioritization

Where the order of test execution is …

A

based on coverage (e.g. statement coverage).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Coverage-based prioritization

Test cases achieving the highest coverage are …

A

executed first.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Coverage-based prioritization

In another variant, called additional coverage prioritization, the test case achieving the highest … each subsequent test case is the one that …

A

coverage is executed first;

achieved the highest additional coverage.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Requirements-based prioritization

Where the order of test execution is based on the priorities of the …

A

requirements traced back to the corresponding test cases.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Requirements-based prioritization

Requirements priorities are …

A

defined by stakeholders.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Requirements-based prioritization

Test cases related to the most important requirements…

A

are executed first.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Ideally, test cases would be ordered to run based on their priority levels, using …

A

for example, one of the above-mentioned prioritization strategies.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

However, this practice may not work if the test cases or the feature being tested …

A

have dependencies.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

If a test case with a higher priority is dependent on a test case with a lower priority, the …

A

lower priority test case must be executed first.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

The order of test execution must also take into account the …

A

availability of resources.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Example: the required test tools, test environment or people that may only be …

A

available for a specific time window.