Executed features | Passed | Failures | Errors | Skipped | Success rate | Time |
---|---|---|---|---|---|---|
1 | 1 | 0 | 0 | 0 | 100.0% | 0.198 seconds |
The technician replenish resources in the coffee machine
As a technician I want to replenish the necessary resources in the coffee machine So that the coffee machine can prepare the necessary coffee drinks
should replenish the coffee machine storage unit
Return
(0.071 seconds)
|
|||||||||||||||||||||||||
Given:
|
the coffee machine terminal is mock
|
||||||||||||||||||||||||
And:
|
the coffee machine, control and storage units are subjects under specification
|
||||||||||||||||||||||||
Expect:
|
immediately after creating the coffee machine does not work
|
||||||||||||||||||||||||
When:
|
we turn on the coffee machine
|
||||||||||||||||||||||||
Then:
|
the coffee machine goes into working condition
|
||||||||||||||||||||||||
And:
|
the main menu prompt appears on the display
|
||||||||||||||||||||||||
When:
|
the coffee machine processes the very first request
|
||||||||||||||||||||||||
Then:
|
a message appears on the display asking you to enter the volume of water
|
||||||||||||||||||||||||
When:
|
the coffee machine processes the entered amount of water
|
||||||||||||||||||||||||
Then:
|
a message appears on the display asking you to enter the volume of milk
|
||||||||||||||||||||||||
When:
|
the coffee machine processes the entered amount of milk
|
||||||||||||||||||||||||
Then:
|
a message appears on the display asking you to enter the number of coffee beans
|
||||||||||||||||||||||||
When:
|
the coffee machine processes the entered amount of coffee beans
|
||||||||||||||||||||||||
Then:
|
a message appears on the display asking you to enter the number of disposable cups
|
||||||||||||||||||||||||
When:
|
the coffee machine processes the entered number of disposable cups
|
||||||||||||||||||||||||
Then:
|
storage container replenished with the specified amount of resources
|
||||||||||||||||||||||||
And:
|
the main menu prompt reappears on the coffee machine display
|
||||||||||||||||||||||||
Where:
|
the volume of resources to replenish in coffee machine
|
||||||||||||||||||||||||
And:
|
command to start the process of replenishing the resources of the coffee machine
|
||||||||||||||||||||||||
Examples:
|
|
3/3 passed
|