On Jun 14, 2008, at 12:50 PM, aidy lewis wrote:

Hi,

Is the Given, When, Then framework, the user story, the acceptance
criteria or both?

From my talk at railsconf: 
http://en.oreilly.com/rails2008/public/schedule/detail/2055

=============================================
Story: measure progress towards registration goals
  As a conference organizer
  I want to see a report of registrations
  So that I can measure progress towards registration goals

  Scenario: one registration shows as 1%
    Given a goal of 200 registrations
    When 1 attendee registers
    Then the goal should be 1% achieved

  Scenario: one registration less than the goal shows as 99%
    Given a goal of 200 registrations
    When 199 attendees register
    Then the goal should be 99% achieved
=============================================

The story and the text before the first scenario is the User Story as we've always known it in XP.

The Scenarios are automated, and represent acceptance criteria.

Make sense?

Cheers,
David
_______________________________________________
rspec-users mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/rspec-users

Reply via email to