SlideShare a Scribd company logo
1 of 53
Happy, Sad, Evil, Weird
Driving Feature Development With Use Case
Planning
Who Am I?
Ben Lewis
Engineering Lead Blogger
OS Contributor Mentor
What Am I Talking
About?
Use Case Planning
Save Money
Look Ahead
Usually…
But there’s also…
Bad Data
Bad Data
Hacker Attack
Bad Data
Hacker Attack
Chaos
What Is Use Case
Planning?
Mark Shacklette
University of Chicago CS Department
Use Case Analysis: Purpose and
Implementation
http://people.cs.uchicago.edu/~mark/51023/Ucstyleg.html
What’s required to build it?
How should it behave?
Who’s involved? (People, systems and processes)
We’re Building A System
Who’s Involved?
Product Owner
Designer
Developer
QA Technician
User Experience Driven
Design for the user
Talk about behavior in user’s terms
Think through all of the behavior you can
Scenarios
Why Consider Use
Cases?
Everyone can understand plain language
Agreements will stick better
Fewer things fall through the cracks
Prevents bugs
Guides architectural decisions
It’s a Sketch
Use Case Story
Use Case Diagram
UX Diagram
Wireframe
Design Comp
Development Code
Production
Easy to Change
Hard to Change
How To Plan Use Cases
Answer Four Questions
1. Who are the actors and what are their roles?
2. What’s the purpose of this feature?
3. What are the use cases?
4. How do the use cases relate to each other?
Who are the actors and
what are their roles?
What’s the purpose
of this feature?
What are the use cases?
How do the use cases
relate to each other?
A Use Case Diagram
"Use case restaurant model" by Kishorekumar 62. Licensed under CC BY-SA 3.0 via Wikimedia Commons -
http://commons.wikimedia.org/wiki/File:Use_case_restaurant_model.svg#/media/File:Use_case_restaurant_model.svg
Turn Use
Cases Into
Stories
An Example
1. Who are the actors
and what are their roles?
User - exchange money for services
Merchant - exchange services for money
Platform Owner - provide the platform for money
SaaS Platform (The App) - make the exchange
possible
CC Service (Stripe) - Verify and charge card, store data
Credit Card Company - Transfer funds if available
2. What’s the purpose
of this feature?
Take money from the user
Give it to the merchant
and SaaS platform owner
3. What are the use
cases?
Happy Paths
Sad Paths
Evil Paths
Weird Paths
Sad Paths
User fills out the credit card form with invalid information
Credit card is rejected
Stripe accepts card on client but server charge fails
Evil Paths
Hacker breaks into server and steals data and system logs
User figures out how to change price in hidden form field
Hacker launches CSRF attack and creates bogus charges
Weird Paths
Stripe server goes down
JavaScript is disabled, form gets submitted to SaaS server
Connection to Stripe is interrupted
Happy Paths
User fills out form with valid data and clicks submit
Credit card charge is accepted
4. How do the use cases
relate to each other?
SaaS Platform
Stripe
Credit Card
Company
💣
💣
💣
💸
Stories!
As a user, when I complete the form with invalid
information and click submit, I should see the invalid
inputs become highlighted, and I should see
validation errors telling me what went wrong so that I
can correct my error and successfully buy products.
Stories!
…and 11 others
As a user, when I complete the form with invalid
information and click submit, I should see the invalid
inputs become highlighted, and I should see
validation errors telling me what went wrong so that I
can correct my error and successfully buy products.
Conclusion
Use Case Planning
Goals
Design with the user experience in mind
Think about how the feature should behave
Agree on the answer to “what are we building?”
Benefits
Gives all the stakeholders a voice
Uncovers edge cases early
Low cost way of changing a feature
Process
1. Who are the actors and what are their roles?
2. What’s the purpose of this feature?
3. What are the use cases?
4. How do the use cases relate to each other?
Answer these four questions:
Results
(Stories)
fin.
Ben Lewis
blewis@quickleft.com
@fluxusfrequency
fluxusfrequency.github.io
github.com/fluxusfrequency
Peanut Gallery

More Related Content

Similar to Happy sad evil_weird

Onrec Talk V9
Onrec Talk V9Onrec Talk V9
Onrec Talk V9SiConroy
 
Essay About India Gate In Hindi. Online assignment writing service.
Essay About India Gate In Hindi. Online assignment writing service.Essay About India Gate In Hindi. Online assignment writing service.
Essay About India Gate In Hindi. Online assignment writing service.Melanie Williams
 
How To Write A Comparing And Contrasting Essay Gra
How To Write A Comparing And Contrasting Essay GraHow To Write A Comparing And Contrasting Essay Gra
How To Write A Comparing And Contrasting Essay GraNichole Brown
 
Transacting PPT.pptx
Transacting PPT.pptxTransacting PPT.pptx
Transacting PPT.pptxLyndaWillett
 
Coping with Forms: Implementing a Web Form Management Application, Dan Jackso...
Coping with Forms: Implementing a Web Form Management Application, Dan Jackso...Coping with Forms: Implementing a Web Form Management Application, Dan Jackso...
Coping with Forms: Implementing a Web Form Management Application, Dan Jackso...IWMW
 
User Story Maps: Secrets for Better Backlogs and Planning
 User Story Maps: Secrets for Better Backlogs and Planning User Story Maps: Secrets for Better Backlogs and Planning
User Story Maps: Secrets for Better Backlogs and PlanningAaron Sanders
 
The Topic Sentence Is A Key Element To Writing On Topic.
The Topic Sentence Is A Key Element To Writing On Topic.The Topic Sentence Is A Key Element To Writing On Topic.
The Topic Sentence Is A Key Element To Writing On Topic.Toya Shamberger
 
Behaviour Driven Development (BDD) - Closing the Loop on a Great Fiori UX
Behaviour Driven Development (BDD) - Closing the Loop on a Great Fiori UXBehaviour Driven Development (BDD) - Closing the Loop on a Great Fiori UX
Behaviour Driven Development (BDD) - Closing the Loop on a Great Fiori UXJohn Patterson
 
Dave Roth - Context is king
Dave Roth - Context is kingDave Roth - Context is king
Dave Roth - Context is kingUX Ukraine
 
Career training ppt jan2012 final
Career training ppt jan2012 finalCareer training ppt jan2012 final
Career training ppt jan2012 finalPAPrice
 
Make Your Admission Essay With The Help Of Admission
Make Your Admission Essay With The Help Of AdmissionMake Your Admission Essay With The Help Of Admission
Make Your Admission Essay With The Help Of AdmissionChristy Davis
 
My Role Model Essay Introduction In 2021 Essa
My Role Model Essay Introduction In 2021 EssaMy Role Model Essay Introduction In 2021 Essa
My Role Model Essay Introduction In 2021 EssaLisa Graves
 
Basha Chai --BashaChai.xyz Report
Basha Chai --BashaChai.xyz ReportBasha Chai --BashaChai.xyz Report
Basha Chai --BashaChai.xyz ReportTaniv Ashraf
 
Dbq Essay Outline Regents. Online assignment writing service.
Dbq Essay Outline Regents. Online assignment writing service.Dbq Essay Outline Regents. Online assignment writing service.
Dbq Essay Outline Regents. Online assignment writing service.Jennifer Subhedar
 
What Am I Buying? Understanding Website Cost and Technology
What Am I Buying? Understanding Website Cost and TechnologyWhat Am I Buying? Understanding Website Cost and Technology
What Am I Buying? Understanding Website Cost and TechnologyIan Mariano
 
The Art of Gherkin Scripting - Matt Eakin
The Art of Gherkin Scripting - Matt EakinThe Art of Gherkin Scripting - Matt Eakin
The Art of Gherkin Scripting - Matt EakinQA or the Highway
 
What am i buying understanding website cost and technology 17 ntc
What am i buying   understanding website cost and technology 17 ntcWhat am i buying   understanding website cost and technology 17 ntc
What am i buying understanding website cost and technology 17 ntcIan Mariano
 
Essay Cars Enslave Us Rather Than Liberate Us
Essay Cars Enslave Us Rather Than Liberate UsEssay Cars Enslave Us Rather Than Liberate Us
Essay Cars Enslave Us Rather Than Liberate UsAmanda Anderson
 
Inglourious Basterds Essay Topics
Inglourious Basterds Essay TopicsInglourious Basterds Essay Topics
Inglourious Basterds Essay TopicsMaria Gomez
 

Similar to Happy sad evil_weird (20)

Onrec Talk V9
Onrec Talk V9Onrec Talk V9
Onrec Talk V9
 
Essay About India Gate In Hindi. Online assignment writing service.
Essay About India Gate In Hindi. Online assignment writing service.Essay About India Gate In Hindi. Online assignment writing service.
Essay About India Gate In Hindi. Online assignment writing service.
 
How To Write A Comparing And Contrasting Essay Gra
How To Write A Comparing And Contrasting Essay GraHow To Write A Comparing And Contrasting Essay Gra
How To Write A Comparing And Contrasting Essay Gra
 
Transacting PPT.pptx
Transacting PPT.pptxTransacting PPT.pptx
Transacting PPT.pptx
 
Coping with Forms: Implementing a Web Form Management Application, Dan Jackso...
Coping with Forms: Implementing a Web Form Management Application, Dan Jackso...Coping with Forms: Implementing a Web Form Management Application, Dan Jackso...
Coping with Forms: Implementing a Web Form Management Application, Dan Jackso...
 
User Story Maps: Secrets for Better Backlogs and Planning
 User Story Maps: Secrets for Better Backlogs and Planning User Story Maps: Secrets for Better Backlogs and Planning
User Story Maps: Secrets for Better Backlogs and Planning
 
The Topic Sentence Is A Key Element To Writing On Topic.
The Topic Sentence Is A Key Element To Writing On Topic.The Topic Sentence Is A Key Element To Writing On Topic.
The Topic Sentence Is A Key Element To Writing On Topic.
 
Behaviour Driven Development (BDD) - Closing the Loop on a Great Fiori UX
Behaviour Driven Development (BDD) - Closing the Loop on a Great Fiori UXBehaviour Driven Development (BDD) - Closing the Loop on a Great Fiori UX
Behaviour Driven Development (BDD) - Closing the Loop on a Great Fiori UX
 
Dave Roth - Context is king
Dave Roth - Context is kingDave Roth - Context is king
Dave Roth - Context is king
 
BDD
BDDBDD
BDD
 
Career training ppt jan2012 final
Career training ppt jan2012 finalCareer training ppt jan2012 final
Career training ppt jan2012 final
 
Make Your Admission Essay With The Help Of Admission
Make Your Admission Essay With The Help Of AdmissionMake Your Admission Essay With The Help Of Admission
Make Your Admission Essay With The Help Of Admission
 
My Role Model Essay Introduction In 2021 Essa
My Role Model Essay Introduction In 2021 EssaMy Role Model Essay Introduction In 2021 Essa
My Role Model Essay Introduction In 2021 Essa
 
Basha Chai --BashaChai.xyz Report
Basha Chai --BashaChai.xyz ReportBasha Chai --BashaChai.xyz Report
Basha Chai --BashaChai.xyz Report
 
Dbq Essay Outline Regents. Online assignment writing service.
Dbq Essay Outline Regents. Online assignment writing service.Dbq Essay Outline Regents. Online assignment writing service.
Dbq Essay Outline Regents. Online assignment writing service.
 
What Am I Buying? Understanding Website Cost and Technology
What Am I Buying? Understanding Website Cost and TechnologyWhat Am I Buying? Understanding Website Cost and Technology
What Am I Buying? Understanding Website Cost and Technology
 
The Art of Gherkin Scripting - Matt Eakin
The Art of Gherkin Scripting - Matt EakinThe Art of Gherkin Scripting - Matt Eakin
The Art of Gherkin Scripting - Matt Eakin
 
What am i buying understanding website cost and technology 17 ntc
What am i buying   understanding website cost and technology 17 ntcWhat am i buying   understanding website cost and technology 17 ntc
What am i buying understanding website cost and technology 17 ntc
 
Essay Cars Enslave Us Rather Than Liberate Us
Essay Cars Enslave Us Rather Than Liberate UsEssay Cars Enslave Us Rather Than Liberate Us
Essay Cars Enslave Us Rather Than Liberate Us
 
Inglourious Basterds Essay Topics
Inglourious Basterds Essay TopicsInglourious Basterds Essay Topics
Inglourious Basterds Essay Topics
 

Recently uploaded

The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxLoriGlavin3
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity PlanDatabarracks
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfLoriGlavin3
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.Curtis Poe
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
Modern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
Modern Roaming for Notes and Nomad – Cheaper Faster Better StrongerModern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
Modern Roaming for Notes and Nomad – Cheaper Faster Better Strongerpanagenda
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...Farhan Tariq
 
Potential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and InsightsPotential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and InsightsRavi Sanghani
 
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...Alkin Tezuysal
 
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyesHow to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyesThousandEyes
 
Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersRaghuram Pandurangan
 
A Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersA Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersNicole Novielli
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteDianaGray10
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxLoriGlavin3
 
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24Mark Goldstein
 
Connecting the Dots for Information Discovery.pdf
Connecting the Dots for Information Discovery.pdfConnecting the Dots for Information Discovery.pdf
Connecting the Dots for Information Discovery.pdfNeo4j
 
[Webinar] SpiraTest - Setting New Standards in Quality Assurance
[Webinar] SpiraTest - Setting New Standards in Quality Assurance[Webinar] SpiraTest - Setting New Standards in Quality Assurance
[Webinar] SpiraTest - Setting New Standards in Quality AssuranceInflectra
 
A Framework for Development in the AI Age
A Framework for Development in the AI AgeA Framework for Development in the AI Age
A Framework for Development in the AI AgeCprime
 
Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...
Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...
Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...panagenda
 

Recently uploaded (20)

The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity Plan
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdf
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
Modern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
Modern Roaming for Notes and Nomad – Cheaper Faster Better StrongerModern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
Modern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...
 
Potential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and InsightsPotential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and Insights
 
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
 
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyesHow to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
 
Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information Developers
 
A Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersA Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software Developers
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test Suite
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
 
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
 
Connecting the Dots for Information Discovery.pdf
Connecting the Dots for Information Discovery.pdfConnecting the Dots for Information Discovery.pdf
Connecting the Dots for Information Discovery.pdf
 
[Webinar] SpiraTest - Setting New Standards in Quality Assurance
[Webinar] SpiraTest - Setting New Standards in Quality Assurance[Webinar] SpiraTest - Setting New Standards in Quality Assurance
[Webinar] SpiraTest - Setting New Standards in Quality Assurance
 
A Framework for Development in the AI Age
A Framework for Development in the AI AgeA Framework for Development in the AI Age
A Framework for Development in the AI Age
 
Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...
Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...
Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...
 

Happy sad evil_weird

Editor's Notes

  1. Warning: there will be memes
  2. Eng Lead at Quick Left Blogging - EY, QL, personal, Ruby + JS Weekly, Pointer.io Exercism contrib, exercises and nitpicking gSchool / Turing background => mentoring
  3. Agile software dev => Iterative process => planning features early & often Many stakeholders w/ different POVs => can conflict Easy to overlook behaviors => if not thorough
  4. A way to solve these problems A term I made up Based on Use Case Analysis
  5. Time is Money Use Case planning => flexible early => cheaper to make changes
  6. Easy to go blindly forward => building it the way we think should happen => overlook edge cases Teams should think ahead and plan for alternative scenarios Cuz
  7. What we usually do is
  8. Golden path esp Dev & POs
  9. Sad
  10. Evil
  11. Weird
  12. It comes down to money Save with good planning
  13. My ripoff of Use case analysis
  14. Summarizing / reworking the process in this paper Comes from Object Oriented Analysis (academic) a way of thinking about building systems of any kind Modelling people & processes involved as objects Like OOP
  15. In this case the system => feature in an app Use case planning will help us: ID Requirements functional description of behavior ID actors (Sets the foundation)
  16. Who’s involved in planning a feature Draw on the perspective each of each of these roles This will help us plan =>
  17. We want to build software with UX in mind (read) How can we do these three things?
  18. This is the game plan Goal: break feature down into as many use cases (scenarios) as the team can Weave a story of interactions b/w people of various roles and the computer systems
  19. Common language Contract Foresee less common behaviors Plan what and what not to build
  20. Most valuable benefit “high level”, abstract & cheap to change (it’s just a post it note)
  21. Feature gets harder to change over time Will cost more In order to achieve this =>
  22. Four steps == answer four questions who’s involved why are we building it what are the scenarios put all together
  23. Everything that interacts with the system Users, admins, clientside app, API, external APIs, cloud services, hardware Relationship & responsibilities of each
  24. High level. Why do we want this feature to be built?
  25. Use and “misuse” cases Think of “packages” Today’s package: Happy, Sad, Evil, Weird Noun (actor), verb (actions), description (what should happen) for each scenario Specific purpose can also be added for each
  26. Each UC has a name, actor, and behavioral breakdown How do they relate?
  27. Actors get shapes Actions get lines Extending other UCs For example, login In our case, might make more sense to do as a UX flow diagram or whiteboarding wireframes
  28. Tracking tool 1. Everything gets built 2. Can estimate when work will be complete
  29. Multi-tenant SaaS platform like Etsy Merchants run stores, users buy them, platform takes a cut We’re part of a team doing sprint planning — PO, Dev, Design, QA present
  30. Credit Card form common to all tenants Imagine it will be hand-build (not Stripe checkout) But still using Stripe JS
  31. Going through the four steps actors & their roles
  32. Each stakeholder contributes to discovering use cases ID bundles as we go
  33. Alternatives paths first => can uncover things we should omit => e.g. thinking about spam on a blog => no comment form SAD PATHS Designer => form should display feedback for good UX PO => Should take as few steps as possible to make $ Dev => Use Stripe to make things easier QA => ironclad validations (special characters dont break)
  34. PO => Make sure company not liable / must be PCI compliant w/ users CC info Dev => never log CC info / don’t set price in form field QA => What happens when CSRF token / session is altered?
  35. Dev => dont submit form with CC # in it! PO => Resend request if Stripe is down Designer => feedback if server is down Netflix => Chaos Monkey service
  36. Finally, after exploring all the alternative paths Designer => Success message for good UX PO => analytics
  37. Draw and label something like this We did all that work, what did we get out of it? (besides this awesome diagram)
  38. From our first use case we can create this story point out ACTOR, ACTION, RESULT, REASON Can translate the use cases directly into stories
  39. This process should yield small stories Which are best for predict when feature will be done Put them in tracking software (like sprint.ly)
  40. Did use case planning Our tracker is full of stories We agree on what we’re building Everyone’s happy How did we get here again?
  41. Before you start building a feature You should break down the use cases As a team
  42. Why did we do it again?
  43. What did we get out of doing it this way?
  44. How did we do it again? 1 (nouns in our stories) 2 (value) 3 Golden path and alternative paths (verbs) 4 (diagram)
  45. What did we get in the end?
  46. Hope you enjoyed talking about Use Case Planning
  47. Questions? Comments?