Refer to the exhibit

Refer to the exhibit

Given the following State Transition diagram, match the test cases below with the relevant set of state transitions.

(i) X-Z-V-W

(ii) W-Y-U-U
A . (i) = S1 C S2 C S3 C S4 C S2 and (ii) = S4 C S2 C S4 C S4 C S4
B . (i) = S1 C S2 C S3 C S4 C S4 and (ii) = S2 CS4 C S4 C S4 C S2
C . (i) = S2 C S3 C S4 C S2 C S2 and (ii) = S4 C S2 C S4 C S4 C S4
D . (i) = S2 C S3 C S4 – S4 C S2 and (ii) = S2 CS3 C S4 CS4 C S4

Answer: A

Explanation:

State transition testing is a technique that uses state transition diagrams as a test basis to derive test cases2. A state transition diagram shows the states of a system and the transitions between them triggered by events or conditions2. A test case can cover one or more state transitions, depending on the test objective and coverage criterion2.

In this question, the test cases (i) and (ii) cover different sets of state transitions, as shown below:

Test Case      State Transitions

(i) X-Z-V-W     S1 C S2 C S3 C S4 C S2

(ii) W-Y-U-U    S4 C S2 C S4 C S4 C S4

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments