Professional Documents
Culture Documents
L#11 - Agile - Story Boarding User Stories
L#11 - Agile - Story Boarding User Stories
L#11 - Agile - Story Boarding User Stories
User Stories-
Requirement
Gathering in Agile
▶ User stories are value-focused units of
delivery that are typically used in Agile
projects.
▶ Written from the customer or stakeholder’s
Perspective, user stories share what is
needed and why.
WHO
WHAT
WHY
Who
?
▶ The “who” in a user story is typically someone
with a particular role or title or it could be
from the perspective of a persona a fictitious,
sample user’s behaviors and needs, spelled out
in detail.
▶ Avoid being too general (e.g. “As a user...”) as
it defeats the purpose of pinpointing the value
for your target audience.
▶ Write all stories with the “who” included, even
those stories that are very technical.
What?
▶ The “what” in a user story specifies
the need, feature, or functionality
that is desired by the “who” or
services to be implemented into the
system.
▶ Confirmation
▶ A well-defined user story is testable.
▶ As part of the conversation, the Product
Owner and the Delivery Team work together
to write acceptance criteria, “confirmation”
that the story is completed satisfactorily.
▶ High-level acceptance criteria statements
are usually sufficient.
Template of A User Story
Template of A User Story
Template of A User Story
• Story:
• “As a utility, I can sort customers by different demographics”
• ▶ Split:
•▶ ...sort by ZIP code
• ...sort by home demographics
• ...sort by energy consumption
User Stories vs Use cases
User Stories vs Use cases
▶Scope
▶Both are sized to deliver business
value
▶Stories are kept smaller in scope
because we place constraints on
their size (such as “no story can be
expected to take more than 10
days of development work”)
Example
Use Case Title: Compose and send email
message
Main Success Scenario
1. User selects the New Message menu
item.
2. System presents the user with the
Compose New Message dialog.
3. User edits email body, subject field, and
recipient lines.
4. User clicks Send button.
5. System sends the message
Story
▶ As a user, I can compose and
send email messages
▶ No hidden user interface
assumptions.
▶ With stories, the user interface
will come up during the
conversation with the
customer.
User Stories vs Use cases
▶ Purpose
▶ Use cases are written in a format acceptable to
both customers and developers so that each may
read and agree to the use case.
▶ The purpose of the use case is to document an
agreement between the customer and the
development team.
▶ Stories are written to facilitate release and
iteration planning
▶ Serve as placeholders for conversations about the
users’ detailed needs.
User Stories vs Use cases
▶ Defer collecting details
▶ An initial place–holding goal–level story can
be written and then replaced with more
detailed stories once it becomes important to
have the details.
▶ Write a few dozen stories to give them an
overall feel for the system.
▶ Plunge into the details on a few of the stories
and can be coding much sooner than a team
that feels compelled to complete an IEEE 830–
style software requirements specification.
User Stories vs Use cases
▶ Useful for Planning
▶ gives an estimate of how difficult
or time–consuming it will be to
develop;
▶ use cases are generally too large
to be given useful estimates.
▶ implemented in a single iteration
of an agile project
User Stories vs Use cases
▶Prioritize-able
▶Issuesdue to IEEE 830–style
requirements statements (“The
system shall...”)
▶consider the thousands or tens of
thousands of statements in a
software requirements specification
(and the relationships between
them) for a typical product.
Use Case & User Stories
• ▶ Use cases traversing a system identify where stories are
needed
•▶ See Page 377, 378 (Fig 19.5, 19.6);
Reference
Agile Software Requirements, Lean Requirements Practices for
teams, Programs, and the Enterprise by Dean Leffingwell;
Addison-Wesley, 2011.