QuestionQ46

Test Analysis and Test Design

Using the state diagram based on the “Route Calculation,” how many test cases are required to achieve 1-switch coverage?

Question Image

Explanation

One-switch coverage requires coverage of each feasible pair of consecutive state transitions. There are 3 transition pairs through Displaying, 6 through Calculating, and 2 through Error, giving 11 required test cases.

Community Discussion

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