Created
November 1, 2010 06:32
-
-
Save iampersistent/657720 to your computer and use it in GitHub Desktop.
example gherkin user story for a blogger
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Feature: Blogger | |
| In order to communicate my thoughts | |
| As a blogger | |
| I want to enter material and publish it | |
| Scenario: Create a Blog Account | |
| Given I have an account | |
| When I submit my subdomain | |
| And I select a name | |
| Then I should own a blog account | |
| Scenario: Make a Text Blog Entry | |
| Given I have a blog account | |
| When I enter a title | |
| And I enter text | |
| And I submit publish | |
| Then I should have a blog entry | |
| And it should be available to readers | |
| Scenario: Publish an Entry at a Later Date | |
| Given I have a blog account | |
| When I enter a title | |
| And I enter text | |
| And I set a publishing date to '2010.11.03' | |
| And I save the entry | |
| Then I should have a blog entry | |
| And it should be available to readers on '2010.11.03' | |
| Scenario: Unpublish a Blog Entry | |
| Given I have a published blog entry | |
| When I unpublish an entry | |
| Then it should not be available to readers | |
| Scenario: Delete a Blog Entry | |
| Given I have a blog entry | |
| When I delete a blog entry | |
| Then it should not exist |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment