Executed features | Passed | Failures | Errors | Skipped | Success rate | Time |
---|---|---|---|---|---|---|
1 | 1 | 0 | 0 | 0 | 100.0% | 0.006 seconds |
The coffee machine send the "fill" command
As a coffee machine I want the control block to process the "fill" command So that I will able to replenish the necessary resources in the storage unit
should process the request for filling resources
Return
(0.001 seconds)
|
|||||||||
Given:
|
mock of display unit for the coffee machine
|
||||||||
And:
|
control unit with mock display and dummy storage
|
||||||||
And:
|
control unit is in the main menu state
|
||||||||
When:
|
coffee machine sends a request to control unit
|
||||||||
Then:
|
the display prompts you to enter the volume of water
|