Executed features | Passed | Failures | Errors | Skipped | Success rate | Time |
---|---|---|---|---|---|---|
1 | 1 | 0 | 0 | 0 | 100.0% | 0.116 seconds |
The coffee machine asks control unit for status of resources
As a coffee machine I want to check remaining resources in storage unit So that a technician know which resources need to be refilled
should return the volume of the remaining resources
Return
(0.104 seconds)
|
||||||||||||||||||||||
Given:
|
storage block for a coffee machine
|
|||||||||||||||||||||
And:
|
the storage is filled with a certain amount of resources
|
|||||||||||||||||||||
And:
|
a control unit manging the storage and having a fake display
|
|||||||||||||||||||||
And:
|
we switch to main menu mode and clear the display
|
|||||||||||||||||||||
When:
|
we request the current state on the resources of the coffee machine
|
|||||||||||||||||||||
Then:
|
we get on the display detailed information about the state of the resources
|
|||||||||||||||||||||
Where:
|
the volume of resources in the storage unit
|
|||||||||||||||||||||
And:
|
expected resource report
|
|||||||||||||||||||||
Examples:
|
|
2/2 passed
|