20
Intelligent People. Uncommon Ideas. 1 Writing User Stories Effectively (http://www.directi.com | http://wiki.directi.com | http://careers.directi.com ) Licensed under Creative Commons Attribution Sharealike Noncommercial By, Janeve George [email protected]

Writing Effective User Stories

Embed Size (px)

Citation preview

Page 1: Writing Effective User Stories

Intelligent People. Uncommon Ideas.

11

Writing User Stories Effectively

(http://www.directi.com | http://wiki.directi.com | http://careers.directi.com)

Licensed under Creative Commons Attribution Sharealike Noncommercial

By, Janeve George [email protected]

Page 2: Writing Effective User Stories

22Creative Commons Sharealike Attributions Noncommercial

Few Instruction

• It's a workshop not a presentation !!!

• Parking Lot

• Perks

Page 3: Writing Effective User Stories

33Creative Commons Sharealike Attributions Noncommercial

Overview

• What are User Stories?

• Some interesting BuzzWords

• The story of writing User Stories

• User role modeling

• Gathering User Stories

• Managing Epics and Tiny Stories

• Pros and Cons of User Stories

• User Stories gathering workshop

• References

Page 4: Writing Effective User Stories

44Creative Commons Sharealike Attributions Noncommercial

What are User Stories?

• It is the primary development artifact in XP/Agile development methodology

• High level requirements document

• Focuses on Who, What and Why of a feature and not How

• 3Cs of an User Story (coined by Ron Jeffries)– Card: A brief description– Conversation: Further information of the User Stories– Confirmation: Test to confirm completeness and

acceptance

Page 5: Writing Effective User Stories

55Creative Commons Sharealike Attributions Noncommercial

What are User Stories?

Page 6: Writing Effective User Stories

66Creative Commons Sharealike Attributions Noncommercial

What are User Stories?

Page 7: Writing Effective User Stories

77Creative Commons Sharealike Attributions Noncommercial

What are User Stories?

• A well-written User Story follows the INVEST model (coined by Bill Wake):– Independent– Negotiable– Valuable– Estimable– Small– Testable

• User stories can describe– Feature– Non-Functional Feature– Bug Fixes

Page 8: Writing Effective User Stories

88Creative Commons Sharealike Attributions Noncommercial

Some Interesting BuzzWords

• The Customer Team

• Epics

• Themes

• User Role Modeling

• Story Writing Workshop

• User Proxies

Page 9: Writing Effective User Stories

99Creative Commons Sharealike Attributions Noncommercial

Story of writing User Stories

Brainstorminginitial set ofUser Roles

Organize the set of

User Roles

Consolidate theset of

User Roles

Refine the set of

User Roles

Choose one User Role to start with

Refinedset of User Role

Write as manyCards as

possible for the User Role

Discuss and refine the set of

Cards

Refined set of User Stories

Prioritize for iteration

Compile a reliableset of

Confirmations

Pin down everyvaluable

Conversation

Step in process

Development Artifacts

Page 10: Writing Effective User Stories

1010Creative Commons Sharealike Attributions Noncommercial

User Role Modeling

• User Roles– Various types of users

• Role Modeling– Brain storming– Organizing– Consolidating– Refining

• Personas– Imaginary representation of an User Role– Could use pictures too

• Extreme Characters

Page 11: Writing Effective User Stories

1111Creative Commons Sharealike Attributions Noncommercial

Gathering User Stories

• User Interviews– Select right interviewees– Ask open-ended, context-free questions

• Questionares– Best if there is a large user population– When you need answers to specific questions

• Observation– Best fot In-House developments

• Story writing Workshops– Effective during the initial phase of the project / release

Page 12: Writing Effective User Stories

1212Creative Commons Sharealike Attributions Noncommercial

Guidelines for good User Stories

• Start with Goal Stories

• Slicing the cake

• Write closed stories

• Size it for the Horizon

• “I as a (role) want (something), so that (benefit)”

• Colored cards

Page 13: Writing Effective User Stories

1313Creative Commons Sharealike Attributions Noncommercial

Managing Epics and Tiny Stories

• Epics are too large to estimate and can be split into multiple stories

• Epics represents– Complex functionality– Placeholders for low priority stories

• Types of Epics– Compound Stories– Complex Stories

• Different ways to split Epics– Various small actions in the Epic– Along the boundaries of Data– Depending on complexity

Page 14: Writing Effective User Stories

1414Creative Commons Sharealike Attributions Noncommercial

Managing Epics and Tiny Stories

• Tint stories are too short

• Its better to– Combine multiple tiny stories– Group them into Themes

Page 15: Writing Effective User Stories

1515Creative Commons Sharealike Attributions Noncommercial

Creating User Stories

• Sequentially numbered

• Customer Focused– Written from a User's perspective– Better if written by the user– Avoid technical jargons

• Shouldn't be too short nor too long

• Should be complete and testable

• Should be able to implement by two people in a single iteration

• Avoid infrastructure, technology or service elements

Page 16: Writing Effective User Stories

1616Creative Commons Sharealike Attributions Noncommercial

Pros and Cons of User Stories

Short and Easy to modify as in when requirements changes

Allow projects to be broken into small increments Easier to estimate the development effort Completed User stories can go for development It drives the creation of Acceptance tests Initial learning curve They require close customer contact Rely more on competent developers

Page 17: Writing Effective User Stories

1717Creative Commons Sharealike Attributions Noncommercial

References

• User Stories Applied: For Agile Software Development by Mike Cohn

• http://www.agile-software-development.com/search/label/user%20stories

• http://agilesoftwaredevelopment.com/blog/vaibhav/good-user-story-invest

Page 18: Writing Effective User Stories

Intelligent People. Uncommon Ideas.

1818

Questions???

[email protected]

http://directi.comhttp://careers.directi.com

Page 19: Writing Effective User Stories

Intelligent People. Uncommon Ideas.

1919

Online Library PortalA User Stories gathering workshop

[email protected]

http://directi.comhttp://careers.directi.com

Page 20: Writing Effective User Stories

Intelligent People. Uncommon Ideas.

2020

Retrospective!!!

[email protected]

http://directi.comhttp://careers.directi.com