Prezi

Present Remotely

Send the link below via email or IM

Copy

Present to your audience

Start remote presentation

  • Invited audience members will follow you as you navigate and present
  • People invited to a presentation do not need a Prezi account
  • This link expires 10 minutes after you close the presentation
  • A maximum of 30 users can follow your presentation
  • Learn more about this feature in the manual

Do you really want to delete this prezi?

Neither you, nor the coeditors you shared it with will be able to recover it again.

DeleteCancel

Make your likes visible on Facebook?

Connect your Facebook account to Prezi and let your likes appear on your timeline.
You can change this under Settings & Account at any time.

No, thanks

Writing User Stories

No description
by Keith Avery on 22 January 2013

Comments (0)

Please log in to add your comment.

Report abuse

Transcript of Writing User Stories

Gherkins Business-Readable
Domain-Specific Language * * Specs for people to read! What does it look like? Given I am a student user
And I have purchased a Bookstore All Access Pass
When I search for professor 'Ash'
Then I should see a course listing titled 'Introduction to Business'
When I go to the course page
And I redeem my code
Then I should have the All Access Pass for 'Exploring Business 1.2' What is it for? Seems like a pain. Gherkin is a shared language between developers, testers, and business users. Business users can write or help to write the features and scenarios, working with the developer. This communicates clearly the intent of the business user.

Gherkin also gives a recipe for testing, both unit tests and automated regression testing. Each step represents a parallel testing step. Features describe the top-level functionality desired. Features: Scenarios describe the actions a user takes to accomplish a goal, as well as any results of the action. Scenarios: Scenario: Redeeming a bookstore AAP purchase. Given I am a student user
And I have purchased a Bookstore All Access Pass
When I search for professor 'Ash'
Then I should see a course listing titled 'Introduction to Business'
When I go to the course page
And I redeem my code
Then I should have the All Access Pass for 'Exploring Business 1.2' Feature: Purchasing a pass for a course As a student user
In order to purchase a pass for my course
I find the proper course page and purchase a pass. Given When Then put the system in a known state describe the key action the user takes observe the specified results And Given I am logged in as a student user
And I have purchased the All Access Pass for 'Principles of Marketing 1.0'
And I am on the reader page for 'Principles of Marketing 1.0' repeat the last clause Given I am logged in as a student user

Given the following users:

| email | password |
| kavery+green@fwk.com | green |
| kavery+yellow@fwk.com| yellow |
| kavery+pink@fwk.com | pink |
| kavery+blue@fwk.com | blue | Then I should have access to the reader page for 'Principles of Marketing 1.0'

Then I should see a message saying 'Thank you for registering' When I checkout the current shopping cart

When I register as a new user with the username 'kavery+testme@fwk.com' and the password 'testme'
See the full transcript