Logo: Relish

  1. Sign in

Project: Coffeemachine2

Choosing the strength of a coffee

As a coffee drinker
I want to be able to decide on the strength of my coffee

Scenarios
Choosing different strengths for a cup of coffee
Given
coffee machine is switched on
When
water is added
And
coffee is added
And
cup is put in the machine
And
coffee strength is set to be "coffee strength setting"
And
make coffee button is pressed
Then
coffee should be put in cup
And
coffee tastes "expected coffee strength"
Examples:
coffee strength setting expected coffee strength
strong strong
medium medium
weak weak
Check the default stength for a cup of coffee is medium
Given
coffee machine is switched on
When
water is added
And
coffee is added
And
cup is put in the machine
And
make coffee button is pressed
Then
coffee should be put in cup
And
coffee tastes "medium"

Last published almost 5 years ago by edwardb.