Skip to content

Instantly share code, notes, and snippets.

@iampersistent
Created November 1, 2010 06:41
Show Gist options
  • Select an option

  • Save iampersistent/657729 to your computer and use it in GitHub Desktop.

Select an option

Save iampersistent/657729 to your computer and use it in GitHub Desktop.
example gherkin user story for a blog reader
Feature: Blog Reader
In order to learn what another person is thinking
As a blog reader
I want to find and read blog entries
Scenario: Find Text Blog Entry
Given I am on a bloggers page
Then I should see a list of blog entries titles
And I should see the first 100 characters of each entry's content
And I should have a link to each entry
Scenario: Read Blog Entry
Given I have selected a blog entry
Then I should see the entry title
And I should see the entry date
And I should see the entry content
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment