agile business conference · simple template: as a , ... agile coaching blog bill wake – xp 123...

36
© Copyright 2010 2014 Sprint Agile Ltd All rights reserved. Matt Roadnight October 2014 [email protected] Agile Business Conference How To …. Slice Stories

Upload: trinhkhue

Post on 09-May-2018

212 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Agile Business Conference · simple template: As a , ... Agile Coaching Blog Bill Wake – XP 123 Article - 20 ... Test –Each of you will

© Copyright 2010 – 2014 Sprint Agile Ltd All rights reserved.

Matt Roadnight

October 2014

[email protected]

Agile Business Conference

How To ….

Slice Stories

Page 2: Agile Business Conference · simple template: As a , ... Agile Coaching Blog Bill Wake – XP 123 Article - 20 ... Test –Each of you will

2 . © Copyright 2010 - 2014 Sprint Agile Ltd All rights reserved.

How to ……

I’ve done it

before

I understand

the concepts,

but not done it

before

Slicing is new

to me

Slice Stories

Your Experience …. Grab a small Post-it …

On your table – try and have at least one of these -

Sit with people you don’t know (you may learn more) …

Page 3: Agile Business Conference · simple template: As a , ... Agile Coaching Blog Bill Wake – XP 123 Article - 20 ... Test –Each of you will

3 . © Copyright 2010 - 2014 Sprint Agile Ltd All rights reserved.

Background

Page 4: Agile Business Conference · simple template: As a , ... Agile Coaching Blog Bill Wake – XP 123 Article - 20 ... Test –Each of you will

4 . © Copyright 2010 - 2014 Sprint Agile Ltd All rights reserved.

Thanks …..

– Peter Marshall – Equal Experts

– Antony Marcano – RiverGlide

Page 5: Agile Business Conference · simple template: As a , ... Agile Coaching Blog Bill Wake – XP 123 Article - 20 ... Test –Each of you will

5 . © Copyright 2010 - 2014 Sprint Agile Ltd All rights reserved.

Slicing

Product Slicing

Story Slicing

Page 6: Agile Business Conference · simple template: As a , ... Agile Coaching Blog Bill Wake – XP 123 Article - 20 ... Test –Each of you will

6 . © Copyright 2010 - 2014 Sprint Agile Ltd All rights reserved.

Approach

Page 7: Agile Business Conference · simple template: As a , ... Agile Coaching Blog Bill Wake – XP 123 Article - 20 ... Test –Each of you will

7 . © Copyright 2010 - 2014 Sprint Agile Ltd All rights reserved.

Story Slicing

Page 8: Agile Business Conference · simple template: As a , ... Agile Coaching Blog Bill Wake – XP 123 Article - 20 ... Test –Each of you will

8 . © Copyright 2010 - 2014 Sprint Agile Ltd All rights reserved.

Discuss Agile Principles for working in an iteration or to a cadence

e.g. cross functional team

Capture on a POST-IT, One per POST IT

Story Slicing

Page 9: Agile Business Conference · simple template: As a , ... Agile Coaching Blog Bill Wake – XP 123 Article - 20 ... Test –Each of you will

9 . © Copyright 2010 - 2014 Sprint Agile Ltd All rights reserved.

Story – A definition

In your groups discuss challenges to applying principles to working in

an iteration when creating stories that are “Ready” to create a product

increment from. Capture on Post-Its – one per post it.

A Story that is ready to create a product increment from …..

“…understandable to customers and developers, testable, valuable to

the customer and small enough so that the programmers can build

half a dozen in an iteration.”

Kent Beck, 2001

Story Slicing

User stories are short, simple description of a

feature told from the perspective of the person

who desires the new capability, usually a user or

customer of the system. They typically follow a

simple template:

As a <type of user>, I want <some goal> so that

<some reason> Source : Mike Cohn, Mountain Goat Software

Page 10: Agile Business Conference · simple template: As a , ... Agile Coaching Blog Bill Wake – XP 123 Article - 20 ... Test –Each of you will

