Skip to content

Instantly share code, notes, and snippets.

@gasparnagy
Last active February 20, 2017 06:55
Show Gist options
  • Save gasparnagy/e624ea719dbe037616f019cd070003dd to your computer and use it in GitHub Desktop.
Save gasparnagy/e624ea719dbe037616f019cd070003dd to your computer and use it in GitHub Desktop.
Feature: Addition
Scenario Outline: Add two numbers
Given I have entered <a> into the calculator
And I have entered <b> into the calculator
When I press add
Then the result should be <result> on the screen
Examples:
| case | a | b | result |
| classic | 50 | 70 | 120 |
| commutativity | 70 | 50 | 120 |
| zero | 0 | 42 | 42 |
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment