Question:
Testcase Creation (Example: Vending Machine)
Derive test cases from the following informal specifications for a simple vending machine:
Program CoinBox accepts quarters and distributes coffee.
Users may:
- insert a quarter
- ask for a cup of coffee
- ask for quarters to be returned
Coffee costs 2 quarters.
The test cases should cover each transition of the finite state machine at least once.