10 . © Copyright 2010 - 2014 Sprint Agile Ltd All rights reserved.

Story Slicing

Page 11: Agile Business Conference · simple template: As a , ... Agile Coaching Blog Bill Wake – XP 123 Article - 20 ... Test –Each of you will

11 . © Copyright 2010 - 2014 Sprint Agile Ltd All rights reserved.

Mi-Card

Mi-Card

Story Slicing

Page 12: Agile Business Conference · simple template: As a , ... Agile Coaching Blog Bill Wake – XP 123 Article - 20 ... Test –Each of you will

12 . © Copyright 2010 - 2014 Sprint Agile Ltd All rights reserved.

Exercise

Open Envelope #1

Lay out theses stories according to the “system journey”

Story Slicing

Page 13: Agile Business Conference · simple template: As a , ... Agile Coaching Blog Bill Wake – XP 123 Article - 20 ... Test –Each of you will

13 . © Copyright 2010 - 2014 Sprint Agile Ltd All rights reserved.

Your Story Map ….

You will probably have something like ….

Story Slicing

User Activities – “A sort of big

thing that people do”

Jeff Patton

Page 14: Agile Business Conference · simple template: As a , ... Agile Coaching Blog Bill Wake – XP 123 Article - 20 ... Test –Each of you will

14 . © Copyright 2010 - 2014 Sprint Agile Ltd All rights reserved.

Story – A definition

A Story that is ready to create a product increment from …..

“…understandable to customers and developers, testable, valuable to

the customer and small enough so that the programmers can build

half a dozen in an iteration.”

Kent Beck, 2001

Story Slicing

Page 15: Agile Business Conference · simple template: As a , ... Agile Coaching Blog Bill Wake – XP 123 Article - 20 ... Test –Each of you will

16 . © Copyright 2010 - 2014 Sprint Agile Ltd All rights reserved.

Product Backlog Refinement

Epics or Features

“Ready” User Stories

Backlog

Refinement /

Grooming /

Ready

Story Slicing

Page 16: Agile Business Conference · simple template: As a , ... Agile Coaching Blog Bill Wake – XP 123 Article - 20 ... Test –Each of you will

17 . © Copyright 2010 - 2014 Sprint Agile Ltd All rights reserved.

Discussion

Chat on your tables

To get “ “Refined”

– What kind of activities may take place ?

– What artefacts could be created ?

– Who may be involved ?

Card Transactions

Story Slicing

Page 17: Agile Business Conference · simple template: As a , ... Agile Coaching Blog Bill Wake – XP 123 Article - 20 ... Test –Each of you will

18 . © Copyright 2010 - 2014 Sprint Agile Ltd All rights reserved.

Take the Epics and work them up a bit …

Stuff that may happen ….

Further refinement – Split the Epic up into a smaller stories

Stories provide more focus than the Epics

Principles are generally well understood

Encourages use of acceptance criteria

Initial refinement – Get out an initial sketch

– Understand the process

– Identify further large stories

Work through based on value / prioritisation (Linier Backlog)

Story Slicing

Page 18: Agile Business Conference · simple template: As a , ... Agile Coaching Blog Bill Wake – XP 123 Article - 20 ... Test –Each of you will

19 . © Copyright 2010 - 2014 Sprint Agile Ltd All rights reserved.

Refinement of an Epic Story

Story

Story

Story

Feature or Theme EPIC

Story

Refinement

Story

Story

Story

Story Slicing

Page 19: Agile Business Conference · simple template: As a , ... Agile Coaching Blog Bill Wake – XP 123 Article - 20 ... Test –Each of you will

20 . © Copyright 2010 - 2014 Sprint Agile Ltd All rights reserved.

Exercise - Initial Refinement

Open envelope #2 ….

Have a look at the design sketch and additional stories, have a chat, can you see where the stories map to the UI design?

Lay out your cards in priority order, guided by user value

Story Slicing

Story

Story

Story

Card Transactions

Lower Priority

Story

Page 20: Agile Business Conference · simple template: As a , ... Agile Coaching Blog Bill Wake – XP 123 Article - 20 ... Test –Each of you will

21 . © Copyright 2010 - 2014 Sprint Agile Ltd All rights reserved.

Search

Filter

View a List

Print

Page 21: Agile Business Conference · simple template: As a , ... Agile Coaching Blog Bill Wake – XP 123 Article - 20 ... Test –Each of you will

22 . © Copyright 2010 - 2014 Sprint Agile Ltd All rights reserved.

All agree we are doing the “View a list of transactions “ first …

Most people get here OK, but not many people slice further ….

Assume it’s too big for a sprint, the team need to get it to “DONE” in 2-3 days

Story Slicing

Page 22: Agile Business Conference · simple template: As a , ... Agile Coaching Blog Bill Wake – XP 123 Article - 20 ... Test –Each of you will

23 . © Copyright 2010 - 2014 Sprint Agile Ltd All rights reserved.

Product owner

Too big for a sprint Don’t slice

‘horizontally’

Vertical slicing enables

PO to validate and

feedback

“Slicing” User Stories that are too big Story Slicing

Page 23: Agile Business Conference · simple template: As a , ... Agile Coaching Blog Bill Wake – XP 123 Article - 20 ... Test –Each of you will

24 . © Copyright 2010 - 2014 Sprint Agile Ltd All rights reserved.

Slicing Stories

Break them down into vertical slices of Functionality e.g.

– Sunshine Path

– Layer on exceptions after, and one at a time

Prioritise for business value, but also ensure that you allow the team time to produce backlog items that are Ready for Sprint Planning

Front End

Middle

Back End

Product Backlog

Item Slices

Story Slicing

Page 24: Agile Business Conference · simple template: As a , ... Agile Coaching Blog Bill Wake – XP 123 Article - 20 ... Test –Each of you will

25 . © Copyright 2010 - 2014 Sprint Agile Ltd All rights reserved.

Agile Manifesto Principle -

Simplicity --the art of maximizing the amount of work not done-- is essential.

So …

Do the simplest thing you could possibly do first and get it working end to end.

You have always got something to demonstrate, and a potentially shippable product.

To get there try some of these approaches …

Page 25: Agile Business Conference · simple template: As a , ... Agile Coaching Blog Bill Wake – XP 123 Article - 20 ... Test –Each of you will

26 . © Copyright 2010 - 2014 Sprint Agile Ltd All rights reserved.

Tool : Some approaches for Slicing Stories

Approach Description

Acceptance

Criteria

Take out some of your acceptance criteria and put them in another story.

By User Try focussing on a subset of users or a single user, start with the most valuable.

Process Pick the “Happy Path” first, the path that is taken the majority of the time. Add the

edge cases and exceptions as you go, be prepared to look at alternatives for

exceptions not implemented if you run out of time or budget.

Data Set Limit the data set that you apply the functionality to. System, geographical or

product boundaries will guide you. Add others as you build and learn from the first.

Input/ Output

Thinning

Can you simplify the input or output – remove fields or use a command line or

“rougher“ UI.

Architectural Defer Performance (but not for too long), defer internationalisation, mock interfaces.

Story Slicing

A summary of a number of approaches from sources like …

Rachel Davies – Agile Coaching Blog Bill Wake – XP 123 Article - 20 ways to split stories

Gottesdeiner & Gorman – Slicing Requirements for Agile Success Article

Page 26: Agile Business Conference · simple template: As a , ... Agile Coaching Blog Bill Wake – XP 123 Article - 20 ... Test –Each of you will

27 . © Copyright 2010 - 2014 Sprint Agile Ltd All rights reserved.

Exercise - Envelope #3

Role Playing : Pick one of 4 Specialist roles

– Development, UX, Business, Test

– Each of you will have some additional information that you will need to share and collaborate on to get the full picture

USE the Systems View !!

Story Slicing

Read through the roles and discuss what options you have

for slicing the story – tip – look at the acceptance criteria first.

See if you can come up with some slices.

Page 27: Agile Business Conference · simple template: As a , ... Agile Coaching Blog Bill Wake – XP 123 Article - 20 ... Test –Each of you will

28 . © Copyright 2010 - 2014 Sprint Agile Ltd All rights reserved.

Tool : Slicing Grid

Architectural

Story Slicing

Data

Page 28: Agile Business Conference · simple template: As a , ... Agile Coaching Blog Bill Wake – XP 123 Article - 20 ... Test –Each of you will

29 . © Copyright 2010 - 2014 Sprint Agile Ltd All rights reserved.

Ordering

Example Elements :

Transaction Info

Page 29: Agile Business Conference · simple template: As a , ... Agile Coaching Blog Bill Wake – XP 123 Article - 20 ... Test –Each of you will

30 . © Copyright 2010 - 2014 Sprint Agile Ltd All rights reserved.

Exercise- Envelope #4

Create a Slicing grid

Circle on your slicing Grid the simplest slice and then write a story for it

– NB – balance the detail between the front and back of the card

Page 30: Agile Business Conference · simple template: As a , ... Agile Coaching Blog Bill Wake – XP 123 Article - 20 ... Test –Each of you will

32 . © Copyright 2010 - 2014 Sprint Agile Ltd All rights reserved.

Story Slicing

Page 31: Agile Business Conference · simple template: As a , ... Agile Coaching Blog Bill Wake – XP 123 Article - 20 ... Test –Each of you will

33 . © Copyright 2010 - 2014 Sprint Agile Ltd All rights reserved.

Exercise

Refer back to the Principles for working in an iteration and the challenges in applying those principles

Discuss how Slicing Approaches and the Slicing Grid could help address those challenges, and any other benefits from using these tools

Story Slicing

Page 32: Agile Business Conference · simple template: As a , ... Agile Coaching Blog Bill Wake – XP 123 Article - 20 ... Test –Each of you will

34 . © Copyright 2010 - 2014 Sprint Agile Ltd All rights reserved.

Story Slicing helps with feature estimation

Estimates

Constraints Features Cost Schedule

Features Cost Schedule

Value

Driven

Plan

Driven

The Plan creates the

Cost/schedule estimates Value drives the

feature estimates

Traditional Agile

Page 33: Agile Business Conference · simple template: As a , ... Agile Coaching Blog Bill Wake – XP 123 Article - 20 ... Test –Each of you will

35 . © Copyright 2010 - 2014 Sprint Agile Ltd All rights reserved.

User Story Map

Feature

Story Story Story

Story

Story Story

Vision

Story Story Story Story

Story

Story Story Story

Story

Story

Story

Story Story

Story

Story

Feature Feature Feature

Release

Goal

Release

Goal

Page 34: Agile Business Conference · simple template: As a , ... Agile Coaching Blog Bill Wake – XP 123 Article - 20 ... Test –Each of you will

36 . © Copyright 2010 - 2014 Sprint Agile Ltd All rights reserved.

Story

Story

Story

Story

Story

Story

Story

Story

Story

Story

Story

Story

Story

Story

Story

Story

Story

Release

Goal

Release

Goal

Product Backlog

Prioritised &

Ordered

Page 35: Agile Business Conference · simple template: As a , ... Agile Coaching Blog Bill Wake – XP 123 Article - 20 ... Test –Each of you will

37 . © Copyright 2010 - 2014 Sprint Agile Ltd All rights reserved.

Slicing

Product Slicing

Balance Login Card Transactions

Page 36: Agile Business Conference · simple template: As a , ... Agile Coaching Blog Bill Wake – XP 123 Article - 20 ... Test –Each of you will

38 . © Copyright 2010 - 2014 Sprint Agile Ltd All rights reserved.

[email protected]