Agile planning

39
Amir Barylko - Agile Planning MavenThought Inc. AMIR BARYLKO AGILE PLANNING

description

Presentation about doing project planning using agile methodolgoies

Transcript of Agile planning

Page 1: Agile planning

Amir Barylko - Agile Planning MavenThought Inc.

AMIR BARYLKO

AGILE PLANNING

Page 2: Agile planning

Amir Barylko - Agile Planning MavenThought Inc.

WHO AM I?

• Quality Expert

• Architect

• Developer

• Mentor

• Great cook

• The one who’s entertaining you for the next hour!

Page 3: Agile planning

Amir Barylko - Agile Planning MavenThought Inc.

RESOURCES

• Email: [email protected]

• Twitter : @abarylko

• Blog: http://orthocoders.com

• Materials: http://bit.ly/orthoslides

Page 4: Agile planning

Amir Barylko - Agile Planning MavenThought Inc.

INTROWhy projects fail?

Reality CheckThe agile manifesto

Agile Principles

Page 5: Agile planning

Amir Barylko - Agile Planning MavenThought Inc.

WHY PROJECTS FAIL?

•Delivering late or over budget

•Delivering the wrong thing

•Unstable in production

•Costly to maintain

Page 6: Agile planning

Amir Barylko - Agile Planning MavenThought Inc.

REALITY CHECK

•It is impossible to gather all the requirements at the beginning of a project.

•Whatever requirements you do gather are guaranteed to change.

•There will always be more to do than time and money will allow.

Page 7: Agile planning

Amir Barylko - Agile Planning MavenThought Inc.

AGILE MANIFESTOHTTP://AGILEMANIFESTO.ORG

Individuals and interactions OVER Process and Tools

Customer collaboration OVER Contract negotiation

Working software OVERComprehensive documentation

Responding to change OVER Following a plan

Page 8: Agile planning

Amir Barylko - Agile Planning MavenThought Inc.

AGILE PRINCIPLES

•Continuous Delivery

•Embrace Change

•Self-organize

•Self-sustained

•Business and developers collaboration

•Team ownership

Page 9: Agile planning

Amir Barylko - Agile Planning MavenThought Inc.

FEASIBILITYHigh Level Estimates

Risks

Page 10: Agile planning

Amir Barylko - Agile Planning MavenThought Inc.

HIGH LEVEL ESTIMATE(ONLY A GOOD GUESS)

10x

2x

Time

(The Agile Samurai)

2 weeks

6 weeks

12 weeks

24 weeks

Page 11: Agile planning

Amir Barylko - Agile Planning MavenThought Inc.

RISKS

•Low availability of the client

•Developers may leave

•No QA team

•New architecture

• ...

Page 12: Agile planning

Amir Barylko - Agile Planning MavenThought Inc.

REQUIREMENTSUser Stories

SizePlanning Poker

Page 13: Agile planning

Amir Barylko - Agile Planning MavenThought Inc.

USER STORIES

•Short description of a “feature”

•Avoid technical mumbo-jumbo

•Focus on goals no “how-to”

•Should fit in a card

Page 14: Agile planning

Amir Barylko - Agile Planning MavenThought Inc.

ADD MOVIES

As a User

I want to add a movie

So I can register the details

Page 15: Agile planning

Amir Barylko - Agile Planning MavenThought Inc.

SIZE

•Measured in “story points”

•Based on complexity

•Size stories relative to each other

•Relativity is more important that accuracy

•Wait, how do I translate to hours/days?

Page 16: Agile planning

Amir Barylko - Agile Planning MavenThought Inc.

PLANNING POKER

•The Customer reads a story

•The team asks questions

•At the same time, each member shows a card

•Discuss until reach consensus

Page 17: Agile planning

Amir Barylko - Agile Planning MavenThought Inc.

DEMO(VOLUNTEERS?)

•Add a movie

•Get reviews

•Sort movies by title

Page 18: Agile planning

Amir Barylko - Agile Planning MavenThought Inc.

WHERE’S THE PLAN?Back to reality

Page 19: Agile planning

Amir Barylko - Agile Planning MavenThought Inc.

STATIC PLAN

•Team changes

•Requirements change

•Low quality increases development time

•What can we do?

Page 20: Agile planning

Amir Barylko - Agile Planning MavenThought Inc.

AGILE PLAN

•Know your backlog of stories

•Use iterations (one to two weeks)

•Estimate velocity (how many points per iteration)

•Update estimations

Page 21: Agile planning

Amir Barylko - Agile Planning MavenThought Inc.

PLAN UPDATE

•How many iterations?

effort / team velocity

Page 22: Agile planning

Amir Barylko - Agile Planning MavenThought Inc.

EXAMPLE

• Iteration 1: 15 points

• Iteration 2: 20 points

• Iteration 3: 18 points

• Iteration 4: 22 points

Velocity (avg): 19 points

How many iterations? 190 points / 19 points per iteration = 10 iterations

Page 23: Agile planning

Amir Barylko - Agile Planning MavenThought Inc.

HOW TO START?

•Create your user story backlog

• Add a movie

• Search movies by title

• Get reviews

• Get posters

• List movies by date and title

Page 24: Agile planning

Amir Barylko - Agile Planning MavenThought Inc.

HOW TO START? II

• Let the customer choose a release (grouping)

• Sort them by priority

Release 2Get reviews

List movies by date and title

Release 1Add a movie

Search movies by title

Get posters

Page 25: Agile planning

Amir Barylko - Agile Planning MavenThought Inc.

HOW TO START III

• Size the stories

• Add a movie: 5 points

• Search movies by title: 2 points

• Get reviews: 5 points

• Get posters: 5 points

• List movies by date and title: 1 point

Page 26: Agile planning

Amir Barylko - Agile Planning MavenThought Inc.

HOW TO START IV

•Have a good guess

•Best case?

•Worst case?

•Start working on iterations

•Estimation after 4th iteration should be stable

Page 27: Agile planning

Amir Barylko - Agile Planning MavenThought Inc.

ITERATIONSIteration 0 .. N

Quality as a Driver Visual Communication

MetricsManage Scope

Page 28: Agile planning

Amir Barylko - Agile Planning MavenThought Inc.

ITERATION 0

• Flush out architecture.

• Setup Testing harness for TDD and BDD.

• Setup continuous integration.

• Setup scripts to build, deploy, etc.

• Setup visual communication tools.

Page 29: Agile planning

Amir Barylko - Agile Planning MavenThought Inc.

ITERATION 1.. N

•Story Planning

•Pair programming (switching often)

•Meet when needed

•End with Retrospective

Every day!

Page 30: Agile planning

Amir Barylko - Agile Planning MavenThought Inc.

QUALITY AS A DRIVERRed

GreenRefactor

BDD

TDD

Red

GreenRefactor

(The rSpec book)

Page 31: Agile planning

Amir Barylko - Agile Planning MavenThought Inc.

VISUAL COMMUNICATION

Page 32: Agile planning

Amir Barylko - Agile Planning MavenThought Inc.

METRICS

Page 33: Agile planning

Amir Barylko - Agile Planning MavenThought Inc.

BURN DOWN CHART(REMAINING POINTS PER ITERATION)

• Axis X = iterations

• Axis Y = remaining points to completion

0

25

50

75

100

It 0 It 1 It 2 It 3 It 4 It 5 It 6 it 7

Burdown Chart

Page 34: Agile planning

Amir Barylko - Agile Planning MavenThought Inc.

MANAGE SCOPE

•Budget

•Time

•Quality

•Scope

Page 35: Agile planning

Amir Barylko - Agile Planning MavenThought Inc.

QUESTIONS?

Page 36: Agile planning

Amir Barylko - Agile Planning MavenThought Inc.

RESOURCES

• Email: [email protected]

• Twitter : @abarylko

• Materials: http://bit.ly/orthoslides

Page 37: Agile planning

Amir Barylko - Agile Planning MavenThought Inc.

RESOURCES II

Page 38: Agile planning

Amir Barylko - Agile Planning MavenThought Inc.

RESOURCES III

Page 39: Agile planning

Amir Barylko - Agile Planning MavenThought Inc.

SOFTWARE QUALITY WORKSHOP

• When: May 4, 10-11 & 16-17

• More info: http://www.maventhought.com

• Goal: Learn Kanban, BDD & TDD to improve the quality of your day to day job.