SlideShare a Scribd company logo
1 of 49
Download to read offline
User Stories 205
IIT ACADEMY
User Stories and
Acceptance Criteria
Industrie IT
contents
• user stories - what/why/how
• exercise
• acceptance criteria - what/why/how
• exercise
SCALING 204
IIT ACADEMY
user stories
what?
define
Stories are a:
• User’s need
• Product description
• Planning item
• Token for a conversation
• Mechanism for deferring
conversation
SCALING 204
IIT ACADEMY
*"Kent Beck coined the
term user stories in Extreme
Programming Explained 1st
Edition, 1999
a format


As a [user], I want [functionality]
so that I can [benefit]
SCALING 204
IIT ACADEMY
user stories
why?
advantages
• Easy-to-write
• Easy-to-understand
• User-centric
• Easily understood by customer and technical
• End-to-end functionality
• Facilitates conversations
• Can be sized
• Is goal-centric (abstracts out detail)
SCALING 204
IIT ACADEMY
WORKSHOPS
usage
• basic unit of functionality
• gain detail over time
• adds value to the product
• vertical slice through the product
• summarised as:
• “As a <type of user> I want <some goal>

so that <some reason>”
• has acceptance criteria
• can be used to capture non-functional requirements
• can be a spike
• may include wireframes, solution details etc.
SCALING 204
IIT ACADEMY
ACCEPTANCE
CRITERIA
FLOWS – SCREEN,
DATA, LOGIC, ET AL.
ARCHITECTURE –
DATA, INFRA, ET AL.
WIREFRAMES
USER STORY
UX
ARCH
DEV OPS
RELEASE
are “boundary objects”
boundary objects
SCALING 204
IIT ACADEMY
“A boundary object is a concept in sociology to describe
information used in different ways by different communities. They
are plastic, interpreted differently across communities but with
enough immutable content to maintain integrity” --Wikipedia
“They are weakly structured in common use, and become
strongly structured in individual-site use. They may be abstract
or concrete. They have different meanings in different social
worlds but their structure is common enough to more than one
world to make them recognizable means of translation. The
creation and management of boundary objects is key in
developing and maintaining coherence across intersecting social
worlds.” -- Leigh & Griesemer
user stories
how?
Eight keys to good user stories
SCALING 204
IIT ACADEMY
1. Focus on the user
2. Facilitate a conversation
3. Story writing is teamwork
4. Simple and concise
5. Decompose stories
6. Use acceptance criteria
7. User stories aren’t everything
8. Design vertical slices
1 Focus on the user
Use an actual role, not the word “user”.
e.g. Marketing Admin, Broker, End
customer, Head Office User.
SCALING 204
IIT ACADEMY
2 Facilitate a Conversation
A story is not a specification.
It is not a contract.
It does not replace dialogue.
It captures the essence of the conversation
into the essential elements.
SCALING 204
IIT ACADEMY
3 Story Writing is Teamwork!
Change is the only constant. Rely on the wisdom and expertise of
the group to contribute perspectives, up-to-date information,
expertise.
Three pillars
• Visibility/Transparency
• Inspection
• Adaptation
SCALING 204
IIT ACADEMY
4 Simple and Concise
As  a  user,  I  want  to  sign  in  and  connect  the  database  
to  the  mail  API  and  view  the  email  screen,  so  that  I  
can  view  all  the  emails  that  belong  to  me.  
Exercise  –  1  minute.  Come  up  with  a  better  one.
SCALING 204
IIT ACADEMY
SCALING 204
IIT ACADEMY
Example  of  a  concise  and  simple  user  story:  
• JIRA  Name  =  “Email:  View”  
• User  Story:  “As  an  authenticated  user,  I  want  to  view  my  emails.”  
• Followed  by  detailed  acceptance  criteria
4 Simple and Concise
Recap - first four keys
SCALING 204
IIT ACADEMY
1. Focus on the user
2. Facilitate a conversation
3. Story writing is teamwork
4. Simple and concise
5 Decompose Stories
Start with goals – can be as big as “do marketing”.
Break down into large stories 13-100 points. Contains user-
centric benefits.
Break large stories into small stories 1-8 points. Contains
incremental benefits.
SCALING 204
IIT ACADEMY
6 Use Acceptance Criteria
Acceptance Criteria ensure testability. More on this
later.
E.g.
Scenario 1: Account balance is negative
Given the account’s balance is below 0
And there is not a scheduled direct deposit that day
When the account owner attempts to withdraw money
Then the bank will deny it
And send the account owner a nasty letter.
SCALING 204
IIT ACADEMY
7 User Stories aren’t everything
Some things aren’t user stories, but should be included.
e.g. mockups, screenshots, seed data, relevant code snippets
Some things definitely are user stories:
Non-functional requirements should always be able to be expressed as user
stories and/or acceptance criteria.
E.g. As a broker, I want all buttons to respond to clicks in less than two
seconds.
Acceptance Criteria:
Measure time between clicks and responses
200 users active on website, no other functions performed at the same time.
SCALING 204
IIT ACADEMY
8 Design Vertical Slices
A story contains everything
that it needs to in order to
deliver the benefit.
It delivers the minimum viable
product as soon as possible.
SCALING 204
IIT ACADEMY
Recap - last four keys
SCALING 204
IIT ACADEMY
5. Decompose stories
6. Use acceptance criteria
7. User stories aren’t everything
8. Design vertical slices
user stories
exercise
SCALING 204
IIT ACADEMY
Exercise: Restaurant App
Exercise: Write user stories for “A mobile app that
helps hungry diners find an appropriate place to eat”
Directions: Break into teams of 3-4 and discuss some
of the stories. Aim to create a vertical slice.
Directions: Arrange the subsequent stories into a user
experience order; and present them to the group.
acceptance
criteria
what
Acceptance Criteria Recap
A pass/fail set of criteria that the user story must meet
in order to be considered done.


“Conditions that a software product must satisfy to be
accepted by a user, customer or other stakeholder.”
- Microsoft


“Pre-established standards or requirements a product
or project must meet.”
- Google
SCALING 204
IIT ACADEMY
acceptance
criteria
why?
Why Acceptance Criteria?
Good Acceptance Criteria will help get your Agile
project from “It Works as Coded” to “It Works as
Intended.”
• Once work is complete, clients have no problem defining
what’s wrong.
• Acceptance Criteria is about clear communication about
intentions.
• Inaccurate or missing acceptance criteria can lead to low
customer satisfaction levels, missed delivery dates, and
development cost overruns. This is why it’s so critical to
accurately define them before any work begins.
SCALING 204
IIT ACADEMY
What was

intended
What was

coded
What was
tested
Because the usual documentation
processes produce this:
documentation debt,

source of defects,
wasted development effort
Because the usual documentation
processes produce this:
What was

intended
What was

coded
What was
tested
over-documentation,

missed requirements,
source of scope creep
Because the usual documentation
processes produce this:
What was

intended
What was

coded
What was
tested
wasted

testing

effort
Because the usual documentation
processes produce this:
What was

intended
What was

coded
What was
tested
Because the usual documentation
processes produce this:
What was

intended
What was

coded
What was
tested
documented, tested,
purposeful code
documentation documentation
code
Development
Sprint Planning
Smoke Testing
Test Validation
Acceptance Testing
Acceptance Criteria/

Test Approach
Product
Management
Portfolio

Management
Usage
Executive Stakeholders + End Users
Product Owners + Product Stakeholders
Developers
Functional Testing
Product Owners
Scrum Team
Business Cases (Backlog Epics)
Backlog + Wiki Structure
Sprint Backlog +

Wiki User Stories
User Story:

Testing Sections
User Story:

Technical Sections
User Story:

Delivery Decision Log
User Story > JIRA link:

Known Bugs/Issues
Update Sprint User Stories >

System Documentation
System Documentation: User Guides
Requests for changes, new scope, etc.
code
documentation supports code
intention = code = test
federate intentions with what is both coded
and tested
Development
Sprint Planning
(detailed US + some AC)
Smoke Testing

(against AC)
Test Validation

(validate AC)
Acceptance Testing
(against AC)
Acceptance Criteria
Product
Management
(high level US)
Portfolio

Management
Usage
Executive Stakeholders + End Users
Product Owners + Product Stakeholders
Developers
Functional Testing
(against AC)
Product Owners
Scrum Team
Business Cases (Backlog Epics)
Backlog + Wiki Structure
Sprint Backlog +

Wiki User Stories
User Story:

Testing Sections
User Story:

Technical Sections
User Story:

Delivery Decision Log
User Story > JIRA link:

Known Bugs/Issues
Update Sprint User Stories >

System Documentation
System Documentation: User Guides
Requests for changes, new scope, etc.
USER
WIPWIP
WIP
USER ACEPT
W/FUX
ARCH code
code
+
user stories + acceptance criteria support
working, tested software
acceptance
criteria
how?
Five Characteristics of good acceptance criteria
1. Each statement is pass/fail.
2. Bounds the story from customer perspective
3. Actionable
4. High level: does not re-hash requirements
5. State intent, but not dictate the solution
SCALING 204
IIT ACADEMY
1. Pass/Fail
Each statement is pass/fail result.
No “partial acceptance”
SCALING 204
IIT ACADEMY
2. Bounds from Customer perspective
Defines expectations

Clearly bounds the story in customer
language
SCALING 204
IIT ACADEMY
3. Actionable
SCALING 204
IIT ACADEMY
Can be translated into one or more actionable test cases
4. High Level
Does not re-hash requirements of story
• Contains functional requirements

(e.g. minimum viable product)
• Contains non-functional requirements

(e.g. minimal quality)
SCALING 204
IIT ACADEMY
5. State intent, not solution
The criteria is independent of implementation.
“A manager can approve or disapprove an
audit form”

vs.

“A manager can click an ‘Approve/
Disapprove’ radio button to approve an audit
form”
SCALING 204
IIT ACADEMY
example of usage
The user story is presented, and the conversation starts.
For example:
As a conference attendee, I want to be able to register online, so I can
register quickly and cut down on paperwork
Questions for the Product Owner might include:
• What information needs to be collected to allow a user to register?
• Where does this information need to be collected/delivered?
• Can the user pay online as part of the registration process?
• Does the user need to be sent an acknowledgment?
The issues and ideas raised in this Q and A session are captured in the
story’s acceptance criteria.
SCALING 204
IIT ACADEMY
Acceptance Criteria
1. A user cannot submit a form without completing all the mandatory fields 

2. Information from the form is stored in the registrations database 

3. Protection against spam is working 

4. Payment can be made via credit card 

5. An acknowledgment email is sent to the user after submitting the form. 

When the development team has finished working on the user story they
demonstrate the functionality to the Product Owner, showing how each criterion is
satisfied.
SCALING 204
IIT ACADEMY
acceptance
criteria
exercise
"As a web master, I can configure widget B
to display in one of the three primary colors
of blue, red, and yellow"
SCALING 204
IIT ACADEMY
example answer
A set of acceptance tests would be:
• The web master has access to the configuration options for widget B
• The web master has a selection list available of the three primary
colors of blue, red and yellow
• When the web master sets widget B to blue, it displays in blue
• When the web master sets widget B to red, it displays in red
• When the web master sets widget B to yellow, it displays in yellow
• The web master has no other options other than blue, red or yellow
SCALING 204
IIT ACADEMY
Additional User Stories
If, in writing the AC, we discover that we
need to ensure no-one else can access the
same options, we can add a new story to
say:
"As a web user, I do not have access to
widget B's configuration options"
And then write appropriate acceptance
criteria for that.
SCALING 204
IIT ACADEMY

More Related Content

What's hot

Writing Effective User Stories
Writing Effective User StoriesWriting Effective User Stories
Writing Effective User Stories
Janeve George
 

What's hot (20)

Introducing Agile User Stories
Introducing Agile User StoriesIntroducing Agile User Stories
Introducing Agile User Stories
 
Writing Effective User Stories
Writing Effective User StoriesWriting Effective User Stories
Writing Effective User Stories
 
User Stories Fundamentals
User Stories FundamentalsUser Stories Fundamentals
User Stories Fundamentals
 
User Story Workshop
User Story WorkshopUser Story Workshop
User Story Workshop
 
Effective User Stories
Effective User StoriesEffective User Stories
Effective User Stories
 
User Story
User StoryUser Story
User Story
 
Writing User Stories (04/2012)
Writing User Stories (04/2012)Writing User Stories (04/2012)
Writing User Stories (04/2012)
 
Invest In Good User Stories
Invest In Good User StoriesInvest In Good User Stories
Invest In Good User Stories
 
How to write good user stories
How to write good user storiesHow to write good user stories
How to write good user stories
 
User Story Splitting.pptx
User Story Splitting.pptxUser Story Splitting.pptx
User Story Splitting.pptx
 
SCRUM User Story Life Cycle
SCRUM User Story Life CycleSCRUM User Story Life Cycle
SCRUM User Story Life Cycle
 
Product backlog
Product backlogProduct backlog
Product backlog
 
Story of user story
Story of user storyStory of user story
Story of user story
 
Slicing user stories
Slicing user storiesSlicing user stories
Slicing user stories
 
User Stories for Agile Requirements
User Stories for Agile RequirementsUser Stories for Agile Requirements
User Stories for Agile Requirements
 
User Stories Writing - Codemotion 2013
User Stories Writing - Codemotion 2013User Stories Writing - Codemotion 2013
User Stories Writing - Codemotion 2013
 
Agile Requirements Gathering Techniques
Agile Requirements Gathering TechniquesAgile Requirements Gathering Techniques
Agile Requirements Gathering Techniques
 
Epics and User Stories
Epics and User StoriesEpics and User Stories
Epics and User Stories
 
Writing GREAT Agile User Stories
Writing GREAT Agile User StoriesWriting GREAT Agile User Stories
Writing GREAT Agile User Stories
 
User Story Writing & Estimation For Testers By Mahesh Varadharajan
User Story Writing & Estimation For Testers By Mahesh VaradharajanUser Story Writing & Estimation For Testers By Mahesh Varadharajan
User Story Writing & Estimation For Testers By Mahesh Varadharajan
 

Viewers also liked

Acceptance criteria
Acceptance criteriaAcceptance criteria
Acceptance criteria
Softheme
 
Acceptance Criteria
Acceptance CriteriaAcceptance Criteria
Acceptance Criteria
Sumeet Moghe
 
Brainstorming techniques
Brainstorming techniquesBrainstorming techniques
Brainstorming techniques
Amin Hanif
 
Criteria for evaluation
Criteria for evaluationCriteria for evaluation
Criteria for evaluation
Juliet Cabiles
 
Genrays Project Charter
Genrays Project CharterGenrays Project Charter
Genrays Project Charter
April Drake
 

Viewers also liked (20)

Acceptance criteria
Acceptance criteriaAcceptance criteria
Acceptance criteria
 
Acceptance Criteria with SpecFlow
Acceptance Criteria with SpecFlowAcceptance Criteria with SpecFlow
Acceptance Criteria with SpecFlow
 
Acceptance criteria
Acceptance criteriaAcceptance criteria
Acceptance criteria
 
Acceptance criteria reloaded
Acceptance criteria reloaded Acceptance criteria reloaded
Acceptance criteria reloaded
 
Acceptance Criteria
Acceptance CriteriaAcceptance Criteria
Acceptance Criteria
 
Introduction to Acceptance Test Driven Development
Introduction to Acceptance Test Driven DevelopmentIntroduction to Acceptance Test Driven Development
Introduction to Acceptance Test Driven Development
 
Prince 2, project managment Document Acceptance criteria
Prince 2, project managment Document Acceptance criteriaPrince 2, project managment Document Acceptance criteria
Prince 2, project managment Document Acceptance criteria
 
7-point checklist that every Project Manager needs to look at
7-point checklist that every Project Manager needs to look at 7-point checklist that every Project Manager needs to look at
7-point checklist that every Project Manager needs to look at
 
User Stories
User StoriesUser Stories
User Stories
 
Business Idea Brainstorming and Evaluation Techniques
Business Idea Brainstorming and Evaluation TechniquesBusiness Idea Brainstorming and Evaluation Techniques
Business Idea Brainstorming and Evaluation Techniques
 
Evaluation process and criteria june 2 2015 final
Evaluation process and criteria june 2 2015 finalEvaluation process and criteria june 2 2015 final
Evaluation process and criteria june 2 2015 final
 
Relief Line - Draft Evaluation Process and Criteria
Relief Line - Draft Evaluation Process and CriteriaRelief Line - Draft Evaluation Process and Criteria
Relief Line - Draft Evaluation Process and Criteria
 
FITT Toolbox: Evaluation Criteria
FITT Toolbox: Evaluation CriteriaFITT Toolbox: Evaluation Criteria
FITT Toolbox: Evaluation Criteria
 
How we increased our productivity with good acceptance criteria
How we increased our productivity with good acceptance criteriaHow we increased our productivity with good acceptance criteria
How we increased our productivity with good acceptance criteria
 
Brainstorming techniques
Brainstorming techniquesBrainstorming techniques
Brainstorming techniques
 
Energy Efficiency financing & evaluation criteria
Energy Efficiency  financing & evaluation criteriaEnergy Efficiency  financing & evaluation criteria
Energy Efficiency financing & evaluation criteria
 
Curriculum Evaluation - Types of Criteria
Curriculum Evaluation - Types of CriteriaCurriculum Evaluation - Types of Criteria
Curriculum Evaluation - Types of Criteria
 
Running lean startup with agile 20130810
Running lean startup with agile 20130810Running lean startup with agile 20130810
Running lean startup with agile 20130810
 
Criteria for evaluation
Criteria for evaluationCriteria for evaluation
Criteria for evaluation
 
Genrays Project Charter
Genrays Project CharterGenrays Project Charter
Genrays Project Charter
 

Similar to IIT Academy: 204 User stories and acceptance criteria

20181016 Agile DC 2018 Conf Kanban Case Study for Energy Company
20181016 Agile DC 2018 Conf Kanban Case Study for Energy Company20181016 Agile DC 2018 Conf Kanban Case Study for Energy Company
20181016 Agile DC 2018 Conf Kanban Case Study for Energy Company
Craeg Strong
 
Life cycle of user story: Outside-in agile product management & testing, or...
Life cycle of user story: Outside-in agile product management & testing, or...Life cycle of user story: Outside-in agile product management & testing, or...
Life cycle of user story: Outside-in agile product management & testing, or...
Ravi Tadwalkar
 
Db workshop - art of story splitting and writting
Db  workshop - art of story splitting and writtingDb  workshop - art of story splitting and writting
Db workshop - art of story splitting and writting
Phil van Dulm Consultancy
 
The Art and Science of Requirements Gathering
The Art and Science of Requirements GatheringThe Art and Science of Requirements Gathering
The Art and Science of Requirements Gathering
Vanessa Turke
 

Similar to IIT Academy: 204 User stories and acceptance criteria (20)

Agile User Stories
Agile  User StoriesAgile  User Stories
Agile User Stories
 
Agile - User Stories
Agile - User StoriesAgile - User Stories
Agile - User Stories
 
Agile for product owners v12
Agile for product owners  v12Agile for product owners  v12
Agile for product owners v12
 
Agile User Stories
Agile User StoriesAgile User Stories
Agile User Stories
 
Agile Test Management Using Jira and Zephyr
Agile Test Management Using Jira and ZephyrAgile Test Management Using Jira and Zephyr
Agile Test Management Using Jira and Zephyr
 
Writing Test Cases From User Stories And Acceptance Criteria
Writing Test Cases From User Stories And Acceptance CriteriaWriting Test Cases From User Stories And Acceptance Criteria
Writing Test Cases From User Stories And Acceptance Criteria
 
Splitting User Stories
Splitting User StoriesSplitting User Stories
Splitting User Stories
 
Use Cases and Use in Agile world
Use Cases and Use in Agile worldUse Cases and Use in Agile world
Use Cases and Use in Agile world
 
The Whole Story of The User Story
The Whole Story of The User StoryThe Whole Story of The User Story
The Whole Story of The User Story
 
Practical Guide to Scrum
Practical Guide to ScrumPractical Guide to Scrum
Practical Guide to Scrum
 
Effective User Story Writing
Effective User Story WritingEffective User Story Writing
Effective User Story Writing
 
Webinar: Ten Ways to Enhance Your Salesforce.com Application in 2013
Webinar: Ten Ways to Enhance Your Salesforce.com Application in 2013Webinar: Ten Ways to Enhance Your Salesforce.com Application in 2013
Webinar: Ten Ways to Enhance Your Salesforce.com Application in 2013
 
Improve Product Design with High Quality Requirements
Improve Product Design with High Quality RequirementsImprove Product Design with High Quality Requirements
Improve Product Design with High Quality Requirements
 
20181016 Agile DC 2018 Conf Kanban Case Study for Energy Company
20181016 Agile DC 2018 Conf Kanban Case Study for Energy Company20181016 Agile DC 2018 Conf Kanban Case Study for Energy Company
20181016 Agile DC 2018 Conf Kanban Case Study for Energy Company
 
Life cycle of user story: Outside-in agile product management & testing, or...
Life cycle of user story: Outside-in agile product management & testing, or...Life cycle of user story: Outside-in agile product management & testing, or...
Life cycle of user story: Outside-in agile product management & testing, or...
 
How To Review The Sprints Efficiently
How To Review The Sprints EfficientlyHow To Review The Sprints Efficiently
How To Review The Sprints Efficiently
 
Db workshop - art of story splitting and writting
Db  workshop - art of story splitting and writtingDb  workshop - art of story splitting and writting
Db workshop - art of story splitting and writting
 
Mark Foley Agile Methods And The Business Analystc
Mark Foley   Agile Methods And The Business AnalystcMark Foley   Agile Methods And The Business Analystc
Mark Foley Agile Methods And The Business Analystc
 
The Art and Science of Requirements Gathering
The Art and Science of Requirements GatheringThe Art and Science of Requirements Gathering
The Art and Science of Requirements Gathering
 
Improving our Approach Towards Capturing Value in Requirements
Improving our Approach Towards Capturing Value in RequirementsImproving our Approach Towards Capturing Value in Requirements
Improving our Approach Towards Capturing Value in Requirements
 

More from Steven HK Ma | 馬國豪

More from Steven HK Ma | 馬國豪 (10)

Agility @ Industrie IT
Agility @ Industrie ITAgility @ Industrie IT
Agility @ Industrie IT
 
IIT Academy - Masterclass - Beyond Agility
IIT Academy - Masterclass - Beyond AgilityIIT Academy - Masterclass - Beyond Agility
IIT Academy - Masterclass - Beyond Agility
 
IIT Academy - Masterclass - Scaling Agility
IIT Academy - Masterclass - Scaling AgilityIIT Academy - Masterclass - Scaling Agility
IIT Academy - Masterclass - Scaling Agility
 
IIT Academy - Masterclass - Enterprise Agile
IIT Academy - Masterclass - Enterprise AgileIIT Academy - Masterclass - Enterprise Agile
IIT Academy - Masterclass - Enterprise Agile
 
IIT Academy: Scaling Agile 205
IIT Academy: Scaling Agile 205IIT Academy: Scaling Agile 205
IIT Academy: Scaling Agile 205
 
IIT Academy: Team Design 202
IIT Academy: Team Design 202IIT Academy: Team Design 202
IIT Academy: Team Design 202
 
IIT Academy: Scrum 103
IIT Academy: Scrum 103IIT Academy: Scrum 103
IIT Academy: Scrum 103
 
IIT Academy: Lean & Kanban 102
IIT Academy: Lean & Kanban 102IIT Academy: Lean & Kanban 102
IIT Academy: Lean & Kanban 102
 
IIT Academy: Agile 101
IIT Academy: Agile 101IIT Academy: Agile 101
IIT Academy: Agile 101
 
Gamification noble endeavours
Gamification   noble endeavoursGamification   noble endeavours
Gamification noble endeavours
 

Recently uploaded

Agile Coaching Change Management Framework.pptx
Agile Coaching Change Management Framework.pptxAgile Coaching Change Management Framework.pptx
Agile Coaching Change Management Framework.pptx
alinstan901
 
Abortion pills in Jeddah |• +966572737505 ] GET CYTOTEC
Abortion pills in Jeddah |• +966572737505 ] GET CYTOTECAbortion pills in Jeddah |• +966572737505 ] GET CYTOTEC
Abortion pills in Jeddah |• +966572737505 ] GET CYTOTEC
Abortion pills in Riyadh +966572737505 get cytotec
 

Recently uploaded (20)

BDSM⚡Call Girls in Sector 99 Noida Escorts >༒8448380779 Escort Service
BDSM⚡Call Girls in Sector 99 Noida Escorts >༒8448380779 Escort ServiceBDSM⚡Call Girls in Sector 99 Noida Escorts >༒8448380779 Escort Service
BDSM⚡Call Girls in Sector 99 Noida Escorts >༒8448380779 Escort Service
 
Call Now Pooja Mehta : 7738631006 Door Step Call Girls Rate 100% Satisfactio...
Call Now Pooja Mehta :  7738631006 Door Step Call Girls Rate 100% Satisfactio...Call Now Pooja Mehta :  7738631006 Door Step Call Girls Rate 100% Satisfactio...
Call Now Pooja Mehta : 7738631006 Door Step Call Girls Rate 100% Satisfactio...
 
Reviewing and summarization of university ranking system to.pptx
Reviewing and summarization of university ranking system  to.pptxReviewing and summarization of university ranking system  to.pptx
Reviewing and summarization of university ranking system to.pptx
 
GENUINE Babe,Call Girls IN Baderpur Delhi | +91-8377087607
GENUINE Babe,Call Girls IN Baderpur  Delhi | +91-8377087607GENUINE Babe,Call Girls IN Baderpur  Delhi | +91-8377087607
GENUINE Babe,Call Girls IN Baderpur Delhi | +91-8377087607
 
Agile Coaching Change Management Framework.pptx
Agile Coaching Change Management Framework.pptxAgile Coaching Change Management Framework.pptx
Agile Coaching Change Management Framework.pptx
 
Continuous Improvement Infographics for Learning
Continuous Improvement Infographics for LearningContinuous Improvement Infographics for Learning
Continuous Improvement Infographics for Learning
 
Leadership in Crisis - Helio Vogas, Risk & Leadership Keynote Speaker
Leadership in Crisis - Helio Vogas, Risk & Leadership Keynote SpeakerLeadership in Crisis - Helio Vogas, Risk & Leadership Keynote Speaker
Leadership in Crisis - Helio Vogas, Risk & Leadership Keynote Speaker
 
Discover -CQ Master Class - Rikita Wadhwa.pdf
Discover -CQ Master Class - Rikita Wadhwa.pdfDiscover -CQ Master Class - Rikita Wadhwa.pdf
Discover -CQ Master Class - Rikita Wadhwa.pdf
 
Imagine - Creating Healthy Workplaces - Anthony Montgomery.pdf
Imagine - Creating Healthy Workplaces - Anthony Montgomery.pdfImagine - Creating Healthy Workplaces - Anthony Montgomery.pdf
Imagine - Creating Healthy Workplaces - Anthony Montgomery.pdf
 
Disrupt or be Disrupted - Kirk Vallis.pdf
Disrupt or be Disrupted - Kirk Vallis.pdfDisrupt or be Disrupted - Kirk Vallis.pdf
Disrupt or be Disrupted - Kirk Vallis.pdf
 
Call now : 9892124323 Nalasopara Beautiful Call Girls Vasai virar Best Call G...
Call now : 9892124323 Nalasopara Beautiful Call Girls Vasai virar Best Call G...Call now : 9892124323 Nalasopara Beautiful Call Girls Vasai virar Best Call G...
Call now : 9892124323 Nalasopara Beautiful Call Girls Vasai virar Best Call G...
 
Peak Performance & Resilience - Dr Dorian Dugmore
Peak Performance & Resilience - Dr Dorian DugmorePeak Performance & Resilience - Dr Dorian Dugmore
Peak Performance & Resilience - Dr Dorian Dugmore
 
Day 0- Bootcamp Roadmap for PLC Bootcamp
Day 0- Bootcamp Roadmap for PLC BootcampDay 0- Bootcamp Roadmap for PLC Bootcamp
Day 0- Bootcamp Roadmap for PLC Bootcamp
 
Imagine - HR; are handling the 'bad banter' - Stella Chandler.pdf
Imagine - HR; are handling the 'bad banter' - Stella Chandler.pdfImagine - HR; are handling the 'bad banter' - Stella Chandler.pdf
Imagine - HR; are handling the 'bad banter' - Stella Chandler.pdf
 
Unlocking the Future - Dr Max Blumberg, Founder of Blumberg Partnership
Unlocking the Future - Dr Max Blumberg, Founder of Blumberg PartnershipUnlocking the Future - Dr Max Blumberg, Founder of Blumberg Partnership
Unlocking the Future - Dr Max Blumberg, Founder of Blumberg Partnership
 
internal analysis on strategic management
internal analysis on strategic managementinternal analysis on strategic management
internal analysis on strategic management
 
LoveLocalGov - Chris Twigg, Inner Circle
LoveLocalGov - Chris Twigg, Inner CircleLoveLocalGov - Chris Twigg, Inner Circle
LoveLocalGov - Chris Twigg, Inner Circle
 
Dealing with Poor Performance - get the full picture from 3C Performance Mana...
Dealing with Poor Performance - get the full picture from 3C Performance Mana...Dealing with Poor Performance - get the full picture from 3C Performance Mana...
Dealing with Poor Performance - get the full picture from 3C Performance Mana...
 
Becoming an Inclusive Leader - Bernadette Thompson
Becoming an Inclusive Leader - Bernadette ThompsonBecoming an Inclusive Leader - Bernadette Thompson
Becoming an Inclusive Leader - Bernadette Thompson
 
Abortion pills in Jeddah |• +966572737505 ] GET CYTOTEC
Abortion pills in Jeddah |• +966572737505 ] GET CYTOTECAbortion pills in Jeddah |• +966572737505 ] GET CYTOTEC
Abortion pills in Jeddah |• +966572737505 ] GET CYTOTEC
 

IIT Academy: 204 User stories and acceptance criteria

  • 1. User Stories 205 IIT ACADEMY User Stories and Acceptance Criteria Industrie IT
  • 2. contents • user stories - what/why/how • exercise • acceptance criteria - what/why/how • exercise SCALING 204 IIT ACADEMY
  • 4. define Stories are a: • User’s need • Product description • Planning item • Token for a conversation • Mechanism for deferring conversation SCALING 204 IIT ACADEMY *"Kent Beck coined the term user stories in Extreme Programming Explained 1st Edition, 1999
  • 5. a format 
 As a [user], I want [functionality] so that I can [benefit] SCALING 204 IIT ACADEMY
  • 7. advantages • Easy-to-write • Easy-to-understand • User-centric • Easily understood by customer and technical • End-to-end functionality • Facilitates conversations • Can be sized • Is goal-centric (abstracts out detail) SCALING 204 IIT ACADEMY
  • 8. WORKSHOPS usage • basic unit of functionality • gain detail over time • adds value to the product • vertical slice through the product • summarised as: • “As a <type of user> I want <some goal>
 so that <some reason>” • has acceptance criteria • can be used to capture non-functional requirements • can be a spike • may include wireframes, solution details etc. SCALING 204 IIT ACADEMY ACCEPTANCE CRITERIA FLOWS – SCREEN, DATA, LOGIC, ET AL. ARCHITECTURE – DATA, INFRA, ET AL. WIREFRAMES USER STORY UX ARCH DEV OPS RELEASE are “boundary objects”
  • 9. boundary objects SCALING 204 IIT ACADEMY “A boundary object is a concept in sociology to describe information used in different ways by different communities. They are plastic, interpreted differently across communities but with enough immutable content to maintain integrity” --Wikipedia “They are weakly structured in common use, and become strongly structured in individual-site use. They may be abstract or concrete. They have different meanings in different social worlds but their structure is common enough to more than one world to make them recognizable means of translation. The creation and management of boundary objects is key in developing and maintaining coherence across intersecting social worlds.” -- Leigh & Griesemer
  • 11. Eight keys to good user stories SCALING 204 IIT ACADEMY 1. Focus on the user 2. Facilitate a conversation 3. Story writing is teamwork 4. Simple and concise 5. Decompose stories 6. Use acceptance criteria 7. User stories aren’t everything 8. Design vertical slices
  • 12. 1 Focus on the user Use an actual role, not the word “user”. e.g. Marketing Admin, Broker, End customer, Head Office User. SCALING 204 IIT ACADEMY
  • 13. 2 Facilitate a Conversation A story is not a specification. It is not a contract. It does not replace dialogue. It captures the essence of the conversation into the essential elements. SCALING 204 IIT ACADEMY
  • 14. 3 Story Writing is Teamwork! Change is the only constant. Rely on the wisdom and expertise of the group to contribute perspectives, up-to-date information, expertise. Three pillars • Visibility/Transparency • Inspection • Adaptation SCALING 204 IIT ACADEMY
  • 15. 4 Simple and Concise As  a  user,  I  want  to  sign  in  and  connect  the  database   to  the  mail  API  and  view  the  email  screen,  so  that  I   can  view  all  the  emails  that  belong  to  me.   Exercise  –  1  minute.  Come  up  with  a  better  one. SCALING 204 IIT ACADEMY
  • 16. SCALING 204 IIT ACADEMY Example  of  a  concise  and  simple  user  story:   • JIRA  Name  =  “Email:  View”   • User  Story:  “As  an  authenticated  user,  I  want  to  view  my  emails.”   • Followed  by  detailed  acceptance  criteria 4 Simple and Concise
  • 17. Recap - first four keys SCALING 204 IIT ACADEMY 1. Focus on the user 2. Facilitate a conversation 3. Story writing is teamwork 4. Simple and concise
  • 18. 5 Decompose Stories Start with goals – can be as big as “do marketing”. Break down into large stories 13-100 points. Contains user- centric benefits. Break large stories into small stories 1-8 points. Contains incremental benefits. SCALING 204 IIT ACADEMY
  • 19. 6 Use Acceptance Criteria Acceptance Criteria ensure testability. More on this later. E.g. Scenario 1: Account balance is negative Given the account’s balance is below 0 And there is not a scheduled direct deposit that day When the account owner attempts to withdraw money Then the bank will deny it And send the account owner a nasty letter. SCALING 204 IIT ACADEMY
  • 20. 7 User Stories aren’t everything Some things aren’t user stories, but should be included. e.g. mockups, screenshots, seed data, relevant code snippets Some things definitely are user stories: Non-functional requirements should always be able to be expressed as user stories and/or acceptance criteria. E.g. As a broker, I want all buttons to respond to clicks in less than two seconds. Acceptance Criteria: Measure time between clicks and responses 200 users active on website, no other functions performed at the same time. SCALING 204 IIT ACADEMY
  • 21. 8 Design Vertical Slices A story contains everything that it needs to in order to deliver the benefit. It delivers the minimum viable product as soon as possible. SCALING 204 IIT ACADEMY
  • 22. Recap - last four keys SCALING 204 IIT ACADEMY 5. Decompose stories 6. Use acceptance criteria 7. User stories aren’t everything 8. Design vertical slices
  • 24. SCALING 204 IIT ACADEMY Exercise: Restaurant App Exercise: Write user stories for “A mobile app that helps hungry diners find an appropriate place to eat” Directions: Break into teams of 3-4 and discuss some of the stories. Aim to create a vertical slice. Directions: Arrange the subsequent stories into a user experience order; and present them to the group.
  • 26. Acceptance Criteria Recap A pass/fail set of criteria that the user story must meet in order to be considered done. 
 “Conditions that a software product must satisfy to be accepted by a user, customer or other stakeholder.” - Microsoft 
 “Pre-established standards or requirements a product or project must meet.” - Google SCALING 204 IIT ACADEMY
  • 28. Why Acceptance Criteria? Good Acceptance Criteria will help get your Agile project from “It Works as Coded” to “It Works as Intended.” • Once work is complete, clients have no problem defining what’s wrong. • Acceptance Criteria is about clear communication about intentions. • Inaccurate or missing acceptance criteria can lead to low customer satisfaction levels, missed delivery dates, and development cost overruns. This is why it’s so critical to accurately define them before any work begins. SCALING 204 IIT ACADEMY
  • 29. What was
 intended What was
 coded What was tested Because the usual documentation processes produce this:
  • 30. documentation debt,
 source of defects, wasted development effort Because the usual documentation processes produce this: What was
 intended What was
 coded What was tested
  • 31. over-documentation,
 missed requirements, source of scope creep Because the usual documentation processes produce this: What was
 intended What was
 coded What was tested
  • 32. wasted
 testing
 effort Because the usual documentation processes produce this: What was
 intended What was
 coded What was tested
  • 33. Because the usual documentation processes produce this: What was
 intended What was
 coded What was tested documented, tested, purposeful code
  • 34. documentation documentation code Development Sprint Planning Smoke Testing Test Validation Acceptance Testing Acceptance Criteria/
 Test Approach Product Management Portfolio
 Management Usage Executive Stakeholders + End Users Product Owners + Product Stakeholders Developers Functional Testing Product Owners Scrum Team Business Cases (Backlog Epics) Backlog + Wiki Structure Sprint Backlog +
 Wiki User Stories User Story:
 Testing Sections User Story:
 Technical Sections User Story:
 Delivery Decision Log User Story > JIRA link:
 Known Bugs/Issues Update Sprint User Stories >
 System Documentation System Documentation: User Guides Requests for changes, new scope, etc. code documentation supports code
  • 35. intention = code = test federate intentions with what is both coded and tested
  • 36. Development Sprint Planning (detailed US + some AC) Smoke Testing
 (against AC) Test Validation
 (validate AC) Acceptance Testing (against AC) Acceptance Criteria Product Management (high level US) Portfolio
 Management Usage Executive Stakeholders + End Users Product Owners + Product Stakeholders Developers Functional Testing (against AC) Product Owners Scrum Team Business Cases (Backlog Epics) Backlog + Wiki Structure Sprint Backlog +
 Wiki User Stories User Story:
 Testing Sections User Story:
 Technical Sections User Story:
 Delivery Decision Log User Story > JIRA link:
 Known Bugs/Issues Update Sprint User Stories >
 System Documentation System Documentation: User Guides Requests for changes, new scope, etc. USER WIPWIP WIP USER ACEPT W/FUX ARCH code code + user stories + acceptance criteria support working, tested software
  • 38. Five Characteristics of good acceptance criteria 1. Each statement is pass/fail. 2. Bounds the story from customer perspective 3. Actionable 4. High level: does not re-hash requirements 5. State intent, but not dictate the solution SCALING 204 IIT ACADEMY
  • 39. 1. Pass/Fail Each statement is pass/fail result. No “partial acceptance” SCALING 204 IIT ACADEMY
  • 40. 2. Bounds from Customer perspective Defines expectations
 Clearly bounds the story in customer language SCALING 204 IIT ACADEMY
  • 41. 3. Actionable SCALING 204 IIT ACADEMY Can be translated into one or more actionable test cases
  • 42. 4. High Level Does not re-hash requirements of story • Contains functional requirements
 (e.g. minimum viable product) • Contains non-functional requirements
 (e.g. minimal quality) SCALING 204 IIT ACADEMY
  • 43. 5. State intent, not solution The criteria is independent of implementation. “A manager can approve or disapprove an audit form”
 vs.
 “A manager can click an ‘Approve/ Disapprove’ radio button to approve an audit form” SCALING 204 IIT ACADEMY
  • 44. example of usage The user story is presented, and the conversation starts. For example: As a conference attendee, I want to be able to register online, so I can register quickly and cut down on paperwork Questions for the Product Owner might include: • What information needs to be collected to allow a user to register? • Where does this information need to be collected/delivered? • Can the user pay online as part of the registration process? • Does the user need to be sent an acknowledgment? The issues and ideas raised in this Q and A session are captured in the story’s acceptance criteria. SCALING 204 IIT ACADEMY
  • 45. Acceptance Criteria 1. A user cannot submit a form without completing all the mandatory fields 
 2. Information from the form is stored in the registrations database 
 3. Protection against spam is working 
 4. Payment can be made via credit card 
 5. An acknowledgment email is sent to the user after submitting the form. 
 When the development team has finished working on the user story they demonstrate the functionality to the Product Owner, showing how each criterion is satisfied. SCALING 204 IIT ACADEMY
  • 47. "As a web master, I can configure widget B to display in one of the three primary colors of blue, red, and yellow" SCALING 204 IIT ACADEMY
  • 48. example answer A set of acceptance tests would be: • The web master has access to the configuration options for widget B • The web master has a selection list available of the three primary colors of blue, red and yellow • When the web master sets widget B to blue, it displays in blue • When the web master sets widget B to red, it displays in red • When the web master sets widget B to yellow, it displays in yellow • The web master has no other options other than blue, red or yellow SCALING 204 IIT ACADEMY
  • 49. Additional User Stories If, in writing the AC, we discover that we need to ensure no-one else can access the same options, we can add a new story to say: "As a web user, I do not have access to widget B's configuration options" And then write appropriate acceptance criteria for that. SCALING 204 IIT ACADEMY