Skip to content

Instantly share code, notes, and snippets.

@steelcm
Created April 26, 2012 12:55
Show Gist options
  • Save steelcm/2499367 to your computer and use it in GitHub Desktop.
Save steelcm/2499367 to your computer and use it in GitHub Desktop.
example cucumber feature file
Feature: Division
In order to avoid silly mistakes
Cashiers must be able to calculate a fraction
Scenario: Divide two regular numbers
Given I have entered 3 into the calculator
And I press divide
And I have entered 2 into the calculator
When I press equals
Then the result should be 1.5 on the screen
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment