Skip to content

Instantly share code, notes, and snippets.

@pjlsergeant
Created December 24, 2011 16:32
Show Gist options
  • Save pjlsergeant/1517726 to your computer and use it in GitHub Desktop.
Save pjlsergeant/1517726 to your computer and use it in GitHub Desktop.
Feature: Addition
In order to avoid silly mistakes # These are inline `comments` in the
As a math idiot # form of an Agile User Story. They're
I want to be able to add two numbers # printed out during test execution.
Scenario: Add two numbers # This is a test case
Given I have entered 50 in to the calculator # This is a test *step*
And I have entered 70 in to the calculator # So is this
When I press add # And this
Then the result 120 should be on the screen # And the final one
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment