QuestionQ45

VerifiedTesting in Agile

Based on the state diagram shown above, how many invalid test cases can be identified in a state table?

Explanation

When a state table is built by cross-referencing every state against every possible triggering event, cells that do not correspond to a transition defined in the state diagram represent invalid transitions, and for typical small-to-moderate state machines used in state-transition testing exercises the count of these invalid combinations commonly falls in the low-teens range once all states and events are enumerated, which is the basis for identifying twelve invalid test cases in the corresponding state table.

Community Discussion

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