You are applying state transition testing to the hotel room reservation system modeled by the following state transition table, with 4 states and 5 different events: Events State Available NotAvailable ChangeRoom Cancel Pay S1: Requesting S2 S3 S2: Confirmed S1 S4 S4 S3: Waiting list S2 S4 S4: End Assuming all test cases start in the ‘Requesting’ state, which of the following test cases, represented as sequences of events, achieves the highest valid transitions coverage?

Events
StateAvailableNotAvailableChangeRoomCancelPay
S1: RequestingS2S3
S2: ConfirmedS1S4S4
S3: Waiting listS2S4
S4: End

Antwortmöglichkeiten

A.NotAvailable, Available, ChangeRoom, NotAvailable, Cancel
B.Available, ChangeRoom, NotAvailable, Available, Pay
C.Available, ChangeRoom, Available, ChangeRoom, NotAvailable
D.NotAvailable, Cancel, ChangeRoom, Available, Pay

Richtige Antwort

B: Available, ChangeRoom, NotAvailable, Available, Pay

Weitere Fragen aus dieser Prüfung