SlideShare a Scribd company logo
Story writing
Presented by: Tanvir Afzal
What we will achieve?
• What is story and the criteria's.
• Common mistake of stories.
• Examples and examples.
• Hands on story writing.
We will enjoy and have fun together 
What is story?
User stories are short, simple descriptions of a feature told
from the perspective of the person who desires the new
capability, usually a user or customer of the system. 
User Stories Template
User stories are often written using the following template:
As a <Role>, I want <Task> so that I <Goal>
User Stories
• Who are we building it for, who the user is?
— As a <type of user>
• What are we building, what is the intention? 
— I want <some goal or objective >
• Why are we building it, what value it bring for the user.?
— So that <benefit, value>
What Is Epic?
• When a story is too large, it is called an epic.
• An Epic can not be completed in a week time, or any work
which will take a full sprint to complete. By observation 5-10
user stories comprise of one Epic in agile methodology.
• For release planning, epics should be broken down into
smaller chunks.
s
User Story Example
As a customer, I want to be able to create an account so
that I can see the purchases I made in the last year to help
me budget for next year.
Why Write User Stories?
Simply listing a set of tasks for your team, while sometimes
effective, can be confusing.
This can stem from a number of causes:
•Vague context
•Unclear expectations
•Being overly technical
Characteristics Of A User Story
• A story should be small enough to be coded and tested within
an iteration.
• We should focus on what the user is doing or getting out of the
story.
• The goal is that when the user story is done, the user can do
something of value to them.
COS (Condition Of Satisfaction)
• COS provide the Definition of Done for the story.
• As details about the story evolve, capture the critical ones as
acceptance criteria.
• List as many acceptance criteria as possible in order to clarify the
intent of the story.
• Once an iteration has begun, testers can formalize acceptance criteria
into acceptance tests.
• By using bullet points, you can keep each criteria item brief and clear.
INVES
T
INVEST
• (I)ndepdendent
• (N)egotiable
• (V)aluable
• (E)stimable
• (S)mall
• (T)estable
Tips to write good
user stories
1 Stories for user
As its name suggests, a user story describes how a
customer or user employs the product;
It should be written from the user’s
perspective.
1. Stories For User (cont.)
Example: "As a user I want to be able to manage ads, so that I can remove
expired and erroneous ads.“
What’s Wrong With it ?
What Is Wrong Here?
Now What is wrong here?
"As an commercial advertiser I want to
have filtering option.”
No Acceptance Criteria or Conditions of
Satisfaction
• Not having COS can cause the whole chain of mistakes starting
with wrong definition of development tasks or wrong estimation.
• Story can failed the tests or Test Cases will cover different
criteria due to lack of understanding.
• Asking questions such as
‘What if … ?’, ‘Where …?’, ‘When …?’, ‘How …?’
• Use examples and simple drawings to remove assumptions
2. Stories For Developer
‘As a commercial user I want the system to allow me run multiple
searches at the same time, so that I can do my job faster.’
• Re-factor search handling mechanism to allow multiple threads for single use
• Update java version to 64-bit one.
Acceptance criteria need to define some measurable and testable definition of improvement like:
‘Single user can run 5 searches at the same time.’
‘Search returns results in less than 4 seconds.’
COS Example
 As a conference attendee, I want to be able to register
online, so I can register quickly and cut down on
paperwork.
• A user cannot submit a form without completing all the mandatory fields.
• Information from the form is stored in the registrations database.
• Protection against spam is working.
• Payment can be made via credit card.
• An acknowledgment email is sent to the user after submitting the form.
Form a group of 3
people
Please collect
• Take Sticky notes
• Pencil & eraser for each team
We are creating a Search
Engine
Write Epics for
Epic
Lets verify the Epic
Please collect
•Take Cards
Write Stories for
Stories?
• Make DB tables to store search User data (IP and
keyword)
• Search keywords (Type the keyword and get result)
• Result Listing.
• Performance. (will find within 1 sec)
Lets verify the Stories
Write COS for stories
Lets verify COS
Why we need smaller stories?
• Small stories provide focus and a short horizon for the team.
• Smaller stories enable more frequent handoffs and allow testers to work
on smaller chunks of code.
• Small stories give you the flexibility to reconfigure and adapt to new
discoveries or changes.
• Small stories provide more feedback opportunities at all levels of the
system and more opportunities for personal satisfaction.
• Large stories increase the risk that your team will deliver nothing at the
end of the iteration.
Reference:
• http://www.yodiz.com/blog/writing-user-stories-examples-and-templates-in-agile-methodologies/
• http://www.agilemodeling.com/artifacts/userStory.htm
• https://medium.com/@rachid/3-common-user-story-mistakes-2cb2d14b5061#.ob95zxhi0
• https://www.scrumalliance.org/community/articles/2011/august/5-common-mistakes-we-make-writing-
user-stories
• http://www.yodiz.com/blog/writing-user-stories-examples-and-templates-in-agile-methodologies/
• http://www.boost.co.nz/blog/2010/09/acceptance-criteria/
• http://www.yodiz.com/blog/what-is-epic-in-agile-methodology-definition-and-template-of-epic/
Any Questions?
Thanks for attending

More Related Content

What's hot

User stories
User storiesUser stories
User stories
MikeSorokin
 
Agile User Stories
Agile User StoriesAgile User Stories
Agile User Stories
Sheldon McCarthy
 
Crafting Great-User-Stories for CapitalCamp DC
Crafting Great-User-Stories for CapitalCamp DCCrafting Great-User-Stories for CapitalCamp DC
Crafting Great-User-Stories for CapitalCamp DC
Forum One
 
Introduction To User Stories For Agile Product Development
Introduction To User Stories For Agile Product DevelopmentIntroduction To User Stories For Agile Product Development
Introduction To User Stories For Agile Product Development
zenpdm
 
User Stories Training
User Stories TrainingUser Stories Training
User Stories Training
Clarion Marketing
 
Ten Concrete Techniques to Split User Stories
Ten Concrete Techniques to Split User StoriesTen Concrete Techniques to Split User Stories
Ten Concrete Techniques to Split User Stories
Night Wolf
 
Writing Effective User Stories
Writing Effective User StoriesWriting Effective User Stories
Writing Effective User Stories
Carlo Kruger
 
Splitting Stories with the Hamburger Method - A Simple 5 Step Process
Splitting Stories with the Hamburger Method - A Simple 5 Step ProcessSplitting Stories with the Hamburger Method - A Simple 5 Step Process
Splitting Stories with the Hamburger Method - A Simple 5 Step Process
Stephen Tucker
 
Art of Writing in Agile : STC Summit 2017
Art of Writing in Agile : STC Summit 2017Art of Writing in Agile : STC Summit 2017
Art of Writing in Agile : STC Summit 2017
Shikha Saxena
 
All About Those User Stories
All About Those User StoriesAll About Those User Stories
All About Those User Stories
NetSuite
 
User stories
User storiesUser stories
User stories
DianaKlose
 
Writing structure purpose reader
Writing structure purpose readerWriting structure purpose reader
Writing structure purpose reader
Nuria de Salvador
 
21 Story Splitting Patterns
21 Story Splitting Patterns21 Story Splitting Patterns
21 Story Splitting Patterns
Kent McDonald
 
User Story Splitting
User Story SplittingUser Story Splitting
User Story Splitting
trishly
 
User Stories Writing
User Stories WritingUser Stories Writing
User Stories Writing
Stefano Leli
 
User Story Smells & Anti-patterns
User Story Smells & Anti-patternsUser Story Smells & Anti-patterns
User Story Smells & Anti-patterns
Fadi Stephan
 
User Story Slicing - easy way to split user stories
User Story Slicing - easy way to split user stories  User Story Slicing - easy way to split user stories
User Story Slicing - easy way to split user stories
Arto Eskelinen
 
BDD
BDDBDD
Video scripting
Video scriptingVideo scripting
Video scripting
Meghan Keaney Anderson
 
Defining Done
Defining DoneDefining Done
Defining Done
David Rogers
 

What's hot (20)

User stories
User storiesUser stories
User stories
 
Agile User Stories
Agile User StoriesAgile User Stories
Agile User Stories
 
Crafting Great-User-Stories for CapitalCamp DC
Crafting Great-User-Stories for CapitalCamp DCCrafting Great-User-Stories for CapitalCamp DC
Crafting Great-User-Stories for CapitalCamp DC
 
Introduction To User Stories For Agile Product Development
Introduction To User Stories For Agile Product DevelopmentIntroduction To User Stories For Agile Product Development
Introduction To User Stories For Agile Product Development
 
User Stories Training
User Stories TrainingUser Stories Training
User Stories Training
 
Ten Concrete Techniques to Split User Stories
Ten Concrete Techniques to Split User StoriesTen Concrete Techniques to Split User Stories
Ten Concrete Techniques to Split User Stories
 
Writing Effective User Stories
Writing Effective User StoriesWriting Effective User Stories
Writing Effective User Stories
 
Splitting Stories with the Hamburger Method - A Simple 5 Step Process
Splitting Stories with the Hamburger Method - A Simple 5 Step ProcessSplitting Stories with the Hamburger Method - A Simple 5 Step Process
Splitting Stories with the Hamburger Method - A Simple 5 Step Process
 
Art of Writing in Agile : STC Summit 2017
Art of Writing in Agile : STC Summit 2017Art of Writing in Agile : STC Summit 2017
Art of Writing in Agile : STC Summit 2017
 
All About Those User Stories
All About Those User StoriesAll About Those User Stories
All About Those User Stories
 
User stories
User storiesUser stories
User stories
 
Writing structure purpose reader
Writing structure purpose readerWriting structure purpose reader
Writing structure purpose reader
 
21 Story Splitting Patterns
21 Story Splitting Patterns21 Story Splitting Patterns
21 Story Splitting Patterns
 
User Story Splitting
User Story SplittingUser Story Splitting
User Story Splitting
 
User Stories Writing
User Stories WritingUser Stories Writing
User Stories Writing
 
User Story Smells & Anti-patterns
User Story Smells & Anti-patternsUser Story Smells & Anti-patterns
User Story Smells & Anti-patterns
 
User Story Slicing - easy way to split user stories
User Story Slicing - easy way to split user stories  User Story Slicing - easy way to split user stories
User Story Slicing - easy way to split user stories
 
BDD
BDDBDD
BDD
 
Video scripting
Video scriptingVideo scripting
Video scripting
 
Defining Done
Defining DoneDefining Done
Defining Done
 

Similar to User stories

All about User story
All about User storyAll about User story
All about User story
Sankalp Khandelwal
 
Defining tasks for User Stories
Defining tasks for User StoriesDefining tasks for User Stories
Defining tasks for User Stories
Martin Lapointe, M.T.I.
 
Story of user story
Story of user storyStory of user story
Story of user story
Balaji Sathram
 
The Whole Story of The User Story
The Whole Story of The User StoryThe Whole Story of The User Story
The Whole Story of The User Story
XPDays
 
User Story Writing & Estimation For Testers By Mahesh Varadharajan
User Story Writing & Estimation For Testers By Mahesh VaradharajanUser Story Writing & Estimation For Testers By Mahesh Varadharajan
User Story Writing & Estimation For Testers By Mahesh Varadharajan
Agile Testing Alliance
 
User Story Splitting.pptx
User Story Splitting.pptxUser Story Splitting.pptx
User Story Splitting.pptx
Paul Boos
 
Agile Story Writing
Agile Story WritingAgile Story Writing
Agile Story Writing
Intelliware Development Inc.
 
Agile Story Writing
Agile Story WritingAgile Story Writing
Agile Story Writing
Intelliware Development Inc.
 
Backlog Management & Discovery
Backlog Management & DiscoveryBacklog Management & Discovery
Backlog Management & Discovery
Tarun Singh
 
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
AlanJamisonMBASPC
 
User story driven product development process
User story driven product development processUser story driven product development process
User story driven product development process
Ran Liron
 
Xp 2016 superchargeyourproductbacklogwithuserstories-suzannelaz
Xp 2016 superchargeyourproductbacklogwithuserstories-suzannelazXp 2016 superchargeyourproductbacklogwithuserstories-suzannelaz
Xp 2016 superchargeyourproductbacklogwithuserstories-suzannelaz
Laz Allen
 
User Stories Writing - Codemotion 2013
User Stories Writing - Codemotion 2013User Stories Writing - Codemotion 2013
User Stories Writing - Codemotion 2013
Fabio Armani
 
User stories writing - Codemotion 2013
User stories writing   - Codemotion 2013User stories writing   - Codemotion 2013
User stories writing - Codemotion 2013
Stefano Leli
 
Agile: JAD Requirements Elicitation
Agile:  JAD Requirements ElicitationAgile:  JAD Requirements Elicitation
Agile: JAD Requirements Elicitation
Ernadel Sioson
 
Introduction to Agile Requirements, Estimation
Introduction to Agile Requirements, Estimation  Introduction to Agile Requirements, Estimation
Introduction to Agile Requirements, Estimation
Abhilash Chandran
 
Epics and User Stories
Epics and User StoriesEpics and User Stories
Epics and User Stories
Manish Agrawal, CSP®
 
Agile Education: PO Basics
Agile Education: PO BasicsAgile Education: PO Basics
Agile Education: PO Basics
Bharti Rupani
 
Story writing
Story writingStory writing
Story writing
Tracey Hagan
 
Project scope preparation
Project scope preparationProject scope preparation
Project scope preparation
Dimitar Bakardzhiev
 

Similar to User stories (20)

All about User story
All about User storyAll about User story
All about User story
 
Defining tasks for User Stories
Defining tasks for User StoriesDefining tasks for User Stories
Defining tasks for User Stories
 
Story of user story
Story of user storyStory of user story
Story of user story
 
The Whole Story of The User Story
The Whole Story of The User StoryThe Whole Story of The User Story
The Whole Story of The User Story
 
User Story Writing & Estimation For Testers By Mahesh Varadharajan
User Story Writing & Estimation For Testers By Mahesh VaradharajanUser Story Writing & Estimation For Testers By Mahesh Varadharajan
User Story Writing & Estimation For Testers By Mahesh Varadharajan
 
User Story Splitting.pptx
User Story Splitting.pptxUser Story Splitting.pptx
User Story Splitting.pptx
 
Agile Story Writing
Agile Story WritingAgile Story Writing
Agile Story Writing
 
Agile Story Writing
Agile Story WritingAgile Story Writing
Agile Story Writing
 
Backlog Management & Discovery
Backlog Management & DiscoveryBacklog Management & Discovery
Backlog Management & Discovery
 
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 driven product development process
User story driven product development processUser story driven product development process
User story driven product development process
 
Xp 2016 superchargeyourproductbacklogwithuserstories-suzannelaz
Xp 2016 superchargeyourproductbacklogwithuserstories-suzannelazXp 2016 superchargeyourproductbacklogwithuserstories-suzannelaz
Xp 2016 superchargeyourproductbacklogwithuserstories-suzannelaz
 
User Stories Writing - Codemotion 2013
User Stories Writing - Codemotion 2013User Stories Writing - Codemotion 2013
User Stories Writing - Codemotion 2013
 
User stories writing - Codemotion 2013
User stories writing   - Codemotion 2013User stories writing   - Codemotion 2013
User stories writing - Codemotion 2013
 
Agile: JAD Requirements Elicitation
Agile:  JAD Requirements ElicitationAgile:  JAD Requirements Elicitation
Agile: JAD Requirements Elicitation
 
Introduction to Agile Requirements, Estimation
Introduction to Agile Requirements, Estimation  Introduction to Agile Requirements, Estimation
Introduction to Agile Requirements, Estimation
 
Epics and User Stories
Epics and User StoriesEpics and User Stories
Epics and User Stories
 
Agile Education: PO Basics
Agile Education: PO BasicsAgile Education: PO Basics
Agile Education: PO Basics
 
Story writing
Story writingStory writing
Story writing
 
Project scope preparation
Project scope preparationProject scope preparation
Project scope preparation
 

Recently uploaded

E-commerce Application Development Company.pdf
E-commerce Application Development Company.pdfE-commerce Application Development Company.pdf
E-commerce Application Development Company.pdf
Hornet Dynamics
 
8 Best Automated Android App Testing Tool and Framework in 2024.pdf
8 Best Automated Android App Testing Tool and Framework in 2024.pdf8 Best Automated Android App Testing Tool and Framework in 2024.pdf
8 Best Automated Android App Testing Tool and Framework in 2024.pdf
kalichargn70th171
 
Measures in SQL (SIGMOD 2024, Santiago, Chile)
Measures in SQL (SIGMOD 2024, Santiago, Chile)Measures in SQL (SIGMOD 2024, Santiago, Chile)
Measures in SQL (SIGMOD 2024, Santiago, Chile)
Julian Hyde
 
UI5con 2024 - Keynote: Latest News about UI5 and it’s Ecosystem
UI5con 2024 - Keynote: Latest News about UI5 and it’s EcosystemUI5con 2024 - Keynote: Latest News about UI5 and it’s Ecosystem
UI5con 2024 - Keynote: Latest News about UI5 and it’s Ecosystem
Peter Muessig
 
openEuler Case Study - The Journey to Supply Chain Security
openEuler Case Study - The Journey to Supply Chain SecurityopenEuler Case Study - The Journey to Supply Chain Security
openEuler Case Study - The Journey to Supply Chain Security
Shane Coughlan
 
UI5con 2024 - Boost Your Development Experience with UI5 Tooling Extensions
UI5con 2024 - Boost Your Development Experience with UI5 Tooling ExtensionsUI5con 2024 - Boost Your Development Experience with UI5 Tooling Extensions
UI5con 2024 - Boost Your Development Experience with UI5 Tooling Extensions
Peter Muessig
 
Graspan: A Big Data System for Big Code Analysis
Graspan: A Big Data System for Big Code AnalysisGraspan: A Big Data System for Big Code Analysis
Graspan: A Big Data System for Big Code Analysis
Aftab Hussain
 
Hand Rolled Applicative User Validation Code Kata
Hand Rolled Applicative User ValidationCode KataHand Rolled Applicative User ValidationCode Kata
Hand Rolled Applicative User Validation Code Kata
Philip Schwarz
 
E-commerce Development Services- Hornet Dynamics
E-commerce Development Services- Hornet DynamicsE-commerce Development Services- Hornet Dynamics
E-commerce Development Services- Hornet Dynamics
Hornet Dynamics
 
Using Xen Hypervisor for Functional Safety
Using Xen Hypervisor for Functional SafetyUsing Xen Hypervisor for Functional Safety
Using Xen Hypervisor for Functional Safety
Ayan Halder
 
Vitthal Shirke Java Microservices Resume.pdf
Vitthal Shirke Java Microservices Resume.pdfVitthal Shirke Java Microservices Resume.pdf
Vitthal Shirke Java Microservices Resume.pdf
Vitthal Shirke
 
Fundamentals of Programming and Language Processors
Fundamentals of Programming and Language ProcessorsFundamentals of Programming and Language Processors
Fundamentals of Programming and Language Processors
Rakesh Kumar R
 
What is Augmented Reality Image Tracking
What is Augmented Reality Image TrackingWhat is Augmented Reality Image Tracking
What is Augmented Reality Image Tracking
pavan998932
 
Microservice Teams - How the cloud changes the way we work
Microservice Teams - How the cloud changes the way we workMicroservice Teams - How the cloud changes the way we work
Microservice Teams - How the cloud changes the way we work
Sven Peters
 
SMS API Integration in Saudi Arabia| Best SMS API Service
SMS API Integration in Saudi Arabia| Best SMS API ServiceSMS API Integration in Saudi Arabia| Best SMS API Service
SMS API Integration in Saudi Arabia| Best SMS API Service
Yara Milbes
 
Energy consumption of Database Management - Florina Jonuzi
Energy consumption of Database Management - Florina JonuziEnergy consumption of Database Management - Florina Jonuzi
Energy consumption of Database Management - Florina Jonuzi
Green Software Development
 
Transform Your Communication with Cloud-Based IVR Solutions
Transform Your Communication with Cloud-Based IVR SolutionsTransform Your Communication with Cloud-Based IVR Solutions
Transform Your Communication with Cloud-Based IVR Solutions
TheSMSPoint
 
Automated software refactoring with OpenRewrite and Generative AI.pptx.pdf
Automated software refactoring with OpenRewrite and Generative AI.pptx.pdfAutomated software refactoring with OpenRewrite and Generative AI.pptx.pdf
Automated software refactoring with OpenRewrite and Generative AI.pptx.pdf
timtebeek1
 
GreenCode-A-VSCode-Plugin--Dario-Jurisic
GreenCode-A-VSCode-Plugin--Dario-JurisicGreenCode-A-VSCode-Plugin--Dario-Jurisic
GreenCode-A-VSCode-Plugin--Dario-Jurisic
Green Software Development
 
E-Invoicing Implementation: A Step-by-Step Guide for Saudi Arabian Companies
E-Invoicing Implementation: A Step-by-Step Guide for Saudi Arabian CompaniesE-Invoicing Implementation: A Step-by-Step Guide for Saudi Arabian Companies
E-Invoicing Implementation: A Step-by-Step Guide for Saudi Arabian Companies
Quickdice ERP
 

Recently uploaded (20)

E-commerce Application Development Company.pdf
E-commerce Application Development Company.pdfE-commerce Application Development Company.pdf
E-commerce Application Development Company.pdf
 
8 Best Automated Android App Testing Tool and Framework in 2024.pdf
8 Best Automated Android App Testing Tool and Framework in 2024.pdf8 Best Automated Android App Testing Tool and Framework in 2024.pdf
8 Best Automated Android App Testing Tool and Framework in 2024.pdf
 
Measures in SQL (SIGMOD 2024, Santiago, Chile)
Measures in SQL (SIGMOD 2024, Santiago, Chile)Measures in SQL (SIGMOD 2024, Santiago, Chile)
Measures in SQL (SIGMOD 2024, Santiago, Chile)
 
UI5con 2024 - Keynote: Latest News about UI5 and it’s Ecosystem
UI5con 2024 - Keynote: Latest News about UI5 and it’s EcosystemUI5con 2024 - Keynote: Latest News about UI5 and it’s Ecosystem
UI5con 2024 - Keynote: Latest News about UI5 and it’s Ecosystem
 
openEuler Case Study - The Journey to Supply Chain Security
openEuler Case Study - The Journey to Supply Chain SecurityopenEuler Case Study - The Journey to Supply Chain Security
openEuler Case Study - The Journey to Supply Chain Security
 
UI5con 2024 - Boost Your Development Experience with UI5 Tooling Extensions
UI5con 2024 - Boost Your Development Experience with UI5 Tooling ExtensionsUI5con 2024 - Boost Your Development Experience with UI5 Tooling Extensions
UI5con 2024 - Boost Your Development Experience with UI5 Tooling Extensions
 
Graspan: A Big Data System for Big Code Analysis
Graspan: A Big Data System for Big Code AnalysisGraspan: A Big Data System for Big Code Analysis
Graspan: A Big Data System for Big Code Analysis
 
Hand Rolled Applicative User Validation Code Kata
Hand Rolled Applicative User ValidationCode KataHand Rolled Applicative User ValidationCode Kata
Hand Rolled Applicative User Validation Code Kata
 
E-commerce Development Services- Hornet Dynamics
E-commerce Development Services- Hornet DynamicsE-commerce Development Services- Hornet Dynamics
E-commerce Development Services- Hornet Dynamics
 
Using Xen Hypervisor for Functional Safety
Using Xen Hypervisor for Functional SafetyUsing Xen Hypervisor for Functional Safety
Using Xen Hypervisor for Functional Safety
 
Vitthal Shirke Java Microservices Resume.pdf
Vitthal Shirke Java Microservices Resume.pdfVitthal Shirke Java Microservices Resume.pdf
Vitthal Shirke Java Microservices Resume.pdf
 
Fundamentals of Programming and Language Processors
Fundamentals of Programming and Language ProcessorsFundamentals of Programming and Language Processors
Fundamentals of Programming and Language Processors
 
What is Augmented Reality Image Tracking
What is Augmented Reality Image TrackingWhat is Augmented Reality Image Tracking
What is Augmented Reality Image Tracking
 
Microservice Teams - How the cloud changes the way we work
Microservice Teams - How the cloud changes the way we workMicroservice Teams - How the cloud changes the way we work
Microservice Teams - How the cloud changes the way we work
 
SMS API Integration in Saudi Arabia| Best SMS API Service
SMS API Integration in Saudi Arabia| Best SMS API ServiceSMS API Integration in Saudi Arabia| Best SMS API Service
SMS API Integration in Saudi Arabia| Best SMS API Service
 
Energy consumption of Database Management - Florina Jonuzi
Energy consumption of Database Management - Florina JonuziEnergy consumption of Database Management - Florina Jonuzi
Energy consumption of Database Management - Florina Jonuzi
 
Transform Your Communication with Cloud-Based IVR Solutions
Transform Your Communication with Cloud-Based IVR SolutionsTransform Your Communication with Cloud-Based IVR Solutions
Transform Your Communication with Cloud-Based IVR Solutions
 
Automated software refactoring with OpenRewrite and Generative AI.pptx.pdf
Automated software refactoring with OpenRewrite and Generative AI.pptx.pdfAutomated software refactoring with OpenRewrite and Generative AI.pptx.pdf
Automated software refactoring with OpenRewrite and Generative AI.pptx.pdf
 
GreenCode-A-VSCode-Plugin--Dario-Jurisic
GreenCode-A-VSCode-Plugin--Dario-JurisicGreenCode-A-VSCode-Plugin--Dario-Jurisic
GreenCode-A-VSCode-Plugin--Dario-Jurisic
 
E-Invoicing Implementation: A Step-by-Step Guide for Saudi Arabian Companies
E-Invoicing Implementation: A Step-by-Step Guide for Saudi Arabian CompaniesE-Invoicing Implementation: A Step-by-Step Guide for Saudi Arabian Companies
E-Invoicing Implementation: A Step-by-Step Guide for Saudi Arabian Companies
 

User stories

  • 2.
  • 3. What we will achieve? • What is story and the criteria's. • Common mistake of stories. • Examples and examples. • Hands on story writing. We will enjoy and have fun together 
  • 4.
  • 5. What is story? User stories are short, simple descriptions of a feature told from the perspective of the person who desires the new capability, usually a user or customer of the system. 
  • 6. User Stories Template User stories are often written using the following template: As a <Role>, I want <Task> so that I <Goal>
  • 7. User Stories • Who are we building it for, who the user is? — As a <type of user> • What are we building, what is the intention?  — I want <some goal or objective > • Why are we building it, what value it bring for the user.? — So that <benefit, value>
  • 8. What Is Epic? • When a story is too large, it is called an epic. • An Epic can not be completed in a week time, or any work which will take a full sprint to complete. By observation 5-10 user stories comprise of one Epic in agile methodology. • For release planning, epics should be broken down into smaller chunks.
  • 9. s
  • 10. User Story Example As a customer, I want to be able to create an account so that I can see the purchases I made in the last year to help me budget for next year.
  • 11. Why Write User Stories? Simply listing a set of tasks for your team, while sometimes effective, can be confusing. This can stem from a number of causes: •Vague context •Unclear expectations •Being overly technical
  • 12. Characteristics Of A User Story • A story should be small enough to be coded and tested within an iteration. • We should focus on what the user is doing or getting out of the story. • The goal is that when the user story is done, the user can do something of value to them.
  • 13. COS (Condition Of Satisfaction) • COS provide the Definition of Done for the story. • As details about the story evolve, capture the critical ones as acceptance criteria. • List as many acceptance criteria as possible in order to clarify the intent of the story. • Once an iteration has begun, testers can formalize acceptance criteria into acceptance tests. • By using bullet points, you can keep each criteria item brief and clear.
  • 15. INVEST • (I)ndepdendent • (N)egotiable • (V)aluable • (E)stimable • (S)mall • (T)estable
  • 16. Tips to write good user stories
  • 17. 1 Stories for user As its name suggests, a user story describes how a customer or user employs the product; It should be written from the user’s perspective.
  • 18. 1. Stories For User (cont.) Example: "As a user I want to be able to manage ads, so that I can remove expired and erroneous ads.“ What’s Wrong With it ?
  • 19. What Is Wrong Here?
  • 20. Now What is wrong here? "As an commercial advertiser I want to have filtering option.”
  • 21. No Acceptance Criteria or Conditions of Satisfaction • Not having COS can cause the whole chain of mistakes starting with wrong definition of development tasks or wrong estimation. • Story can failed the tests or Test Cases will cover different criteria due to lack of understanding. • Asking questions such as ‘What if … ?’, ‘Where …?’, ‘When …?’, ‘How …?’ • Use examples and simple drawings to remove assumptions
  • 22. 2. Stories For Developer ‘As a commercial user I want the system to allow me run multiple searches at the same time, so that I can do my job faster.’ • Re-factor search handling mechanism to allow multiple threads for single use • Update java version to 64-bit one. Acceptance criteria need to define some measurable and testable definition of improvement like: ‘Single user can run 5 searches at the same time.’ ‘Search returns results in less than 4 seconds.’
  • 23. COS Example  As a conference attendee, I want to be able to register online, so I can register quickly and cut down on paperwork. • A user cannot submit a form without completing all the mandatory fields. • Information from the form is stored in the registrations database. • Protection against spam is working. • Payment can be made via credit card. • An acknowledgment email is sent to the user after submitting the form.
  • 24. Form a group of 3 people
  • 25.
  • 26. Please collect • Take Sticky notes • Pencil & eraser for each team
  • 27. We are creating a Search Engine
  • 29. Epic
  • 33. Stories? • Make DB tables to store search User data (IP and keyword) • Search keywords (Type the keyword and get result) • Result Listing. • Performance. (will find within 1 sec)
  • 34. Lets verify the Stories
  • 35. Write COS for stories
  • 37. Why we need smaller stories? • Small stories provide focus and a short horizon for the team. • Smaller stories enable more frequent handoffs and allow testers to work on smaller chunks of code. • Small stories give you the flexibility to reconfigure and adapt to new discoveries or changes. • Small stories provide more feedback opportunities at all levels of the system and more opportunities for personal satisfaction. • Large stories increase the risk that your team will deliver nothing at the end of the iteration.
  • 38. Reference: • http://www.yodiz.com/blog/writing-user-stories-examples-and-templates-in-agile-methodologies/ • http://www.agilemodeling.com/artifacts/userStory.htm • https://medium.com/@rachid/3-common-user-story-mistakes-2cb2d14b5061#.ob95zxhi0 • https://www.scrumalliance.org/community/articles/2011/august/5-common-mistakes-we-make-writing- user-stories • http://www.yodiz.com/blog/writing-user-stories-examples-and-templates-in-agile-methodologies/ • http://www.boost.co.nz/blog/2010/09/acceptance-criteria/ • http://www.yodiz.com/blog/what-is-epic-in-agile-methodology-definition-and-template-of-epic/

Editor's Notes

  1. Independent - We want to be able to develop in any sequence. Negotiable - Avoid too much detail, keep them flexible so the team can adjust how much of the story to implement. Valuable - Users or customers get some value from the story. Estimable - The team must be able to use them for planning. Small - Large stories are harder to estimate and plan. By the time of iteration planning, the story should be able to be designed, coded, and tested within the iteration. Testable - Document acceptance criteria, or the definition of done for the story, which lead to test cases.
  2. If you don’t know who the users and customers are and why they would want to use the product, then you should not write any user stories. Carry out the necessary user research first, for example, by observing and interviewing users. Otherwise, you take the risk of writing speculative stories that are based on beliefs and ideas—but not on data and empirical evidence.
  3. This case what is missing is persona or role mentioned. At the first glance you don’t see any issues with that User Story, because all the required elements are present. Now tell me who is the user for whom you are going to build that feature of ads management and what does he understand ads management? Is that a portal administrator, who wants to have possibly of database clean-up and ads moderation? Or maybe it is an advertiser, who wants to have list of all ads he submitted to the side and have possibility of removing ads when they are not needed any longer or there was error found in the content? As you may noticed, I mentioned only two different roles with different expectations from the system. I this case what is missing is persona or role mentioned.
  4. No Business Value or Benefit for Customer We have the role, we have the need, but reason and business value are missing. Why does an commercial advertiser want to have filtering option? What does he want to achieve?
  5. This typical example of Story for a Technical Backlog or technical requirement representation. Sometimes User Stories like this one are also part of so called technical debt. Technical debt consists of necessary maintenance tasks like software updates, re-factoring, changing frameworks and so on. They are totally rightful to be implemented, but represented like in the example above they do not represent value for the customer and you will not get a buy-in from Product Owner. Also from the ‘agile point of view’, you need to deliver a business value at the end of every iteration and the team needs to be able to present it to the stakeholders on the review meeting. How to write such a story correctly? Rewrite it from a user point of view with persona on role. Example: ‘As a commercial user I want the system to allow me run multiple searches at the same time, so that I can do my job faster.’ Task to go with it can be: ‘Re-factor search handling mechanism to allow multiple threads for single user.’, ‘Update java version to 64-bit one.’ Acceptance criteria need to define some measurable and testable definition of improvement like: ‘Single user can run 5 searches at the same time.’ and ‘Search returns results in less than 4 seconds.’
  6. Small stories provide focus and a short horizon for the team. It’s easier to get lost in the details with a larger story. When you still have development to test handoffs (i.e. before you start doing ATDD(Acceptance Test Driven Development), smaller stories enable more frequent handoffs and allow testers to work on smaller chunks of code. Small stories give you the flexibility to reconfigure and adapt to new discoveries or changes. Perhaps the PO discovers that an existing story is now irrelevant; or while coding you discover a surprise. Small stories make it easier to adapt. Small stories provide more feedback opportunities at all levels of the system and more opportunities for personal satisfaction; think of the small dopamine rush that happens every time you complete something! Large stories increase the risk that your team will deliver nothing at the end of the iteration. Your team has a capacity like a drain pipe and just like a pipe the larger the object you try to push through it the more likely it is that blockages and bottlenecks will occur. Perhaps one person who is tied up in the large story may also be the only person who can complete a key piece of another story.