ISTQB-CTFL · Question #86
Which of the following coverage criteria results in the highest coverage for state transition based test cases?
The correct answer is B. Covering all transitions at least once. Covering all transitions at least once is the highest coverage criterion for state transition based test cases, because it ensures that every possible change of state is tested at least once. This means that all the events that trigger the transitions, as well as the actions…
Question
Which of the following coverage criteria results in the highest coverage for state transition based test cases?
Options
- ACan't be determined
- BCovering all transitions at least once
- CCovering only start and end states
- DCovering all states at least once
How the community answered
(28 responses)- A14% (4)
- B75% (21)
- C4% (1)
- D7% (2)
Explanation
Covering all transitions at least once is the highest coverage criterion for state transition based test cases, because it ensures that every possible change of state is tested at least once. This means that all the events that trigger the transitions, as well as the actions and outputs that result from the transitions, are verified. Covering all transitions at least once also implies covering all states at least once, but not vice versa.
Topics
Community Discussion
No community discussion yet for this question.