use cases vs user stories
DESCRIPTION
This slide deck is from a presentation that Sherród Faulks and Michael Jabbour of Soft Illuminations, Inc. gave to the New York Extreme Programming meetup. I take no credit for these slides, I'm just uploading them :-DTRANSCRIPT
Use Cases vs.User Stories
What do both do?
• Document Requirements
• Describe a point-of-view
• Describe functionality
• Encourage discussion
• Define scope
Use Cases do not
• Represent a metaphor
• Represent a quantum of work
• Encourage continuous discussion
• Support Backlogs
• Include UI/Design detail
User Stories do not
• Define sequence
• Represent multiple levels of detail
• Represent a contract
• Mimic Requirement Docs
• Include UI/Design detail
• Reference other Stories (INVEST)
Anatomy
Use Case # – Name
Scope
Level
Primary Actor
Stakeholders & Interests
Preconditions
Trigger
Main Success Scenario
Extensions
Technology & Data Variations
Success Guarantee
Minimal Guarantee
Open Issues
- Acceptance Tests
- What to do on failure
- Design Notes
- Everything else
A role can actionto goal
# SP
Style & Syntax
• Use Cases
• Typed
• Formal, Casual, 1-col., 2-col., RUP, Occam, UML
• Level, Scope, Stakeholders, Actors, Preconditions, Guarantees, Scenario, Extensions
• No limit to technicality
• User Stories
• Often handwritten; index cards
• Goal is optional
• Role, Action
• Business language (DSL)
• 1 index card
Use Case # – Name
Scope
Level
Primary Actor
Stakeholders & Interests
Preconditions
Trigger
Main Success Scenario
Extensions
Technology & Data Variations
Success Guarantee
Minimal Guarantee
Open Issues
Caveats
Use Case # – Name
Scope
Level
Primary Actor
Stakeholders & Interests
Preconditions
Trigger
Main Success Scenario
Extensions
Technology & Data Variations
Success Guarantee
Minimal Guarantee
Open Issues
Use Case # – Name
Scope
Level
Primary Actor
Stakeholders & Interests
Preconditions
Trigger
Main Success Scenario
Extensions
Technology & Data Variations
Success Guarantee
Minimal Guarantee
Open Issues
Use Case # – Name
Scope
Level
Primary Actor
Stakeholders & Interests
Preconditions
Trigger
Main Success Scenario
Extensions
Technology & Data Variations
Success Guarantee
Minimal Guarantee
Open Issues
Use Case # – Name
Scope
Level
Primary Actor
Stakeholders & Interests
Preconditions
Trigger
Main Success Scenario
Extensions
Technology & Data Variations
Success Guarantee
Minimal Guarantee
Open Issues
Use Case # – Name
Scope
Level
Primary Actor
Stakeholders & Interests
Preconditions
Trigger
Main Success Scenario
Extensions
Technology & Data Variations
Success Guarantee
Minimal Guarantee
Open Issues
Use Case # – Name
Scope
Level
Primary Actor
Stakeholders & Interests
Preconditions
Trigger
Main Success Scenario
Extensions
Technology & Data Variations
Success Guarantee
Minimal Guarantee
Open Issues
Use Case # – Name
Scope
Level
Primary Actor
Stakeholders & Interests
Preconditions
Trigger
Main Success Scenario
Extensions
Technology & Data Variations
Success Guarantee
Minimal Guarantee
Open Issues
Use Case # – Name
Scope
Level
Primary Actor
Stakeholders & Interests
Preconditions
Trigger
Main Success Scenario
Extensions
Technology & Data Variations
Success Guarantee
Minimal Guarantee
Open Issues
Use Case # – Name
Scope
Level
Primary Actor
Stakeholders & Interests
Preconditions
Trigger
Main Success Scenario
Extensions
Technology & Data Variations
Success Guarantee
Minimal Guarantee
Open Issues
Use Case # – Name
Scope
Level
Primary Actor
Stakeholders & Interests
Preconditions
Trigger
Main Success Scenario
Extensions
Technology & Data Variations
Success Guarantee
Minimal Guarantee
Open Issues
Use Case # – Name
Scope
Level
Primary Actor
Stakeholders & Interests
Preconditions
Trigger
Main Success Scenario
Extensions
Technology & Data Variations
Success Guarantee
Minimal Guarantee
Open Issues
Use Case # – Name
Scope
Level
Primary Actor
Stakeholders & Interests
Preconditions
Trigger
Main Success Scenario
Extensions
Technology & Data Variations
Success Guarantee
Minimal Guarantee
Open Issues
Use Case # – Name
Scope
Level
Primary Actor
Stakeholders & Interests
Preconditions
Trigger
Main Success Scenario
Extensions
Technology & Data Variations
Success Guarantee
Minimal Guarantee
Open Issues
Scope
Level
Primary Actor
Stakeholders & Interests
Preconditions
Trigger
Main Success Scenario
Extensions
Technology & Data Variations
Success Guarantee
Minimal Guarantee
Open Issues
Use Case # – Name
Scope
Level
Primary Actor
Stakeholders & Interests
Preconditions
Trigger
Main Success Scenario
Extensions
Technology & Data Variations
Success Guarantee
Minimal Guarantee
Open Issues
Use Case # – Name
Scope
Level
Primary Actor
Stakeholders & Interests
CaveatsA role can actionto goal
A role can actionto goal
A role can actionto goal
A role can actionto goal
A role can actionto goal
A role can actionto goal
A role can actionto goal
A role can actionto goal
A role can actionto goal
A role can actionto goal
A role can actionto goal
A role can actionto goal
Caveats
A role can actionto goal
A role can actionto goal
A role can actionto goal
A role can actionto goal
A role can actionto goal
A role can actionto goal
A role can actionto goal
A role can actionto goal
A role can actionto goal
A role can actionto goal
A role can actionto goal
A role can actionto goal
Use Cases and User Stories have
equivalences but are incomparable
Doggy Day Care
• Outline full week lunch menu
• Define discounted partner pet services
• Create cover art, brand, and/or log
• Define major care sections
• Define "Ultra Doggy Spa" services
• Outline boarding options
• Set pricing structures
• Complete Bios on staff members
• Contact Info
MyMartianTravels Brocure
• Create cover art, brand and/or logo
• Define major topics for Martian tourism
• Describe a tour based in photosynthesis
• Outline refund policy
• Set tour pricing
• Define a 12-month campaign
• Outline warning messages (gravity, oxygen, fungi, etc.)
• Suggest clothing options