Sizing & Estimating User Stories by Rally for the …files.meetup.com/6818372/Sizing & Estimating...

64
Story Estimation Presented by Thom Gray & Mark Kilby February 2014

Transcript of Sizing & Estimating User Stories by Rally for the …files.meetup.com/6818372/Sizing & Estimating...

Story Estimation Presented by Thom Gray & Mark Kilby February 2014

Welcome to Carnival!

Antonio Di Perna

Rick Regueira Deema Dajani Alex Kanaan Maria Poviones-B

ishop

Joy Chambers Antonio Di Perna Rimma Polissky Donny Herrera

SFAA Officers & Directors

Introducing Evening with a Guru series

January: Bob Hartman, hosted at Ultimate Software

Getting Involved

March 4th

Sanjiv Augustine Driving Lean Innovation on Agile Teams

May 21st State of Agile Tools Conference

July 15th Peter Borsella Teams: What it means to be small, cross-functional, and self-organizing

Upcoming Featured Events On Going

Lean Coffee Meet Ups

•  Doral/Miami •  Broward

Miami Agile Book Club

Special Thanks to tonight’s Event Sponsor

Rally Software is a leading global provider of cloud-based solutions for managing Agile software development. The Rally® Agile application lifecycle management (ALM) platform transforms the way organizations manage the software development lifecycle by closely aligning software development and strategic business objectives, facilitating collaboration, increasing transparency and automating manual processes. Companies use Rally to accelerate the pace of innovation, improve productivity and more effectively adapt to rapidly changing customer needs and competitive dynamics.

Survey & Raffle

Your ticket to enter the Raffle, is your completed survey!

Our Speakers

Thom Gray CSM, CSP, SAFe

Mark Kilby CSM, Agile Coaching,

SAFe

www.rallydev.com ©2013

Go Agile. Go Rally.

www.rallydev.com ©2013

STORIES USER

getting to know you INTROS

Thom Gray Technical Account

Manager RALLY Software

[email protected]

linkedin.com/thomwgray

www.rallydev.com ©2013

Mark Kilby

Enterprise Agile Coach

[email protected]

[email protected]

@mkilby– twitter

http://markkilby.com

Software since 1990 Agile Coaching since 2003

AgileOrlando.com (founder)

Lean Coffee Orlando (founder)

speaker

getting the most of our time WORKING AGREEMENTS

www.rallydev.com ©2013

www.rallydev.com ©2013

WHAT is a User Story?

STORIES USER

CONVERSATION

CARD

CONFIRMATION

CONVERSATION

CARD

CONFIRMATION

www.rallydev.com ©2013

AS A <type of user>, I WANT TO <goal>, SO THAT <reason>.

CONVERSATION

CARD

CONFIRMATION

I want the toast to pop up when it’s done.

That’s really expensive. The popping part is easy – that’s just a spring. But knowing when the toast is done requires an optical sensor – new technology.

But what about all the other toasters out there?

Oh, they use a timer. They don’t really know when the toast is done.

Our customers don’t want a super toaster. They just want a regular toaster, with a timer, like everyone else.

Oh, that won’t be expensive at all. That’s easy.

Cool.

CONVERSATION

CARD

CONFIRMATION

www.rallydev.com ©2013

Acceptance criteria are…

criteria for acceptance clarification of the story guide for automated

acceptance tests documentation

www.rallydev.com ©2013

can take multiple forms •  Bulleted or numbered lists •  Scenario •  Links to other documents •  What else?

www.rallydev.com ©2013

As a WSAPI user I want to be able to invoke the delete method on a recycle bin entry so that it goes away. Acceptance Criteria * Only Workspace admins can delete

forever * No revisions generated * No notifications sent * item no longer appears in the recycle

bin or the app or in WSAPI * items not found in searches

bullets

www.rallydev.com ©2013

Scenario = Persona + Task + Environment

Story: Account Holder withdraws cash As an Account Holder I want to withdraw cash from an ATM So that I can get money when the bank is closed Scenario 1: Account has sufficient funds Given the account balance is $100 And the card is valid And the machine contains enough money When the Account Holder requests $20 Then the ATM should dispense $20 And the account balance should be $80 And the card should be returned

http://dannorth.net/whats-in-a-story

www.rallydev.com ©2013

Scenario = Persona + Task + Environment Scenario 2: Account has insufficient funds Given the account balance is $10 And the card is valid And the machine contains enough money When the Account Holder requests $20 Then the ATM should not dispense any money And the ATM should say there are insufficient funds And the account balance should be $10 And the card should be returned Scenario 3: Card has been disabled Given the card is disabled When the Account Holder requests $20 Then the ATM should retain the card And the ATM should say the card has been retained

http://dannorth.net/whats-in-a-story

www.rallydev.com ©2013

AS A DOG, I WANT TO BE ABLE TO ORDER FOOD ONLINE, SO THAT I DON’T HAVE TO RELY ON PEOPLE ANYMORE.

problem (what) versus solution (how) What

How

via the web?

through an installed app?

using the telephone?

by telepathy?

Independent Negotiable

Valuable Estimable

Sized appropriately Testable

QUALITIES USER STORY

www.rallydev.com ©2013

GUI

Business Logic

Database

Story 1 Story 2 SLICES VERTICAL

writing user stories EXERCISE

As your wife, I need

the shoe molding

installed so that the

tile looks finished.

www.rallydev.com ©2013

WHY do we Estimate User

Stories?

STORIES USER

Goal%

Feature%

User%Story%

Feature% Feature% Feature%

User%Story%

User%Story%

User%Story%

User%Story%

User%Story%

User%Story%

User%Story%

User%Story%

User%Story%

User%Story%

User%Story%

User%Story%

User%Story%

User%Story%

User%Story%

Features%are%decomposed%into%User%Stories%that%are%thin%slices%of%value%added%into%the%system%

If our backlog looks like this, the first question is…

Goal%

Feature%

User%Story%

Feature% Feature% Feature%

User%Story%

User%Story%

User%Story%

User%Story%

User%Story%

User%Story%

User%Story%

User%Story%

User%Story%

User%Story%

User%Story%

User%Story%

User%Story%

User%Story%

User%Story%

Features%are%decomposed%into%User%Stories%that%are%thin%slices%of%value%added%into%the%system%

“How long will this take?”

If we know “how big”…

If we know “how big”…

We can calculate “how long” to done

www.rallydev.com ©2013

HOW do we Estimate User

Stories?

STORIES USER

How big is Neptune?

We are better at relative than absolute

estimates

the perils of absolute estimation EXERCISE

As your facilitator, I

need you to walk from

here to there.

www.rallydev.com ©2013

POINTS STORY

Complexity Effort Doubt

Doubt

Complexity

Complexity

Complexity Effort

Effort

Effort Doubt

Doubt

Story 1

Story 2

Story 3

Doubt

Complexity Effort

Complexity

Effort

Doubt

Complexity Effort

Doubt

Story 1

Story 2

Story 3

Doubt

Complexity Effort

Complexity

Effort

Doubt

Complexity Effort

Doubt

Story 1

Story 2

Story 3

M

M

L

www.rallydev.com ©2013

1""2""3""5""8""13"

20""40""100"

Sequence Fibonacci

www.rallydev.com ©2013

POINTS ESTIMATING SIZE

1""2""3""5""8""13"20"40"100"S! M! L! XL!

S!

S!

M!

M!

L!

L!

XL!

XL!

Doubt

Complexity Effort

Complexity

Effort

Doubt

Complexity Effort

Doubt

Story 1

Story 2

Story 3

5

5

13

www.rallydev.com ©2013

HOW do we Size User Stories?

STORIES USER

www.rallydev.com ©2013

POKER PLANNING

www.rallydev.com ©2013

Read user story, discuss briefly Each team member selects estimate card Cards all turned over at once Discuss difference and outliers Re-estimate until estimates converge

POKER PLANNING

planning poker EXERCISE

As your wife, I need

the shoe molding

installed so that the

tile looks finished.

www.rallydev.com ©2013

ESTIMATE BY ANALOGY

“This story is like that story, so it’s estimate is what that story’s estimate was.”

estimate by analogy EXERCISE

As your wife, I need

the shoe molding

installed so that the

tile looks finished.

SMALL

LARGE

MEDIUM SMALL SMALL

MEDIUM

MEDIUM

LARGE

www.rallydev.com ©2013

Questions?

STORIES USER

www.rallydev.com ©2013

STORIES USER

Join us!

www.southfaa.com

South Florida Agile Association

Discussions

@southfaa

230 members

200 members

Reminder

March 4th

Sanjiv Augustine Driving Lean Innovation on Agile Teams In the evening At Nova Southeastern

Sign up for ….

•  The future of Agile •  Lean Startup! •  Renowned Agile consultant and

president of Lithe Speed

Reminder

May 21st State of Agile Tools Conference All day event At Nova Southeastern

Mark your calendar for …. Who’s participating? •  10 Agile tools vendors •  300+ attendees •  From 50 SFL companies •  From all 3 counties

What to expect? •  Evaluate tools side by side •  Renowned Agile guest speakers

!  Want to Sponsor?

!  Want to Volunteer?

Alex Kanaan

Raffle

And the winner is ……

Prize presented by