SlideShare ist ein Scribd-Unternehmen logo
1 von 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

Weitere ähnliche Inhalte

Ähnlich wie 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
 

Ähnlich wie 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
 

Mehr von 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
 

Mehr von 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
 

Kürzlich hochgeladen

+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 

Kürzlich hochgeladen (20)

Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdf
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
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
 
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
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
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
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
 

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

Hinweis der Redaktion

  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.