User Stories for Agile Requirements. Mike Cohn - background. Copyright Mountain Goat Software, LLC

Similar documents
What problem do stories address?

Writing Agile User Stories

Introduction to User Stories. CSCI 5828: Foundations of Software Engineering Lecture 05 09/09/2014

2014 Intelliware Development Inc.

Development Processes Agile Adaptive Planning. Stefan Sobek

Effective User Stories for Agile Software Development

User Stories Applied, Mike Cohn

User Stories Applied, Mike Cohn

The Need for Agile Project Management

CS3500: Object-Oriented Design Fall 2013

But user stories are not just these small snippets of text. Each user story is composed of three aspects:

Story Refinement How to write and refine your stories so that your team can reach DONE by the end of your sprint!

Introduction to Extreme Programming

CS3205: Task Analysis and Techniques

XP: Planning, coding and testing. Practice Planning game. Release Planning. User stories. Annika Silvervarg

CREATING EFFECTIVE USER STORIES

RE Process. Lawrence Chung Department of Computer Science The University of Texas at Dallas

Product. e ss. P roc. so get the right requirements. Garbage in garbage out,

The Scaled Agile Framework

Standards for Test Automation

Samples of Features and Feature Stories CSc 190

XP: Planning, coding and testing. Planning. Release planning. Release Planning. User stories. Release planning Step 1.

How to Build an Appium Continuous Testing Pipeline

XP Evolution Rachel Davies

Adopting Agile Practices

Product Backlog Document Template and Example

Vision, Roadmap, and Release Planning

Integration With the Business Modeler

1.2 Building the Right System. Identifying Needs & Expectations. Where to look for needs & expectations? or Who are the stakeholders?

Best Practices for Collecting User Requirements

PROFESSIONAL DEVELOPMENT COURSES. May - December Institute for Professional Excellence

Agile Certifications. Dr. Vijay Kanabar Boston University

Requirements Gathering: User Stories Not Just an Agile Tool

defined. defined. defined. defined. defined. defined. defined. defined. defined.

Agile Internationalization User Stories

Testing Agile Projects Stuart Reid

Requirements and User-Centered Design in an Agile Context

Collaboration at Scale: Prioritizing a Backlog. 13-Dec-2017

Individual Project. Agnieszka Jastrzębska Władysław Homenda Lucjan Stapp

needs, wants, and limitations

Backlog Refinement Process. Carolina Graffe Jorge Fernández

Testing in the Agile World

CS 4349 Lecture August 21st, 2017

Story Writing Basics

facebook a guide to social networking for massage therapists

Strong signs your website needs a professional redesign

By Camille Spruill SPC4, SA, CSM, PMP, CBAP. Raleigh Business Analysis Development Day (RBADD) October 18 th, 2016

I am Stephen LeTourneau from Sandia National Laboratories Sandia s National Security Missions include: Nuclear Weapons Defense Systems & Assessments

A Tale of Continuous Testing

GETTING STARTED. Introduction to Backlog Grooming

9/17/2018. Source: etiquette-important. Source:

SAFe Atlassian Style (Updated version with SAFe 4.5) Whitepapers & Handouts

An Intro to Scrum. Agile (Iterative) Project Development. Written in 2001 Can be read in its entirety at:

Extreme programming XP 6

Usability Testing. November 14, 2016

How to Collect and Manage Requirements for Successful GIS Projects. Matt Harman Craig Venker

User Centered Design for Mobile Applications BOB MORSE DA VINCI USABILITY

Atlassian JIRA Introduction to JIRA Issue and Project Tracking Software Tutorial 1

How to Write Better Web Copy

What is SEO? { Search Engine Optimization }

Cloud Transformation Program Cloud Change Champions May 23, 2018

How Can a Tester Cope With the Fast Paced Iterative/Incremental Process?

Commercial Card Expense Reporting: Cardholders, Reconcilers, Approvers. Wholesale Customer Training

Optimize tomorrow today.

George Olse n Principal, Interaction by Design User interface design It s not just what you say, it s how you say it

David Bernstein Five Development Practices Essential for Scrum Teams

Test Driven Development. René Barto SES Agile Development - Test Driven Development

User Stories Workshop

Business Analysis for Practitioners - Requirements Elicitation and Analysis (Domain 3)

GROW YOUR BUSINESS WITH AN ALL-IN-ONE REAL ESTATE PLATFORM

Hello everyone, how are you enjoying the conference so far? Excellent!

AmI Design Process. 01QZP - Ambient intelligence. Fulvio Corno. Politecnico di Torino, 2017/2018

Project design process by Heartgrenade

Sample Follow Up Schedule

Bringing QA Into the Agile Process

PART 1: BEGINNING PROFILES, RES CARDS, REMINDERS AND MARKETING CODES

Agile Software Development Agile UX Work. Kati Kuusinen TUT / Pervasive / IHTE

How Cisco IT Improved Development Processes with a New Operating Model

Don t Make Users Cry Help!

HOW TO WRITE USER STORIES (AND WHAT YOU SHOULD NOT DO) Stuart Ashman, QA Director at Mio Global Bob Cook, Senior Product Development Manager, Sophos

Built to keep you moving

DAVIS SYSTEMS

Certified ScrumMaster (CSM) 83 Success Secrets: 83 Most Asked Questions On Certified ScrumMaster (CSM) - What You Need To Know

Integrated Design & Development

What s the Value of Your Data? The Agile Advantage

Readers are wary of out of date content, so it's important to actively manage the information you publish.

Marketing: The Opportunity You Can't Afford to Miss CORINA OLINGER, MARKETING STRATEGIST

Quick Reference Design Guide

HPE Network Transformation Experience Workshop Service

ABCs of Small Business Customer Acquisition

Group Name: Team Epsilon Max Hinson Jhon Faghih Nassiri

E xtr B e y CS R m oy 6704, e T a P n a Spring r n o d J g ia n 2002 r g a S m hu m ing

Welcome to Lab! You do not need to keep the same partner from last lab. We will come around checking your prelabs after we introduce the lab

Best Practices for Final Year Projects

10 Step Checklist for Your Next Website Redesign

Writing good user stories starts from a handful of basic principles. A user story is a user story if and only if it is something that:

Agile Software Development. Software Development Methodologies. Who am I? Waterfall. John York JOHN YORK EECS 441 FALL 2017 A BRIEF LOOK

Social Sharing Tips. Amazon Influencer Program. In this article, you will: INSTAGRAM FACEBOOK

Designed in collaboration with Infosys Limited

WHAT IS ADVANCED PENETRATION MAPPING (A.P.M) MARKETBALANCE?

Transcription:

User Stories for Agile Requirements 1 Mike Cohn - background 2

It s a communication problem Software requirements is a communication problem Those who want software must communicate with those who will build it 3 Balance is critical If either side dominates, the business loses If the business side dominates functionality and dates are mandated with little regard for reality or whether the developers understand the requirements If the developers dominate technical jargon replaces the language of the business and developers lose the opportunity to learn from listening 4

Resource allocation We need a way of working together so that resource allocation becomes a shared problem Project fails when the problem of resource allocation falls too far to one side 5 Responsibility for resource allocation 6

Imperfect schedules We cannot perfectly predict a software schedule As users see the software, they come up with new ideas Too many intangibles Developers have a notoriously hard time estimating If we can t perfectly predict a schedule, we can t perfectly say what will be delivered 7 So what do we do? 8

Today s agenda What stories are User role modeling Story writing INVEST in good stories What user stories are not Why user stories 9 Ron Jeffries Three Cs Source: XP Magazine 8/30/01, Ron Jeffries. 10

Samples from a travel website 11 Where are the details? As a user, I can cancel a reservation. Does the user get a full or partial refund? Is the refund to her credit card or is it site credit? How far ahead must the reservation be cancelled? Is that the same for all hotels? For all site visitors? Can frequent travelers cancel later? Is a confirmation provided to the user? How? 12

Details added in smaller sub-stories 13 Details as conditions of satisfaction The product owner s conditions of satisfaction can be added to a story These are essentially tests 14

An example Implementation-size stories; days to implement An epic; weeks to implement 15 An example 16

Today s agenda What stories are User role modeling Story writing INVEST in good stories What user stories are not Why user stories 17 The User Many projects mistakenly assume there s only one user: The user Write all stories from one user s perspective Assume all users have the same goals Leads to missing stories 18

Travel Site Who s the user? 19 User roles Broaden the scope from looking at one user Allows users to vary by What they use the software for How they use the software Background Familiarity with the software / computers Used extensively in usage-centered design Source: Software for Use by Constantine and Lockwood (1999). 20

Common attributes 21 Advantages of using roles 22

Today s agenda What stories are User role modeling Story writing INVEST in good stories What user stories are not Why user stories 23 Questioning the users A problem: The question is closed {Yes No} 24

We can do better It s open Full range of answers But it has too much context 25 The best way to ask We want to ask questions that are Open-ended Context-free 26

Context matters 27 My context isn t your context 28

It s my problem, I know the solution Having a problem does not uniquely qualify you to solve it It hurts when I go like this 29 We need to stop asking users Since users don t know how to solve their problems, we need to stop asking We need to involve them instead 30

Story-writing workshops Includes developers, users, customer, others Brainstorm to generate stories Goal is to write as many stories as possible Some will be implementation ready Others will be epics No prioritization at this point 31 Start with epics and iterate 32

Today s agenda What stories are User role modeling Story writing INVEST in good stories What user stories are not Why user stories 33 What makes a good story? Thanks to Bill Wake for help with the acronym. See www.xp123.com. 34

INVESTing in good stories Independent Dependenices lead to problems estimating and prioritizing Can ideally select a story to work on without pulling in 18 other stories Negotiable Stories are not contracts Leave or imply some flexibility Valuable To users or customers, not developers Rewrite developer stories to reflect value to users or customers 35 INVESTing in good stories Estimatable Because plans are based on user stories, we need to be able to estimate them Sized Appropriately Testable Stories need to be testable Complex stories are intrinsically large Compound stories are multiple stories in one 36

Today s agenda What stories are User role modeling Story writing INVEST in good stories What user stories are not Why user stories 37 Software requirements specs Problems with IEEE 830-style Software Requirements Specifications Tedious to read So readers skim or skip sections Assumes everything is knowable in advance Feedback 38

All requirements are not equal Designers fix a top-level concept based on their initial understanding of a problem. May produce a solution for only the first few requirements they encounter. Sources: Making Use by John M. Carroll (2000) and Technology and Change by D.A. Schon (1967). 39 What are we building? Source: Adapted from The Inmates are Running the Asylum by Alan Cooper (1999). 40

What if we had stories instead? 41 The product 42

Stories are not use cases 43 Stories are not use cases 44

Differences: use cases / stories Scope Completeness Longevity Purpose Use cases document an agreement between the customer and the developers User stories are reminders to have a conversations and are written to facilitate planning 45 Today s agenda What stories are User role modeling Story writing INVEST in good stories What user stories are not Why user stories 46

So why user stories? Shift focus from writing to talking then You built what I asked for, but it s not what I need. 47 Words are imprecise 48

Examples 49 Another example 50

Additional reasons Stories are comprehensible Developers and customers understand them People are better able to remember events if they are organized into stories Support and encourage iterative development Can easily start with epics and disaggregate closer to development time Bower, Black, and Turner. 1979. Scripts in Memory for Text. 51 Yet more reasons Stories are the right size for planning Stories support participatory design Stories support opportunistic development We design solutions by moving opportunistically between top-down and bottom-up approaches Guindon. 1990. Designing the Design Process. 52

Why not user stories? There are some drawbacks to be aware of On a large project there can be lots of stories Solution is to remember to keep some as epics initially Or staple some together into themes Stories on cards don t facilitate traceability But you can do it, or you can use software Stories focus on increasing tacit, not formal, communication May need to supplement with some formal documentation 53 Most importantly 54

Upcoming public classes Date What Where August 1-2 Certified ScrumMaster Denver August 3 Agile Estimating & Planning Denver November 7-8 Certified ScrumMaster Santa Clara November 9 Agile Estimating & Planning Santa Clara November 29-30 Certified Product Owner (with Ken Schwaber) Boulder Register at www.mountaingoatsoftware.com 55 Mike Cohn contact info mike@mountaingoatsoftware.com www.mountaingoatsoftware.com (720) 890-6110 (office) (303) 810-2190 (mobile) 56