Project Planning Question:
Write the test cases for a vending machine?
Answer:
Assume tha tvending machine can provide tea, coffee and
milk, without taking any money or coin.
Firast we have to create finite state diagram for the test
case solution.
initial state ---->> coffee ------>> tea--------->> milk
this is the one test case where user can first ask for
coffee from initial state and then ask for tea and milk.
Now we have to take all the +ve test cases where user can
move from one state to another state.
milk, without taking any money or coin.
Firast we have to create finite state diagram for the test
case solution.
initial state ---->> coffee ------>> tea--------->> milk
this is the one test case where user can first ask for
coffee from initial state and then ask for tea and milk.
Now we have to take all the +ve test cases where user can
move from one state to another state.