Executed features | Passed | Failures | Errors | Skipped | Success rate | Time |
---|---|---|---|---|---|---|
1 | 1 | 0 | 0 | 0 | 100.0% | 0.081 seconds |
The developer creates a coffee machine
As a developer I want to have a fabric method to create a coffee machine So that I can use the pre-configured coffee machine in the program
should create a coffee machine with initial resources
Return
(0.047 seconds)
|
|||||||||
Given:
|
standard computer output changed to stub
|
||||||||
When:
|
we create a coffee machine using the factory method
|
||||||||
Then:
|
we get the coffee machine turned off
|
||||||||
When:
|
we turn on the coffee machine
|
||||||||
Then:
|
we get a working coffee machine
|
||||||||
And:
|
main menu prompt printed to stdout
|
||||||||
Cleanup:
|
we reset standard output to its initial state
|