Professional Documents
Culture Documents
Agile Methodology - User Stories
Agile Methodology - User Stories
Agile Methodology - User Stories
Agile is the ability to create change and respond to it. It is a way to deal with an uncertain and
turbulent environment and ultimately succeed in the development process. The authors of the
Agile Manifesto chose “Agile” as the name for this whole idea because the word epitomizes
the adaptability and responsiveness to change that was so important to their approach.
i
nt
● Theme
da
○ A theme can be considered as a large area that spans the whole
company.
Ve
○ Example- Mobile App Upgrades
● Initiate
○ An initiative represents epic collections that lead to a common goal.
○ Example- Introduce tracking enhancements to our cycling app.
by
● Epic
○ An epic is a large piece of work that is typically broken down into small
pieces (tasks known as stories).
oc
i
nt
User Story
da
● User stories follow a simple template. The chosen user story format will
outline the “who,” “what,” and “why” of a particular requirement.
Ve
○ Who wants something?
○ What do they want?
○ Why do they want it?
● User Story Voice Template- “As [persona], I want to [action], so that I
by
can [benefit].”
● For each story, the writer will include a user persona, the action they
wish to take or the ability they wish to have, and the benefit they hope to
oc
achieve as a result.
● Are written in active voice - i.e. “ AS the end user, I am able to ...”
D
i
○ Contain only one viewpoint.
nt
○ Describe how functionality should work, not how it shouldn’t.
○ Have a title that accurately reflects the content of the story.
da
○ Have constraints/assumptions in the NOTES – i.e. “user must be
in sudo to execute command, Users logged in as ROOT can
Ve
perform action OR Command must be run from user directory”.
○ User Comes First- a user story describes how a customer or user
employs the product; it is told from the user’s perspective.
○ Use Personas to Discover the Right Stories- Ask yourself what
by
functionality the product should provide to meet the goals of the
personas. The goal is the benefit the persona wants to achieve, or
the problem the character wants to see solved by using the
oc
product.
○ Creating Stories Collaboratively- Derive ideas, feedback and data.
D
i
nt
○ Business Scenarios-
● Description of all the ways an end-user (personas) wants to
da
"use" a system. Business Scenarios capture all the possible
ways the user and system can interact that result in the user
achieving the goal. They also capture all the things that can go
Ve
wrong along the way that prevent the user from achieving the
goal.
● Scenarios establish the conditions of acceptation
by
● Scenarios are concrete examples that says in the words of the
stakeholders how they plan to verify the desirable outcome
● Scenarios enable the team to know when they are done.
● Scenarios are a specification as important, if not more
oc
● Does Not-
● Restate business rules
Ag
i
nt
● Defines the boundaries for the story.
● Describes any follow-on actions during or after the user
da
performs the activity, such as mouse-overs.
● Avoids keywords such as all, any, every, if appropriate, etc.
● Lists the individual roles, or group of roles, of those who are
Ve
able to perform the activities in the story.
● Given When That: Functional Acceptance Criteria
○ Functional Acceptance Criteria- Describes how a system should
by
behave when certain conditions are met. These requirements
include technical details, calculations, data manipulation and
processing, and other functionality that characterizes what a
framework should achieve.
oc
○ The GWT clauses are the heart of Gherkin. They provide a means
of structuring a sentence to explain the logical progression of an
D
action or event.
○ Given (an initial context)-
● Does-
ile
i
nt
● Does-
● Describe what the system should do
da
● Describe the business result
● Verify only the outcome relative to the action
● Use the ‘AND’ clause when there is more than one
Ve
observable outcome
● Does Not-
● Describe what the user does
by
● Describe something part of the implementation
○ Example-
● Given an empty shopping cart is created And a monthly
student pass is added to shopping cart When buyer checkout
oc
○ User Story: As a customer, I want to order and pay for the book
via a secure web-based form, so that my credit card information is
safe.
ile
○ Acceptance Criteria:
● All mandatory fields must be completed before a customer
Ag
i
affect the user experience because they define a system’s behavior,
nt
features, and general characteristics.
● Types of Backlog Items
da
○ Non-User Stories – Backend functions/technical debt
● Statements on infrastructure/technical needs that help
Ve
deliver User Stories in the Product Backlog. Complete
backend functions or address technical debt
● Example: As a Developer, I want to configure our assigned
development region, so that we can begin developing User
by
Stories in our backlog.
● Example: As a Tester, I want to prepare a test lab, so that
we have representation of all device types & operating
oc