Skip to content

Instantly share code, notes, and snippets.

@MarceloCajueiro
Created December 29, 2010 19:25
Show Gist options
  • Save MarceloCajueiro/758928 to your computer and use it in GitHub Desktop.
Save MarceloCajueiro/758928 to your computer and use it in GitHub Desktop.
Feature: Simple math
In order to avoid silly mistakes
As a math idiot
I want to be told the result of simple math operations
Scenario: adition
Given I have entered 50 into the calculator
And I have entered 70 into the calculator
When I press add
Then I should see 120 on the screen
Scenario: subtraction
Given I have entered 60 into the calculator
And I have entered 30 into the calculator
When I press sub
Then I should see 30 on the screen
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment