SlideShare uma empresa Scribd logo
1 de 12
USER STORIES &
DECOMPOSING
REQUIREMENTS
WHAT IS A USER STORY?
• A REGULAR STORY IS ABOUT SOME PERSONS, THEY ARE IN A
SITUATION, SOMETHING HAPPENS THAT IS INTERESTING, THEN THERE
IS AN OUTCOME AND AN END
• SOMETIMES THERE IS A MORAL OR SOME RATIONALE FOR IT ALL
• USER STORIES ARE STORIES ABOUT A USER OF OUR PRODUCT.
THERE IS A SITUATION, THE USER DOES SOMETHING AND THE
PRODUCT RESPONDS GIVING THE USER SOME RESULT (HOPEFULLY
OF VALUE FOR THE USER)
WHAT IS A USER STORY?
• A USER’S NEED
• A PLANNING ITEM
• A REQUIREMENT
• A (CHUNK OF) PRODUCT DESCRIPTION
• A COMMUNICATION TOOL
• A DISCUSSION OPENER
USER STORY FORMATS
FOCUS ON THE BUSINESS GOAL
•TITLE
•IN ORDER TO <BUSINESS GOAL>
•AS <A ROLE>
•I WANT <FUNCTIONALITY>
USER STORY FORMATS
FOCUS ON THE ROLE
•TITLE
•AS <A ROLE>
•IN ORDER TO <BUSINESS GOAL>
•I WANT <FUNCTIONALITY>
WHY USER STORIES?
• USER STORIES PROMOTE TRANSPARENCY BEING INTUITIVELY
UNDERSTANDABLE FOR ALL INVOLVED (USUALLY ALSO FOR
STAKEHOLDERS)
• HELP FOCUS ON THE USER AND VALUABLE BUSINESS OUTCOMES
• HELP START DISCUSSIONS – BUT ALSO HELP CAPTURE THEIR
OUTCOMES
GWT – GIVEN WHEN
THEN
• “GIVEN-WHEN-THEN” – PART OF THE BDD APPROACH, GAINING
POPULARITY AS ACCEPTANCE TESTING SO FORMULATED
REQUIREMENTS CAN BE AUTOMATED (JBEHAVE, RSPEC, CUCUMBER
ETC.).
• ALSO USEFUL WITHOUT BDD&TOOLS FOR DESCRIBING
REQUIREMENTS FOR SYSTEMS WITHOUT HUMAN USERS WHICH
USUALLY ARE STATE MACHINES RESPONDING TO EXTERNAL EVENTS
GIVEN WHEN THEN
DETAILS
• STRUCTURE:
• GIVEN <INITIAL CONTEXT>
• WHEN <ACTION / EVENT>
• THEN <OUTCOME>
• EXAMPLE:
• GIVEN I AM A PREMIUM USER AND I HAVE A HOTEL RESERVATION
• WHEN I CANCEL IT UP TO 4 DAYS BEFORE TRAVELING
• THEN I GET FULL REFUND
TYPES OF LARGE
STORIES
• COMPOUND STORIES - USUALLY MADE UP OF SEVERAL SMALLER
STORIES
• COMPLEX STORIES - USUALLY INHERENTLY LARGE STORIES,
OFTEN BECAUSE THERE IS SOME UNCERTAINTY ABOUT WHAT NEEDS
TO BE DONE.
BREAKING DOWN USER
STORIES
• CRUD – CREATE, READ, UPDATE, DELETE
• ACCEPTANCE CRITERIA – SEPARATELY POSITIVE SCENARIO, NEGATIVE
SCENARIO, EXCEPTIONS ETC.
• DECISION TREES – CONSIDER, THEN IMPLEMENT BRANCHES
• WORKFLOW STEPS – WORKFLOW SEQUENCE ONE BY ONE
• NONE, ONE, MANY – CONSIDER SEPARATELY SIZES
• EXTERNAL (INCREMENTAL) QUALITY – GRADUALLY IMPROVE UI,
PERFORMANCE ETC.
• “SPIKES” – TIME-BOXED EXPLORATION
SOURCES
• “GROWING AGILE” – BLOG POST ABOUT BREAKING DOWN
REQUIREMENTS
• HTTP://GROWINGAGILE.CO.ZA/2012/12/BREAKING-DOWN-USER-
STORIES/
• “PATTERNS FOR SPLITTING USER STORIES” – RICHARD LAWRENCE
• HTTP://WWW.RICHARDLAWRENCE.INFO/2009/10/28/PATTERNS-
FOR-SPLITTING-USER-STORIES/
• “USER STORIES APPLIED” – MIKE COHN, 2004 ISBN 978-0321205681
WWW.CODESPRINTERS.COM
THANK YOU
v5

Mais conteúdo relacionado

Semelhante a User stories and decomposing requirements

Thin Slicing the Technology Adoption Life Cycle
Thin Slicing the Technology Adoption Life CycleThin Slicing the Technology Adoption Life Cycle
Thin Slicing the Technology Adoption Life Cycle
Kent Richmond
 
StartupCamp Bratislava #29 - Manage Strategy tool
StartupCamp Bratislava #29 - Manage Strategy toolStartupCamp Bratislava #29 - Manage Strategy tool
StartupCamp Bratislava #29 - Manage Strategy tool
StartupCamp
 

Semelhante a User stories and decomposing requirements (20)

Agile_Software_Development_SCRUM_18Jan2022.pptx
Agile_Software_Development_SCRUM_18Jan2022.pptxAgile_Software_Development_SCRUM_18Jan2022.pptx
Agile_Software_Development_SCRUM_18Jan2022.pptx
 
Agile User Stories | The complete Review
Agile User Stories | The complete ReviewAgile User Stories | The complete Review
Agile User Stories | The complete Review
 
Agile vs Waterfall Project management
Agile vs Waterfall  Project management Agile vs Waterfall  Project management
Agile vs Waterfall Project management
 
Agile lean workshop
Agile lean workshopAgile lean workshop
Agile lean workshop
 
Strange Data
Strange DataStrange Data
Strange Data
 
Reigniting the Volusion platform
Reigniting the Volusion platformReigniting the Volusion platform
Reigniting the Volusion platform
 
What is product management?
What is product management?What is product management?
What is product management?
 
Introduction to Agile scrum
Introduction to Agile scrumIntroduction to Agile scrum
Introduction to Agile scrum
 
Software engineering presentation on modelling requirement engineering and bp...
Software engineering presentation on modelling requirement engineering and bp...Software engineering presentation on modelling requirement engineering and bp...
Software engineering presentation on modelling requirement engineering and bp...
 
Customer satisfaction
Customer satisfactionCustomer satisfaction
Customer satisfaction
 
Post production
Post productionPost production
Post production
 
Webinar marketing sucess
Webinar marketing sucessWebinar marketing sucess
Webinar marketing sucess
 
DevOps Journey of Foundational Services at Haufe
DevOps Journey of Foundational Services at HaufeDevOps Journey of Foundational Services at Haufe
DevOps Journey of Foundational Services at Haufe
 
Discovery Phase: Planing Your Web Project
Discovery Phase: Planing Your Web ProjectDiscovery Phase: Planing Your Web Project
Discovery Phase: Planing Your Web Project
 
Thin Slicing the Technology Adoption Life Cycle
Thin Slicing the Technology Adoption Life CycleThin Slicing the Technology Adoption Life Cycle
Thin Slicing the Technology Adoption Life Cycle
 
Product Management
Product ManagementProduct Management
Product Management
 
the HeART of the CLOSE, Raju Mandhyan
the HeART of the CLOSE, Raju Mandhyanthe HeART of the CLOSE, Raju Mandhyan
the HeART of the CLOSE, Raju Mandhyan
 
Hilary Corna - Real Time Reset for a Business Interrupted -- EOS Conference M...
Hilary Corna - Real Time Reset for a Business Interrupted -- EOS Conference M...Hilary Corna - Real Time Reset for a Business Interrupted -- EOS Conference M...
Hilary Corna - Real Time Reset for a Business Interrupted -- EOS Conference M...
 
Business for engineers part 4: Value proposition
Business for engineers part 4: Value propositionBusiness for engineers part 4: Value proposition
Business for engineers part 4: Value proposition
 
StartupCamp Bratislava #29 - Manage Strategy tool
StartupCamp Bratislava #29 - Manage Strategy toolStartupCamp Bratislava #29 - Manage Strategy tool
StartupCamp Bratislava #29 - Manage Strategy tool
 

Mais de Andy Brandt

Wymagania - cele, funkcjonalność, rozwiązania
Wymagania - cele, funkcjonalność, rozwiązaniaWymagania - cele, funkcjonalność, rozwiązania
Wymagania - cele, funkcjonalność, rozwiązania
Andy Brandt
 
Agile introduction for the American Chamber of Commerce members
Agile introduction for the American Chamber of Commerce membersAgile introduction for the American Chamber of Commerce members
Agile introduction for the American Chamber of Commerce members
Andy Brandt
 

Mais de Andy Brandt (12)

Samozarzadzanie - Produkt nad Wisłą
Samozarzadzanie - Produkt nad WisłąSamozarzadzanie - Produkt nad Wisłą
Samozarzadzanie - Produkt nad Wisłą
 
Uważaj! Możesz urosnąć!
Uważaj! Możesz urosnąć!Uważaj! Możesz urosnąć!
Uważaj! Możesz urosnąć!
 
Agile - 5 points for managers
Agile - 5 points for managersAgile - 5 points for managers
Agile - 5 points for managers
 
Skalowanie Agile dla ALE Krakow
Skalowanie Agile dla ALE KrakowSkalowanie Agile dla ALE Krakow
Skalowanie Agile dla ALE Krakow
 
Prezentacje z Agile Update listopad 2014
Prezentacje z Agile Update listopad 2014Prezentacje z Agile Update listopad 2014
Prezentacje z Agile Update listopad 2014
 
Wymagania - cele, funkcjonalność, rozwiązania
Wymagania - cele, funkcjonalność, rozwiązaniaWymagania - cele, funkcjonalność, rozwiązania
Wymagania - cele, funkcjonalność, rozwiązania
 
Startup Offshoring from StartupCamp Switzerland 2014
Startup Offshoring from StartupCamp Switzerland 2014Startup Offshoring from StartupCamp Switzerland 2014
Startup Offshoring from StartupCamp Switzerland 2014
 
Skalowanie Agile
Skalowanie AgileSkalowanie Agile
Skalowanie Agile
 
Agile introduction for the American Chamber of Commerce members
Agile introduction for the American Chamber of Commerce membersAgile introduction for the American Chamber of Commerce members
Agile introduction for the American Chamber of Commerce members
 
Agile company pl
Agile company plAgile company pl
Agile company pl
 
Agile managers
Agile managersAgile managers
Agile managers
 
Zwinne metodyki w zarządzaniu
Zwinne metodyki w zarządzaniuZwinne metodyki w zarządzaniu
Zwinne metodyki w zarządzaniu
 

Último

IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
Enterprise Knowledge
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
giselly40
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
vu2urc
 

Último (20)

Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 

User stories and decomposing requirements

  • 2. WHAT IS A USER STORY? • A REGULAR STORY IS ABOUT SOME PERSONS, THEY ARE IN A SITUATION, SOMETHING HAPPENS THAT IS INTERESTING, THEN THERE IS AN OUTCOME AND AN END • SOMETIMES THERE IS A MORAL OR SOME RATIONALE FOR IT ALL • USER STORIES ARE STORIES ABOUT A USER OF OUR PRODUCT. THERE IS A SITUATION, THE USER DOES SOMETHING AND THE PRODUCT RESPONDS GIVING THE USER SOME RESULT (HOPEFULLY OF VALUE FOR THE USER)
  • 3. WHAT IS A USER STORY? • A USER’S NEED • A PLANNING ITEM • A REQUIREMENT • A (CHUNK OF) PRODUCT DESCRIPTION • A COMMUNICATION TOOL • A DISCUSSION OPENER
  • 4. USER STORY FORMATS FOCUS ON THE BUSINESS GOAL •TITLE •IN ORDER TO <BUSINESS GOAL> •AS <A ROLE> •I WANT <FUNCTIONALITY>
  • 5. USER STORY FORMATS FOCUS ON THE ROLE •TITLE •AS <A ROLE> •IN ORDER TO <BUSINESS GOAL> •I WANT <FUNCTIONALITY>
  • 6. WHY USER STORIES? • USER STORIES PROMOTE TRANSPARENCY BEING INTUITIVELY UNDERSTANDABLE FOR ALL INVOLVED (USUALLY ALSO FOR STAKEHOLDERS) • HELP FOCUS ON THE USER AND VALUABLE BUSINESS OUTCOMES • HELP START DISCUSSIONS – BUT ALSO HELP CAPTURE THEIR OUTCOMES
  • 7. GWT – GIVEN WHEN THEN • “GIVEN-WHEN-THEN” – PART OF THE BDD APPROACH, GAINING POPULARITY AS ACCEPTANCE TESTING SO FORMULATED REQUIREMENTS CAN BE AUTOMATED (JBEHAVE, RSPEC, CUCUMBER ETC.). • ALSO USEFUL WITHOUT BDD&TOOLS FOR DESCRIBING REQUIREMENTS FOR SYSTEMS WITHOUT HUMAN USERS WHICH USUALLY ARE STATE MACHINES RESPONDING TO EXTERNAL EVENTS
  • 8. GIVEN WHEN THEN DETAILS • STRUCTURE: • GIVEN <INITIAL CONTEXT> • WHEN <ACTION / EVENT> • THEN <OUTCOME> • EXAMPLE: • GIVEN I AM A PREMIUM USER AND I HAVE A HOTEL RESERVATION • WHEN I CANCEL IT UP TO 4 DAYS BEFORE TRAVELING • THEN I GET FULL REFUND
  • 9. TYPES OF LARGE STORIES • COMPOUND STORIES - USUALLY MADE UP OF SEVERAL SMALLER STORIES • COMPLEX STORIES - USUALLY INHERENTLY LARGE STORIES, OFTEN BECAUSE THERE IS SOME UNCERTAINTY ABOUT WHAT NEEDS TO BE DONE.
  • 10. BREAKING DOWN USER STORIES • CRUD – CREATE, READ, UPDATE, DELETE • ACCEPTANCE CRITERIA – SEPARATELY POSITIVE SCENARIO, NEGATIVE SCENARIO, EXCEPTIONS ETC. • DECISION TREES – CONSIDER, THEN IMPLEMENT BRANCHES • WORKFLOW STEPS – WORKFLOW SEQUENCE ONE BY ONE • NONE, ONE, MANY – CONSIDER SEPARATELY SIZES • EXTERNAL (INCREMENTAL) QUALITY – GRADUALLY IMPROVE UI, PERFORMANCE ETC. • “SPIKES” – TIME-BOXED EXPLORATION
  • 11. SOURCES • “GROWING AGILE” – BLOG POST ABOUT BREAKING DOWN REQUIREMENTS • HTTP://GROWINGAGILE.CO.ZA/2012/12/BREAKING-DOWN-USER- STORIES/ • “PATTERNS FOR SPLITTING USER STORIES” – RICHARD LAWRENCE • HTTP://WWW.RICHARDLAWRENCE.INFO/2009/10/28/PATTERNS- FOR-SPLITTING-USER-STORIES/ • “USER STORIES APPLIED” – MIKE COHN, 2004 ISBN 978-0321205681

Notas do Editor

  1. The last sentence is just an opinion/suggestion. I think when dealing with systems like eg. routers, transaction systems or some SCADA systems where there are no human users specifying reqs as user stories feels awkward and doesn’t help in testing. GWT is a better idea there, though it can of course be used with all kinds of systems.