Report for lv.id.jc.machine.unit.ControlUnitStatusReportSpec


Summary:

Created on Tue Nov 15 13:34:41 UTC 2022 by runner
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
See:

Features:

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:
water milk beans cups money report
0 0 0 0 0 The coffee machine has: 0 ml of water 0 ml of milk 0 g of coffee beans 0 disposable cups $0 of money OK (0.104 seconds)
400 540 20 9 550 The coffee machine has: 400 ml of water 540 ml of milk 20 g of coffee beans 9 disposable cups $550 of money OK (0)
2/2 passed