Skip to content

Instantly share code, notes, and snippets.

@paulrayner
Last active February 10, 2016 18:33
Show Gist options
  • Select an option

  • Save paulrayner/a9bacf07df8883d5f511 to your computer and use it in GitHub Desktop.

Select an option

Save paulrayner/a9bacf07df8883d5f511 to your computer and use it in GitHub Desktop.
Sample Feature
Scenario Outline: Score calculation tables
Given a new bowling game
When I roll the following series: <rolls>
Then my total score should be <total score>
Examples:
| game | rolls | total score |
| beginners game | 2,7,3,4,1,1,5,1,1,1,1,1,1,1,1,1,1,1,5,1 | 40 |
| one single spare | 2,8,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1 | 29 |
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment