The document describes the results of various tests of an order and canceling function. It includes 3 tests of the orderandcanceling function where it passes the first and third tests but fails the second. It also describes other tests of main order picking, side ordering, and drink ordering functions where inputs are validated and expected outputs are returned.
The document describes the results of various tests of an order and canceling function. It includes 3 tests of the orderandcanceling function where it passes the first and third tests but fails the second. It also describes other tests of main order picking, side ordering, and drink ordering functions where inputs are validated and expected outputs are returned.
The document describes the results of various tests of an order and canceling function. It includes 3 tests of the orderandcanceling function where it passes the first and third tests but fails the second. It also describes other tests of main order picking, side ordering, and drink ordering functions where inputs are validated and expected outputs are returned.
Function Test# Test Sample Input Expected Actual Result Pass/Fail
Name Description Result
orderandcancelli 1 Select yes when yesno = ‘y’ Order 1: Order 1: Pass
ng asked if order is yesno = ‘Y’ Order 2: Order 2: correct yesno = ‘y’ Order 3: Order 3:
2 Select yes at yesno = ‘y’ Order 1: Order 1: Fail
first then cancel yesno = ‘n’ Order 2: Order 2: and continue yesno = ‘y’ Order 1: Order 3: saying yes yesno = ‘y’ Order 2: yesno = ‘y’ Order 3:
3 Select no at first yesno = ‘n’ Order 1: Order 1: Pass
then yes then no yesno = ‘y’ Order 1: Order 1: and continue yesno = ‘n’ Order 2: Order 2: saying yes yesno = ‘y’ Order 1: Order 1: yesno = ‘y’ Order 2: Order 2: yesno = ‘y’ Order 3: Order 3:
mainorderpick1 1 An input greater 5 Invalid Invalid Pass
than 4
2 Input equal to 0 0 None None Pass
3 Input less than 5 3 Fish Fish Pass
and greater than 0
sideorder1 1 An input greater 7 Invalid Invalid Pass
than 4 2 Input equal to 0 0 None None Pass
3 Input less than 5 4 Steamed Steamed Pass
and greater than Vegetables Vegetables 0
drinkorder1 1 An input greater 20 Invalid Invalid Pass