SlideShare une entreprise Scribd logo
1  sur  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

Contenu connexe

Similaire à User stories and decomposing requirements

Agile User Stories | The complete Review
Agile User Stories | The complete ReviewAgile User Stories | The complete Review
Agile User Stories | The complete ReviewDavid Tzemach
 
Agile vs Waterfall Project management
Agile vs Waterfall  Project management Agile vs Waterfall  Project management
Agile vs Waterfall Project management Kostiantyn Trefiak
 
Agile lean workshop
Agile lean workshopAgile lean workshop
Agile lean workshopJesse Wang
 
Reigniting the Volusion platform
Reigniting the Volusion platformReigniting the Volusion platform
Reigniting the Volusion platformAndrew Siemer
 
What is product management?
What is product management?What is product management?
What is product management?Martin Sabag
 
Introduction to Agile scrum
Introduction to Agile scrumIntroduction to Agile scrum
Introduction to Agile scrumSachin Khosla
 
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...Shaila Rahman Shammi
 
Webinar marketing sucess
Webinar marketing sucessWebinar marketing sucess
Webinar marketing sucessFaraad Coston
 
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 HaufeHaufe-Lexware GmbH & Co KG
 
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 CycleKent Richmond
 
Product Management
Product ManagementProduct Management
Product ManagementADITYA KARWA
 
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 MandhyanRaju 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...Hilary Corna
 
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 propositionJan Isakovic
 
StartupCamp Bratislava #29 - Manage Strategy tool
StartupCamp Bratislava #29 - Manage Strategy toolStartupCamp Bratislava #29 - Manage Strategy tool
StartupCamp Bratislava #29 - Manage Strategy toolStartupCamp
 

Similaire à 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
 

Plus de Andy Brandt

Samozarzadzanie - Produkt nad Wisłą
Samozarzadzanie - Produkt nad WisłąSamozarzadzanie - Produkt nad Wisłą
Samozarzadzanie - Produkt nad WisłąAndy Brandt
 
Uważaj! Możesz urosnąć!
Uważaj! Możesz urosnąć!Uważaj! Możesz urosnąć!
Uważaj! Możesz urosnąć!Andy Brandt
 
Agile - 5 points for managers
Agile - 5 points for managersAgile - 5 points for managers
Agile - 5 points for managersAndy Brandt
 
Skalowanie Agile dla ALE Krakow
Skalowanie Agile dla ALE KrakowSkalowanie Agile dla ALE Krakow
Skalowanie Agile dla ALE KrakowAndy Brandt
 
Prezentacje z Agile Update listopad 2014
Prezentacje z Agile Update listopad 2014Prezentacje z Agile Update listopad 2014
Prezentacje z Agile Update listopad 2014Andy Brandt
 
Wymagania - cele, funkcjonalność, rozwiązania
Wymagania - cele, funkcjonalność, rozwiązaniaWymagania - cele, funkcjonalność, rozwiązania
Wymagania - cele, funkcjonalność, rozwiązaniaAndy Brandt
 
Startup Offshoring from StartupCamp Switzerland 2014
Startup Offshoring from StartupCamp Switzerland 2014Startup Offshoring from StartupCamp Switzerland 2014
Startup Offshoring from StartupCamp Switzerland 2014Andy Brandt
 
Skalowanie Agile
Skalowanie AgileSkalowanie Agile
Skalowanie AgileAndy 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 membersAndy Brandt
 
Agile company pl
Agile company plAgile company pl
Agile company plAndy Brandt
 
Zwinne metodyki w zarządzaniu
Zwinne metodyki w zarządzaniuZwinne metodyki w zarządzaniu
Zwinne metodyki w zarządzaniuAndy Brandt
 

Plus 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
 

Dernier

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...DianaGray10
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businesspanagenda
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodJuan lago vázquez
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu SubbuApidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbuapidays
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxRustici Software
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FMESafe Software
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native ApplicationsWSO2
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherRemote DBA Services
 
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 Scriptwesley chun
 
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...Martijn de Jong
 
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 REVIEWERMadyBayot
 
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].pdfOverkill Security
 
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 Processorsdebabhi2
 
"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 ...Zilliz
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDropbox
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?Igalia
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024The Digital Insurer
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...apidays
 
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 RobisonAnna Loughnan Colquhoun
 

Dernier (20)

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...
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu SubbuApidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
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
 
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...
 
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
 
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
 
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
 
"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 ...
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
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
 

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

Notes de l'éditeur

  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.