Answers

Question and Answer:

  Home  Project Coordinator

⟩ Write test cases for a vending machine?

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.

 157 views

More Questions for you: