From User Stories to Use Cases: Tell the Full Story
1
From User Stories to Use Cases: Tell the Full Story 1 Agenda - - PowerPoint PPT Presentation
From User Stories to Use Cases: Tell the Full Story 1 Agenda User Stories Benefits Limitations Use Cases What How Why Actors and Personas Bringing it all together Learn more 2 Lauren
1
○ Benefits ○ Limitations
○ What ○ How ○ Why
2
Senior Engagement Manager, Migrations Lead lauren.kelly@pantheon.io
3
4
A content editor So that the correct images are used for an event Wants to associate images with events
As a <User Role> I want to <do something> so that <value>. Answering ‘Why’ helps determine if/when more information is needed. As a content editor, I want to associate images with events so that the correct images are used for any given event.
Unless standards are enforced, they can be ambiguous: As a content editor, I want to associate images with events so that the correct images are used for any given event. What is the real purpose of this story? Could you deliver this with 100% confidence that it would be accepted? Could you accurately estimate this work?
As a content editor, I want to tag images with their associated event, so that they can be consistently used in multiple locations on the site reducing the chance of using the incorrect image for an event. This is better. The scope of the story is configuring a system of tagging
but configuring those uses is not in scope. Would you be more confident in estimating and delivering this story?
Communication
Planning Focus on the task level
9
The work within a user story can be estimated and reliably used for sprint planning.
They make it easy to collect information from non-technical stakeholders, since they are in ‘Plain English’.
They capture the individual piece of work to be implemented. They are a great help for a developer in keeping focused
given sprint.
then discarded.
they allow for scope creep.
completed, without looking at the big picture.
Our story doesn’t talk about any other parts of the system. It relies on the team implementing the feature to understand the how the parts interact with the whole. Building piece by piece without looking at the system as a whole is a fantastic way to turn a project into a Frankenstein-style
members have their own ideas of how things should work...
14
16
Brilliant art by Randal Munroe XKCD https://xkcd.com/657/
Brilliant art by Randal Munroe XKCD https://xkcd.com/657/
Brilliant art by Randal Munroe XKCD https://xkcd.com/657/
All the systems
All the actors All the teams
22
Use Cases are usually recorded in a few ways:
Site Visitor Create Event Our Awesome Website View Event Details Publish Event Review Registrants View Calendar Content Editor Event Coordinator Social Media Share Register for Event Outside Registration Manager Edit Event
⌾ Steps performed by the Primary Actor to achieve a Goal ⌾ Alternative steps ✓ Options you want users to have ✓ Options users might mistakenly make
Steps:
1.
Site Visitor comes to site homepage
2.
The Site displays upcoming events
3.
Site Visitor clicks on the desired event
4.
The Site displays Event Information
5.
Site Visitor clicks to register for event
6.
The Site sends the Site Visitor to the login screen
7.
Site Visitor completes log in
8.
The Site sends the Site Visitor back to the registration page
9.
Site Visitor verifies contact information
10.
Site Visitor clicks to submit registration
11.
The Site sends a confirmation email to the Site Visitor
Alternative flows:
⌾ Primary Actor ⌾ Goal ⌾ Pre-conditions ⌾ Post-conditions ⌾ Definition of success
Actor: Site Visitor Success: The Site Visitor is able to register without assistance from support Preconditions: An event occuring in the future has been created and published. The event has open registration space available. The Site Visitor has an existing account on the site. Postconditions: The Site Visitor is registered for the selected event. The registration count for the event is increased by 1.
In a Use Case, we have actors taking action - but how do we know what actions they’ll take? We can discover these through the creation of Personas
30
I do stufg!
background)
A persona is a fictional character with a whole life outside of your project.
(Emmy)
Music Education, dog-walker P/T
25/F/Philadelphia, comes from a middle-class, midwestern family
composition, working with animals
dog-walking business website
for things she doesn’t need, limited time for troubleshooting
helped her build the website on her computer, new to web site ownership, new to hosting. I’ll never stop learning
learned.
We now have a picture of a specific type of user coming to the site. Ideally we would want a few examples of each persona group. We can collect these through research While our Actor is still known as Site Visitor in our use cases, when we are coming up with what actions the Site Visitor might take, we have examples in mind.
Once we build out the Use Cases, we’ll have a complete view of the project:
easily reduced or increased in estimable ways.
accessible, and alive.
George Will
Margaret Atwood
At some point you have to stop documenting and start doing. When the team find something that was missed:
https://www.usability.gov/how-to-and-tools/methods/use-cases.html
https://www.usability.gov/how-to-and-tools/methods/personas.html
https://www.amazon.com/Writing-Efgective-Cases-Alistair-Cockburn/dp/02017022 58
41