Skip to content

Instantly share code, notes, and snippets.

@tooky
Created September 30, 2013 12:43
Show Gist options
  • Select an option

  • Save tooky/6763261 to your computer and use it in GitHub Desktop.

Select an option

Save tooky/6763261 to your computer and use it in GitHub Desktop.
Feature: Summing numbers
In order to understand the gherkin syntax
As someone new to cucumber
I want a simple example
Scenario: Summing two positive numbers
Given the first number is 1
And the second number is 2
When I sum the numbers
Then the answer is 3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment