SlideShare a Scribd company logo
1 of 10
Download to read offline
Writing Effective User Stories
Good User Stories have the following:
• Goal oriented - deliver value to the customer.
• Contain only one viewpoint.
• Are written in active voice - i.e. “ AS the end user, I am able to …” instead
of “The button may be pushed by the end user.”
• Describe how functionality should work, not how it shouldn’t.
• Have a title that accurately reflects the content of the story.
• Have constraints/assumptions in the NOTES – i.e. “user must be in sudo to
execute command, Users logged in as ROOT can perform action OR
Command must be run from user directory”.
User Story Template
The User Story template captures the
value of a functionality from the user’s
perspective.
• User Role – a user of the product
• Desired Feature – feature user needs
• Value/Benefit – why feature is important User Story Components:
• The User Story “Sentence”
• Acceptance Criteria
• Assumptions
• Dependencies
Role
• “As a <<user role>>
Feature
• I want to <<desired feature>>
Benefit
• So that <<value/benefit>>”
Writing Effective User Stories
An effective User Story follows the INVEST model
• Independent – avoids dependencies between stories
• Negotiable – agreement between the “what” and not the “how”
• Valuable – benefits to the customer are readily apparent
• Estimable – effort can be estimated
• Sized Appropriately – small enough to complete in a sprint
• Testable – defines done state and ensures quality
Writing Acceptance Criteria
Acceptance Criteria:
• Include pass/fail test which describes what the story is to accomplish.
• Defines the boundaries for the story.
• Describes any follow-on actions during or after the user performs the
activity, such as mouse-overs.
• Avoids keywords such as all, any, every, if appropriate, etc.
• Lists the individual roles, or group of roles, of those who are able to
perform the activities in the story
Actual Examples:
• “End-to-end test results exported to log file”
• “upon SEBA install, complete status will be displayed.”
Example: Acceptance Criteria
User Story: As a customer, I want to order and pay for the book via a secure web-
based form, so that my credit card information is safe.
Acceptance Criteria:
1. All mandatory fields must be completed before a customer can submit a form.
2. Information from the form is stored in the customer orders database.
3. Payment can be made via Amex, Master Card, or Visa credit card.
4. The system shall accurately calculate and apply sales tax.
5. The system shall accurately calculate and apply shipping charges.
6. The customer shall be able to verify the accuracy of the order.
7. An acknowledgment email is sent to the customer submitting the form.
8. Protection against spam is working.
Assumptions and Dependencies
Assumptions
• A condition that impacts the user story that the team believes is true
• Similar to assumptions in business requirements
Actual examples of assumptions:
• “All systems will report issues in the same way.”
• “Provided user rights are in scope”
• “When requesting the transmission of message, Server
communication must be present …”
Dependencies
• When the user story requires completion of another activity in order
to either begin development or achieve functionality when deployed.
User Stories: Example
The User Story “Sentence”…
• As a user, I want to be able to see available Upgrades when I am
managing the service, so that I can effectively manage this service.
Any relevant assumptions
• Customer must be logged in to management GUI.
• Customer must be logged in as SUDO to clicking on ‘check upgrade’.
Acceptance criteria
• AC1: Upgrade Information is displayed via popover window when user
clicks on ‘check upgrade’.
• AC2: User can click on ‘continue’ in popover, moves to ‘upgrade screen’.
• AC3: User can click on ‘cancel’ in popover returns to previous page.
Any dependencies??
Types of Backlog Items
Non-User Stories – Backend functions/technical debt
• Statements on infrastructure/technical needs that help deliver
User Stories in the Product Backlog. Complete backend functions
or address technical debt
• Example: As a Developer, I want to configure our assigned development region, so
that we can begin developing User Stories in our backlog.
• Example: As a Tester, I want to prepare a test lab, so that we have representation of
all device types & operating systems we need to execute tests on.
Spike Stories – Analysis/research
• Gather information on technical or functional questions. Do not
produce shippable product
• Example: As a Systems Analyst, I need to check the feasibility of storing all the
parameters captured from different systems.
What to Avoid:
Test Only Stories
• Avoid stories aimed at only testing tasks. Normal User Stories will
include test tasks.
Documentation Only Stories
• User Stories should not be used as a document or record only.
Key Points:
• User Stories are concise, written descriptions of a piece of functionality
that will be valuable to a user or owner of software.
• User Story template (Role>Feature>Benefit) used to capture the value
of a functionality from user’s perspective.
• Utilize INVEST model to create effective User Stories.
• User Stories contain: User story template, acceptance criteria,
assumptions and dependencies.

More Related Content

What's hot

User Story Mapping Workshop
User Story Mapping WorkshopUser Story Mapping Workshop
User Story Mapping WorkshopDana Pylayeva
 
Story maps and personas an intro
Story maps and personas   an introStory maps and personas   an intro
Story maps and personas an introMark Kilby
 
Introducing Agile User Stories
Introducing Agile User StoriesIntroducing Agile User Stories
Introducing Agile User StoriesRam Srivastava
 
Introduction to JIRA & Agile Project Management
Introduction to JIRA & Agile Project ManagementIntroduction to JIRA & Agile Project Management
Introduction to JIRA & Agile Project ManagementDan Chuparkoff
 
Invest In Good User Stories
Invest In Good User StoriesInvest In Good User Stories
Invest In Good User StoriesCraig Brown
 
User story and splitting workshop
User story and splitting workshopUser story and splitting workshop
User story and splitting workshopBrian Sjoberg
 
The Creative Product Owner
The Creative Product OwnerThe Creative Product Owner
The Creative Product OwnerAl Bennett
 
Certified Scrum Product Owner: class desk, posters and photos
Certified Scrum Product Owner: class desk, posters and photosCertified Scrum Product Owner: class desk, posters and photos
Certified Scrum Product Owner: class desk, posters and photosAlexey Krivitsky
 
User Story Mapping Workshop (Design Skills 2016)
User Story Mapping Workshop (Design Skills 2016)User Story Mapping Workshop (Design Skills 2016)
User Story Mapping Workshop (Design Skills 2016)Bartosz Mozyrko
 
Product Backlog - Refinement and Prioritization Techniques
Product Backlog - Refinement and Prioritization TechniquesProduct Backlog - Refinement and Prioritization Techniques
Product Backlog - Refinement and Prioritization TechniquesVikash Karuna
 
Guide to User Story Creation
Guide to User Story CreationGuide to User Story Creation
Guide to User Story CreationJoshua Render
 
User Story Mapping (2008)
User Story Mapping (2008)User Story Mapping (2008)
User Story Mapping (2008)Jeff Patton
 

What's hot (20)

User Story Mapping Workshop
User Story Mapping WorkshopUser Story Mapping Workshop
User Story Mapping Workshop
 
How to write good user stories
How to write good user storiesHow to write good user stories
How to write good user stories
 
User Stories
User StoriesUser Stories
User Stories
 
My JIRA patterns for Dashboards
My JIRA patterns for DashboardsMy JIRA patterns for Dashboards
My JIRA patterns for Dashboards
 
User Stories Fundamentals
User Stories FundamentalsUser Stories Fundamentals
User Stories Fundamentals
 
Story maps and personas an intro
Story maps and personas   an introStory maps and personas   an intro
Story maps and personas an intro
 
User Stories explained
User Stories explainedUser Stories explained
User Stories explained
 
Introducing Agile User Stories
Introducing Agile User StoriesIntroducing Agile User Stories
Introducing Agile User Stories
 
Agile Story Writing
Agile Story WritingAgile Story Writing
Agile Story Writing
 
Effective User Stories
Effective User StoriesEffective User Stories
Effective User Stories
 
Effective user stories for your agile or Scrum team
Effective user stories for your agile or Scrum teamEffective user stories for your agile or Scrum team
Effective user stories for your agile or Scrum team
 
Introduction to JIRA & Agile Project Management
Introduction to JIRA & Agile Project ManagementIntroduction to JIRA & Agile Project Management
Introduction to JIRA & Agile Project Management
 
Invest In Good User Stories
Invest In Good User StoriesInvest In Good User Stories
Invest In Good User Stories
 
User story and splitting workshop
User story and splitting workshopUser story and splitting workshop
User story and splitting workshop
 
The Creative Product Owner
The Creative Product OwnerThe Creative Product Owner
The Creative Product Owner
 
Certified Scrum Product Owner: class desk, posters and photos
Certified Scrum Product Owner: class desk, posters and photosCertified Scrum Product Owner: class desk, posters and photos
Certified Scrum Product Owner: class desk, posters and photos
 
User Story Mapping Workshop (Design Skills 2016)
User Story Mapping Workshop (Design Skills 2016)User Story Mapping Workshop (Design Skills 2016)
User Story Mapping Workshop (Design Skills 2016)
 
Product Backlog - Refinement and Prioritization Techniques
Product Backlog - Refinement and Prioritization TechniquesProduct Backlog - Refinement and Prioritization Techniques
Product Backlog - Refinement and Prioritization Techniques
 
Guide to User Story Creation
Guide to User Story CreationGuide to User Story Creation
Guide to User Story Creation
 
User Story Mapping (2008)
User Story Mapping (2008)User Story Mapping (2008)
User Story Mapping (2008)
 

Similar to Writing Effective User Stories: Goal Oriented, Active Voice, Testable

SDLC. BA Role
SDLC. BA RoleSDLC. BA Role
SDLC. BA Roleeleksdev
 
writing-good-user-stories.pdf
writing-good-user-stories.pdfwriting-good-user-stories.pdf
writing-good-user-stories.pdfsprasadk
 
Agile project related points
Agile project related pointsAgile project related points
Agile project related pointsGaurav Kumar
 
Session15+16-User Story (2).pdf
Session15+16-User Story (2).pdfSession15+16-User Story (2).pdf
Session15+16-User Story (2).pdfPeterTran514407
 
Scrum Basics - User Stories.pdf
Scrum Basics - User Stories.pdfScrum Basics - User Stories.pdf
Scrum Basics - User Stories.pdfNarasimhaL2
 
How to Write Great User Stories Today.pptx
How to Write Great User Stories Today.pptxHow to Write Great User Stories Today.pptx
How to Write Great User Stories Today.pptxAlanJamisonMBASPC
 
User Story Splitting.pptx
User Story Splitting.pptxUser Story Splitting.pptx
User Story Splitting.pptxPaul Boos
 
IIT Academy: 204 User stories and acceptance criteria
IIT Academy: 204 User stories and acceptance criteriaIIT Academy: 204 User stories and acceptance criteria
IIT Academy: 204 User stories and acceptance criteriaSteven HK Ma | 馬國豪
 
Online shopping e commerce website for cloth retail.pptx
Online shopping e commerce website for cloth retail.pptxOnline shopping e commerce website for cloth retail.pptx
Online shopping e commerce website for cloth retail.pptxshubhanshusahu71
 
Agile Network India | Effective User story writing and story mapping approach...
Agile Network India | Effective User story writing and story mapping approach...Agile Network India | Effective User story writing and story mapping approach...
Agile Network India | Effective User story writing and story mapping approach...AgileNetwork
 
Agile Network India | Effective User story writing and story mapping approach...
Agile Network India | Effective User story writing and story mapping approach...Agile Network India | Effective User story writing and story mapping approach...
Agile Network India | Effective User story writing and story mapping approach...AgileNetwork
 
Online shopping ecommerce java project
Online shopping ecommerce java projectOnline shopping ecommerce java project
Online shopping ecommerce java projectTutorial Learners
 
User Requirements, Functional and Non-Functional Requirements
User Requirements, Functional and Non-Functional RequirementsUser Requirements, Functional and Non-Functional Requirements
User Requirements, Functional and Non-Functional RequirementsMark Opanasiuk
 
Agile Network India | Effective User story writing and story mapping approach
Agile Network India | Effective User story writing and story mapping approachAgile Network India | Effective User story writing and story mapping approach
Agile Network India | Effective User story writing and story mapping approachAgileNetwork
 

Similar to Writing Effective User Stories: Goal Oriented, Active Voice, Testable (20)

SDLC. BA Role
SDLC. BA RoleSDLC. BA Role
SDLC. BA Role
 
User stories in agile software development
User stories in agile software developmentUser stories in agile software development
User stories in agile software development
 
Agile Techniques
Agile TechniquesAgile Techniques
Agile Techniques
 
Defining tasks for User Stories
Defining tasks for User StoriesDefining tasks for User Stories
Defining tasks for User Stories
 
User Stories Training
User Stories TrainingUser Stories Training
User Stories Training
 
writing-good-user-stories.pdf
writing-good-user-stories.pdfwriting-good-user-stories.pdf
writing-good-user-stories.pdf
 
Agile project related points
Agile project related pointsAgile project related points
Agile project related points
 
Session15+16-User Story (2).pdf
Session15+16-User Story (2).pdfSession15+16-User Story (2).pdf
Session15+16-User Story (2).pdf
 
Scrum Basics - User Stories.pdf
Scrum Basics - User Stories.pdfScrum Basics - User Stories.pdf
Scrum Basics - User Stories.pdf
 
Story of user story
Story of user storyStory of user story
Story of user story
 
How to Write Great User Stories Today.pptx
How to Write Great User Stories Today.pptxHow to Write Great User Stories Today.pptx
How to Write Great User Stories Today.pptx
 
User Story Splitting.pptx
User Story Splitting.pptxUser Story Splitting.pptx
User Story Splitting.pptx
 
IIT Academy: 204 User stories and acceptance criteria
IIT Academy: 204 User stories and acceptance criteriaIIT Academy: 204 User stories and acceptance criteria
IIT Academy: 204 User stories and acceptance criteria
 
Online shopping e commerce website for cloth retail.pptx
Online shopping e commerce website for cloth retail.pptxOnline shopping e commerce website for cloth retail.pptx
Online shopping e commerce website for cloth retail.pptx
 
Agile Network India | Effective User story writing and story mapping approach...
Agile Network India | Effective User story writing and story mapping approach...Agile Network India | Effective User story writing and story mapping approach...
Agile Network India | Effective User story writing and story mapping approach...
 
Agile Network India | Effective User story writing and story mapping approach...
Agile Network India | Effective User story writing and story mapping approach...Agile Network India | Effective User story writing and story mapping approach...
Agile Network India | Effective User story writing and story mapping approach...
 
Online shopping ecommerce java project
Online shopping ecommerce java projectOnline shopping ecommerce java project
Online shopping ecommerce java project
 
User Requirements, Functional and Non-Functional Requirements
User Requirements, Functional and Non-Functional RequirementsUser Requirements, Functional and Non-Functional Requirements
User Requirements, Functional and Non-Functional Requirements
 
Project scope preparation
Project scope preparationProject scope preparation
Project scope preparation
 
Agile Network India | Effective User story writing and story mapping approach
Agile Network India | Effective User story writing and story mapping approachAgile Network India | Effective User story writing and story mapping approach
Agile Network India | Effective User story writing and story mapping approach
 

Recently uploaded

Hierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementHierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementmkooblal
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptxVS Mahajan Coaching Centre
 
internship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developerinternship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developerunnathinaik
 
Final demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptxFinal demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptxAvyJaneVismanos
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon AUnboundStockton
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatYousafMalik24
 
Meghan Sutherland In Media Res Media Component
Meghan Sutherland In Media Res Media ComponentMeghan Sutherland In Media Res Media Component
Meghan Sutherland In Media Res Media ComponentInMediaRes1
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17Celine George
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsanshu789521
 
भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,Virag Sontakke
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...Marc Dusseiller Dusjagr
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Celine George
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxiammrhaywood
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxOH TEIK BIN
 
Types of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxTypes of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxEyham Joco
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for BeginnersSabitha Banu
 

Recently uploaded (20)

Hierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementHierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of management
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
 
internship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developerinternship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developer
 
Final demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptxFinal demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptx
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon A
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice great
 
Meghan Sutherland In Media Res Media Component
Meghan Sutherland In Media Res Media ComponentMeghan Sutherland In Media Res Media Component
Meghan Sutherland In Media Res Media Component
 
ESSENTIAL of (CS/IT/IS) class 06 (database)
ESSENTIAL of (CS/IT/IS) class 06 (database)ESSENTIAL of (CS/IT/IS) class 06 (database)
ESSENTIAL of (CS/IT/IS) class 06 (database)
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha elections
 
भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
 
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptx
 
Types of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxTypes of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptx
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for Beginners
 

