Skip to content

Instantly share code, notes, and snippets.

@mariodavid
Last active August 29, 2015 14:13
Show Gist options
  • Save mariodavid/1bba3d28d78fae2a940a to your computer and use it in GitHub Desktop.
Save mariodavid/1bba3d28d78fae2a940a to your computer and use it in GitHub Desktop.
Customer Creation Scenario in Cucumber
Scenario: A valid customer with a delivery address will be created correctly
Given: I am logged in as 'Martin, the Sales Guy'
When: I create the Customer 'Peter' with valid customer information
And: I assign 'Peter' the delivery address 'P. Sherman 42 Wallaby Way, Sydney'
Then: the customer 'Peter' is created
And: 'Bob' has the delivery address 'P. Sherman 42 Wallaby Way, Sydney' assigned
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment