how to write good user stories

42
Writing better user stories José E. Rodríguez Huerta (@jrhuerta)

Upload: jose-huerta

Post on 27-Jan-2015

113 views

Category:

Technology


2 download

DESCRIPTION

 

TRANSCRIPT

Page 1: How to write good user stories

Writing better user stories

José E. Rodríguez Huerta (@jrhuerta)

Page 2: How to write good user stories

Disclaimer

Not a single original thought in this presentation.

Although there is some first hand

experience

Page 3: How to write good user stories

What this talk is about

•  Why use user stories at all?

•  Some guidelines on how to

improve

•  Identifying common “user

story smells…”

Page 4: How to write good user stories

Why use User stories at all?

Page 5: How to write good user stories

Requirements gathering is an

integral part of software

development

Page 6: How to write good user stories
Page 7: How to write good user stories
Page 8: How to write good user stories

Common pitfalls •  Lack of context

•  Fail to deliver value

•  Overly specified

•  User/Client doesnt know

what they want.

•  No priorization

•  Hard to build incrementaly

•  Difficult to estimate

•  Too long… Didn’t read.

•  Too technical… Didn’t read.

•  Long time to market cycle

•  Not always clear who the

users are and what they

expect from the software.

•  Long feedback loops

from users/stakeholders

•  Acceptance criteria is:

everything is implemented.

•  Hard to maintain

Page 9: How to write good user stories

User stories to the rescue!

Page 10: How to write good user stories

Yes, they are still a

requirements document,

but…

Page 11: How to write good user stories

They are cool

Page 12: How to write good user stories

How do User Stories address those problems?

•  Provide Context =>

Aligment

•  End user/customer

language, makes it easy

to read/understand

bridges the gap between

technical and business

•  Focus on Delivering Value

•  User/Customer centered

•  Small, Cheap

•  Easily priorizable and re-

priorizable

•  Versatile

•  Switch the focus to

communication instead of

a detailed specification.

•  Shortens Time to Market.

Page 13: How to write good user stories

What is a user story?

three critical parts:

– Card

– Conversation

– Confirmation

(“conversation placeholders”)

Page 14: How to write good user stories

What is a “Good” USER STORY?  

Page 15: How to write good user stories

It helps YOU

to solve your problem

Page 16: How to write good user stories

Defining a “good” u.s.

•  follows the INVEST acronym

(by Bill Wake)

•  Defines conditions FOR

“satisfaction” (in DoD)

•  Defines conditions FOR

“readyness” (in DoR)

Page 17: How to write good user stories

Defining a “good” U.S.

•  Uses the customer’s language

•  has the Who, the What and Why

•  Everyone participates in

defining/refining

Page 18: How to write good user stories

I.N.V.E.S.T.

•  Independent

•  Negotiable

•  Value

•  Estimable

•  Size/Small

•  Testable

Page 19: How to write good user stories

I for Independent

Independent also means it can

be built incrementaly

and iteratively

Page 20: How to write good user stories

Incremental

Art  by  Jeff  Pa,on  

Page 21: How to write good user stories

Iterative

Art  by  Jeff    Pa,on  

Page 22: How to write good user stories

Incremental-Interative

Art  by  Steven  Thomas  

Page 23: How to write good user stories

I for Independent

Ok… maybe, some dependency

Page 24: How to write good user stories

N for Negotiable

•  Avoid implementation details

– It says the What, not the How.

•  Its not carved in stone

– Until its part of an iteration it

can still be rewritten

Page 25: How to write good user stories

V for Value

Provide value to your customer with every story

Page 26: How to write good user stories

V for Value

Page 27: How to write good user stories

V for Value

Page 28: How to write good user stories

V for Value

Page 29: How to write good user stories

E for Estimable

Otherwise you can’t know when it will be done

(or if it will ever be…)

Page 30: How to write good user stories

S for Size/Small

•  If its too big, split it.

– Learn how.

•  If it too small, maybe its not a

user story

– I smell micromanagement!

Page 31: How to write good user stories

T for Testable

If it’s not worth testing it… Is it worth writting it?

Page 32: How to write good user stories

Not everything is a

User Story

Page 33: How to write good user stories
Page 34: How to write good user stories

What? •  The process context:

– Definition of Done

– Definition of Ready

•  Non functional requirements:

– Requirements that extend

through the whole project

Page 35: How to write good user stories

Use aids to “Power Up”

•  Wireframes

•  Navigation maps •  Color tags •  Personas •  User Story maps •  Anything else you may find

useful

Page 36: How to write good user stories

Use aids to “Power Up”

•  Wireframes

•  Navigation maps

•  Color tags

•  Personas

•  User Story maps

•  Anything else you may find useful

Page 37: How to write good user stories

Revise and Refine and even Re-do

•  User stories are alive, they:

–  Are Born

– Grow

–  Reproduce

– Die

•  Make time to groom your

backlog with the team and client

Page 38: How to write good user stories

user story smells

Page 39: How to write good user stories

User Story smells…

•  Too much detail or too little detail

•  No conditions of satisfaction

•  A story per page/component or sliced in ways that don’t deliver value

•  Technical tasks masqueraded as user stories

•  Skipping the conversation

Page 40: How to write good user stories

15m is not a lot of time so…

Page 41: How to write good user stories

Where DO I get more info?

•  Agile Barcelona community (@agilebcn)

•  Books:

–  User stories applied: For Agile Software

Development by Mike Cohn

–  Lean UX: Applying Lean Principles to Improve

User Experience by Jeff Gothelf & Josh Seiden

•  The Mountain Goat Software:

http://www.mountaingoatsoftware.com/

•  Google

Page 42: How to write good user stories

 Thanks Any questions?

(@jrhuerta)