Skip to content

Instantly share code, notes, and snippets.

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