Ticket Distributor Test Case
Test Case Name: | PurchaseTicket_FullRunThrough | |
Entry Condition: |
The Passenger standing in front of ticket distributor. The Passenger has three $1 bills and three quarters. |
|
Flow of events: |
|
|
Exit Condition: | The Passenger has one zone A tickect and one zone B ticket. | |
Discussion: |
We only needed one test case to cover all states of the Ticket Distrobutor system. Our test case differed from the one on page 361 in that we included testing for the interuption of a transaction and the returning of inserted money. The test case on page 361 did not provide a test for when a Passenger selects another zone before entering the sufficient amount of money. Steps 4 and 5 in our test case tests that when the Passenger cancels the current transaction by selecting another zone, the system returns the money already inserted and displays the amount due for the new zone. | |