View
450
Download
1
Category
Tags:
Preview:
DESCRIPTION
Pre
Citation preview
Amir Barylko - Agile Planning MavenThought Inc.
AMIR BARYLKO
AGILE PLANNING
EDMONTON AGILE USER GROUPJUNE 2011
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!
Amir Barylko - Agile Planning MavenThought Inc.
RESOURCES
• Email: amir@barylko.com
• Twitter : @abarylko
• Blog: http://orthocoders.com
•Materials: http://orthocoders.com/presentations
•Website: http://maventhought.com
Amir Barylko - Agile Planning MavenThought Inc.
INTROWhy projects fail?
Reality CheckThe agile manifesto
Agile Principles
Amir Barylko - Agile Planning MavenThought Inc.
WHY PROJECTS FAIL?
•Delivering late or over budget
•Delivering the wrong thing
•Unstable in production
•Costly to maintain
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.
Amir Barylko - Agile Planning MavenThought Inc.
AGILE MANIFESTO(HTTP://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
Amir Barylko - Agile Planning MavenThought Inc.
AGILE PRINCIPLES
•Continuous Delivery
•Embrace Change
•Self-organize
•Self-sustained
•Business and developers collaboration
•Team ownership
Amir Barylko - Agile Planning MavenThought Inc.
FEASIBILITYHigh Level Estimates
Risks
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
Amir Barylko - Agile Planning MavenThought Inc.
RISKS
•Low availability of the client
•Developers may leave
•No QA team
•New architecture
• ...
Amir Barylko - Agile Planning MavenThought Inc.
REQUIREMENTSUser Stories
SizePlanning Poker
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
Amir Barylko - Agile Planning MavenThought Inc.
ADD MOVIES
As a User
I want to add a movie
So I can register the details
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?
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
Amir Barylko - Agile Planning MavenThought Inc.
DEMO(VOLUNTEERS?)
•Add a movie
•Get reviews
•Sort movies by title
Amir Barylko - Agile Planning MavenThought Inc.
WHERE’S THE PLAN?Back to reality
Amir Barylko - Agile Planning MavenThought Inc.
STATIC PLAN
•Team changes
•Requirements change
•Low quality increases development time
•What can we do?
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
Amir Barylko - Agile Planning MavenThought Inc.
PLAN UPDATE
•How many iterations?
effort / team velocity
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
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
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
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
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
Amir Barylko - Agile Planning MavenThought Inc.
ITERATIONSIteration 0 .. N
Quality as a Driver Visual Communication
MetricsManage Scope
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.
Amir Barylko - Agile Planning MavenThought Inc.
ITERATION 1.. N
• Start by Story Planning
• Pair programming (switching often)
•Daily Scrum
• End with Retrospective
Every day!
Amir Barylko - Agile Planning MavenThought Inc.
QUALITY AS A DRIVERRed
GreenRefactor
BDD
TDD
Red
GreenRefactor
Amir Barylko - Agile Planning MavenThought Inc.
VISUAL COMMUNICATION
Amir Barylko - Agile Planning MavenThought Inc.
METRICS
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
Amir Barylko - Agile Planning MavenThought Inc.
MANAGE SCOPE
•Budget
•Time
•Quality
•Scope
Amir Barylko - Agile Planning MavenThought Inc.
QUESTIONS?
Amir Barylko - Agile Planning MavenThought Inc.
RESOURCES
• Email: amir@barylko.com
• Twitter : @abarylko
•Materials: http://orthocoders.com/presentations
• Blog: http://orthocoders.com
•Website: http://maventhought.com
Amir Barylko - Agile Planning MavenThought Inc.
RESOURCES II
Amir Barylko - Agile Planning MavenThought Inc.
RESOURCES III
Recommended