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
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:
|
|
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:
|
|
5/5 passed
|