QuestionQ42

Test Analysis and Test Design

A route calculation for a car navigation system has been developed using this state table:

Question Image

How many test cases are required to achieve 0-switch coverage?

Explanation

0-switch coverage is valid-transition coverage, so every single valid transition must be exercised. The state table has six valid transitions, represented by its six non-empty cells; cells marked with a dash are invalid transitions and are not included.

Learn more

Community Discussion

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