Report for lv.id.jc.machine.CoffeeMachineShutdownSpec


Summary:

Created on Tue Nov 15 13:34:41 UTC 2022 by runner
Executed features Passed Failures Errors Skipped Success rate Time
2 2 0 0 0 100.0% 0.638 seconds
The technician shutdown the coffee machine
As a technician
I want to execute the "exit" command from the main menu 
So that I will be able to shut down the coffee machine
See:

Features:

should shut down the coffee machine Return
(0.071 seconds)
Given:
the control unit with fake display and dummy storage unit
And:
the coffee machine with stub input
And:
the coffee machine has power on
Expect:
the coffee machine is operate
And:
the display shows the main menu
When:
the technician enters the command to turn off the machine
And:
the coffee machine processes this command
Then:
the coffee machine turns off and no longer functions
Where:
shutdown command
Examples:
command
EXIT OK (0.071 seconds)
1/1 passed
should ignore "#request" when in off state Return
(0.542 seconds)
Given:
control unit spy with dummy display and storage
Expect:
immediately after creation, the control device is turned off
When:
we are trying to send some request to the control unit
Then:
this request comes to the device
And:
no action is taking place
Where:
----
Examples:
request
buy OK (0.542 seconds)
exit OK (0)
take OK (0)
remaining OK (0)
4576 OK (0)
5/5 passed