Writing Effective User Stories: Goal Oriented, Active Voice, Testable

  • 1. Writing Effective User Stories Good User Stories have the following: • Goal oriented - deliver value to the customer. • Contain only one viewpoint. • Are written in active voice - i.e. “ AS the end user, I am able to …” instead of “The button may be pushed by the end user.” • Describe how functionality should work, not how it shouldn’t. • Have a title that accurately reflects the content of the story. • Have constraints/assumptions in the NOTES – i.e. “user must be in sudo to execute command, Users logged in as ROOT can perform action OR Command must be run from user directory”.
  • 2. User Story Template The User Story template captures the value of a functionality from the user’s perspective. • User Role – a user of the product • Desired Feature – feature user needs • Value/Benefit – why feature is important User Story Components: • The User Story “Sentence” • Acceptance Criteria • Assumptions • Dependencies Role • “As a <<user role>> Feature • I want to <<desired feature>> Benefit • So that <<value/benefit>>”
  • 3. Writing Effective User Stories An effective User Story follows the INVEST model • Independent – avoids dependencies between stories • Negotiable – agreement between the “what” and not the “how” • Valuable – benefits to the customer are readily apparent • Estimable – effort can be estimated • Sized Appropriately – small enough to complete in a sprint • Testable – defines done state and ensures quality
  • 4. Writing Acceptance Criteria Acceptance Criteria: • Include pass/fail test which describes what the story is to accomplish. • Defines the boundaries for the story. • Describes any follow-on actions during or after the user performs the activity, such as mouse-overs. • Avoids keywords such as all, any, every, if appropriate, etc. • Lists the individual roles, or group of roles, of those who are able to perform the activities in the story Actual Examples: • “End-to-end test results exported to log file” • “upon SEBA install, complete status will be displayed.”
  • 5. Example: Acceptance Criteria User Story: As a customer, I want to order and pay for the book via a secure web- based form, so that my credit card information is safe. Acceptance Criteria: 1. All mandatory fields must be completed before a customer can submit a form. 2. Information from the form is stored in the customer orders database. 3. Payment can be made via Amex, Master Card, or Visa credit card. 4. The system shall accurately calculate and apply sales tax. 5. The system shall accurately calculate and apply shipping charges. 6. The customer shall be able to verify the accuracy of the order. 7. An acknowledgment email is sent to the customer submitting the form. 8. Protection against spam is working.
  • 6. Assumptions and Dependencies Assumptions • A condition that impacts the user story that the team believes is true • Similar to assumptions in business requirements Actual examples of assumptions: • “All systems will report issues in the same way.” • “Provided user rights are in scope” • “When requesting the transmission of message, Server communication must be present …” Dependencies • When the user story requires completion of another activity in order to either begin development or achieve functionality when deployed.
  • 7. User Stories: Example The User Story “Sentence”… • As a user, I want to be able to see available Upgrades when I am managing the service, so that I can effectively manage this service. Any relevant assumptions • Customer must be logged in to management GUI. • Customer must be logged in as SUDO to clicking on ‘check upgrade’. Acceptance criteria • AC1: Upgrade Information is displayed via popover window when user clicks on ‘check upgrade’. • AC2: User can click on ‘continue’ in popover, moves to ‘upgrade screen’. • AC3: User can click on ‘cancel’ in popover returns to previous page. Any dependencies??
  • 8. Types of Backlog Items Non-User Stories – Backend functions/technical debt • Statements on infrastructure/technical needs that help deliver User Stories in the Product Backlog. Complete backend functions or address technical debt • Example: As a Developer, I want to configure our assigned development region, so that we can begin developing User Stories in our backlog. • Example: As a Tester, I want to prepare a test lab, so that we have representation of all device types & operating systems we need to execute tests on. Spike Stories – Analysis/research • Gather information on technical or functional questions. Do not produce shippable product • Example: As a Systems Analyst, I need to check the feasibility of storing all the parameters captured from different systems.
  • 9. What to Avoid: Test Only Stories • Avoid stories aimed at only testing tasks. Normal User Stories will include test tasks. Documentation Only Stories • User Stories should not be used as a document or record only.
  • 10. Key Points: • User Stories are concise, written descriptions of a piece of functionality that will be valuable to a user or owner of software. • User Story template (Role>Feature>Benefit) used to capture the value of a functionality from user’s perspective. • Utilize INVEST model to create effective User Stories. • User Stories contain: User story template, acceptance criteria, assumptions and dependencies.