Agile Foundations
Agile Foundations
35
Agile Foundations
Housekeeping
• Name Tags
Software
Requirements
Analysis
Program
Design
Testing
Coding
Operations
Traditional Approach
• Future is Predictable
• Nothing will substantially change
• We know everything ahead of time
Value Delivered
Week 2 4 6 8 10 12 14 16
How Was That Working?
Project Success Rate
Standish Group Chaos Report, 2004
Failed
15%
Challenged
51%
Succeeded
34%
Agile
Something Different
Snowbird Utah, 2001
Four Agile Values
Agile Manifesto
We are uncovering better ways of developing software by doing it and
helping others do it. Through this work we have come to value:
http://agilemanifesto.org/
Efficient or Effective?
7%
13%
45%
16%
19%
Sprint 1 2 3 4 5 6 7 8
We must learn what
customers really want, not
what they say they want or
what we think they should
want.
- Eric Ries
The Lean Startup
Agile
Principles
12 Agile Principles
Culture
2. Welcome changing requirements, even late 8. Agile processes promote sustainable
in development. Agile processes harness development. The sponsors, developers, and
change for the customer's competitive users should be able to maintain a constant
advantage. pace indefinitely.
http://www.agilemanifesto.org/principles
Incremental
What assumptions do
we make when working
this way?
In practice we blend
both
Leonardo actually did this
Agile teams understand that by being honest about our current state,
Transparent past experiences, and future expectations, we can make better decisions
and are more likely to achieve the desired project outcome.
Agile – Lots of Options
• asdf
Agility is
more attitude
than process,
more environment
than methodology .
Jim Highsmith, Agile Project Management
Crystal LeSS
XP SAFe
Scrum
DSDM DAD
Scrum – Practicing “the art of the possible”
Source: Schwaber, Ken and Sutherland, Jeff, “The Scrum Guide” http://www.scrumguides.org
“Scrum” is from Rugby
• The team moves the ball together
• Players have roles, but adjust based on circumstances
• They plan the game one play at a time
• They win or lose as one
Scrum Guide
Reading
Three Roles
Developer
Development Developer
Team
Development
Developer Team Tester
DBA
IT
Steering
Manager
Committee Development
Scrum Team Product
Master Scrum Owner
Account
Agile
Manager
PM Business
/ Customer
DBA
IT
Steering
Manager
Committee Development
Scrum Team Product
Master Scrum Owner
Account
Agile
Manager
PM Business
/ Customer
What makes a good Squad?
• Small Size
• Alignment around Shared Purpose
• Trust
• Right Skills
• Good communication
• Ability to set own Goals & Process
Account
Agile
Manager
PM Business
/ Customer
How does my role change?
Traditional Approach to Dev & Test
“If you really want quality, you don’t inspect after the
fact, you control conditions as not to allow defects in
the first place. If that is not possible, you inspect the
product after each small step, so that defects are
caught immediately after they occur.”
release 1 release n
Target
Project System
Sprint 0 Sprint 1 Sprint 2 Sprint 3 Sprint n
Inception
Discovery Set up Project
Assessment Infrastructure
Incremental delivery in time-boxed sprints
Daily Stand-Up (aka “Scrum”)
• Time-box
• 15 Minutes Daily
• Purpose
• A planning meeting, not a status report
• Only the Scrum Team can speak
• Typical format
• What did we get done yesterday?
• What are we going to get done today?
• What is slowing us down?
• Do not solve problems
• Note them down & address afterward
• Publish all impediments!
Sprint Planning
• Time-box
• Relative to 1 hour per week of Sprint Duration Sprint 1
• Purpose 120
100
• Elaborate requirements 80
Hours
• Identify dependencies and impediments 60
40
• “Get Ready!” 20
• Guidelines
0
1 2 3 4 5 6 7 8 9 10
Days
Product
Inspect and Adapt
Build
RELEASE SCHEDULE
• Typically 1 – 1.5 hours per week
0 - 6 Months *
CURRENT
• Purpose
HIGH
• Size Product Backlog Items
• Decompose Backlog Items
RELEASE SCHEDULE
• Convey requirements
6 - 12 Months *
FUTURE
• Consider Big Picture
Prioritization
• Maintain a flow of “Ready” stories to the team
• Guidelines
RELEASE SCHEDULE
• Hold more than 1 per Sprint
12 + Months *
• One Big Picture, one Near Term
FUTURE
• Discuss the product concept and context
LOW
✴ Examples only
The Scrum Process – Important!
• Sprints are NOT mini waterfalls
• Analysis, design, development and testing is continuous
throughout a product backlog item’s lifecycle
Alignment
Sustainable
Transparency
Pace
Tracking Needs Granularity: Here is one way…
Product Backlog (Stories) Iteration Backlog (Tasks)
As an investor, I want Define initial test cases 4
3
Iteration 1
to…
Login Happy Path 8
As an investor, I want
5
to… Expired Passwords 12
Security Lockout 6
As a visitor I want to… 1
As an investor, I want
2
to…
• Other ways
• Story Points
• Break work into very small stories (1/2 or 1 point)
• Track Story Points Complete / Remaining
Sprint Burn-down
Work Remaining
600
Sum of daily task
estimates
500
300
200
100
0
1 2 3 4 5 6 7 8 9 10
Behind Plan
± 200 hours over
Basic Iteration: Burn-Down Analysis
Ahead of Plan
± 200 hours
under
Tracking at Release / Milestone Level
Forecasting
Transparency
Expectations
Management
Estimation, and the Consequences
Velocity Changes over Time
Last Iteration = 36
Mean (planning) = 31
Mean (worst 3) = 29
Velocity (points)
Sprint
Source: Adapted from Mike Cohn, Agile Estimation and Planning
Updating the Multi-Sprint Plan
End of Sprint 4 (of an 8 Sprint Release) Product Backlog
Running Total Points Feature
8 8 A
30 16 8 B
29 13 D
22
20
20
37 8 F
Velocity
15
42 5 C
50 8 T
10 9
Done &
Ready to Ship! 58 8 G
0
66 8 O
1 2 3 4 5 6 7 8
79 13 I
Sprint
87 8 H
92 5 M
Mean of worst 3 = 14.5 66 + 14 * 4 = 122 100 8 K
105 5 U
Long-term average = 16.5 66 + 16 * 4 = 130
Worst Case 118 13 J
121 3 L
Expected 126 3 N
129 3 Q
131 2 R
Save for Next Release 139 8 S
152 13 X
Updating the Multi-Sprint Plan
End of Sprint 5 (of an 8 Sprint Release) Product Backlog
Running Total Points Feature
8 8 A
30 16 8 B
29 13 D
22
20
20
37 8 F
Velocity
15
13
42 5 C
10 9 50 8 T
Done & 58 8 G
0 Ready to Ship! 66 8 O
1 2 3 4 5 6 7 8
79 13 I
Sprint
87 8 H
92 5 M
Mean of worst 3 = 12.3 79 + 12 * 3 = 115 Worst Case 100 8 K
105 5 U
Long-term average = 15.8 79 + 15 * 3 = 124
Expected 118 13 J
121 3 L
126 3 N
129 3 Q
Save for Next Release 131 2 R
139 8 S
152 13 X
Updating the Multi-Sprint Plan
End of Sprint 6 (of an 8 Sprint Release) Product Backlog
Running Total Points Feature
8 8 A
30 16 8 B
29 13 D
22
21
20
20
37 8 F
Velocity
15
13
42 5 C
10 9 50 8 T
58 8 G
0
66 8 O
1 2 3 4 5 6 7 8
79 13 I
Sprint
Done & 87 8 H
Ready to Ship! 92 5 M
Mean of worst 3 = 12.3 100 + 12 * 2 = 124 100 8 K
105 5 U
Long-term average = 16.6 100 + 16 * 2 = 132
Worst Case 118 13 J
121 3 L
126 3 N
Expected 129 3 Q
131 2 R
139 8 S
Save for Next Release 152 13 X
Updating the Multi-Sprint Plan
End of Sprint 7 (of an 8 Sprint Release) Product Backlog
Running Total Points Feature
8 8 A
30 16 8 B
24 29 13 D
22
21
20
20
37 8 F
Velocity
15
13
42 5 C
10 9 50 8 T
58 8 G
0 66 8 O
1 2 3 4 5 6 7 8
79 13 I
Sprint
87 8 H
92 5 M
Mean of worst 3 = 12.3 124 + 12 * 1 = 136 100 8 K
15
13
42 5 C
10 9
8
50 8 T
58 8 G
0 66 8 O
1 2 3 4 5 6 7 8
79 13 I
Sprint
87 8 H
92 5 M
Mean of worst 3 = 10 100 8 K
105 5 U
Long-term average = 16.5
118 13 J
121 3 L
126 3 N
129 3 Q
Done &
Ready to Ship! 131 2 R
139 8 S
Save for Next Release 152 13 X
Iter 12
Iter 11
Iter 10
Release
Iter 9
Total Project Size Estimate
Tracking Release – Burn-Up Charts
Iter 8
Iter 7
Iter 6
Iter 5
Points Delivered
Iter 4
Iter 3
Iter 2
Iter 1
Start
Release Forecasting
• Agile planning and forecasting are continuous and adaptive
“Simplicity--the art of
maximizing the amount of
work not done--is
essential”
Stories – “A Ticket to a Conversation”
Great!
The Confirmation (Acceptance Criteria)
Tips: Avoid Story Detail!
• If it reads like a spec, people treat it like a spec
• The Conversation doesn’t happen!
• Results in attribute-driven story instead of goal-driven
• Results in misunderstanding the written word
Independent
Epic
Negotiable
Valuable
Big
Story Estimable
Small
Detailed
Story
Testable
Tips: Understand Users
Source: Jeff Patton. “Personas, Profiles, Actors & Roles. Modeling users to target successful product design”
SD Best Practices Conference and Expo 2007.
Tips: Understand Users Through Profiles/Personas
Adapted from: Jeff Patton. “Personas, Profiles, Actors & Roles. Modeling users to target successful product
design”. SD Best Practices Conference and Expo 2007.
Story
Writing
Does it mean what you think?
SHIPPABLE
Has this ever happened to you?
Yeah, basically.
Deployed to Dev
Code Reviewed
Checked-In to Harvest
Reviewed by PO or Proxy
New Profession?
House Painter
First Job?
Paint the Exterior of a House
• Thus we ensure:
• Quality
• Predictability
• Sustainable pace
Story Points
• The “bigness” of a task
• The amount of effort
• Not the duration! Story Points
• Shortcomings:
• Can be difficult to get started
• Must estimate initial velocity
• or you can easily get it after 1 iteration
• It can be a difficult concept to communicate to the business
• Language & Variability
• Points are unique to a Project & Team
Play Planning
Poker
Pajarraco
Something from the Agile Capability
Capability Lead: Rafael Bulfon
Agile.ADC.Certification [email protected]
Agile.ADC.Leads [email protected]
Agile.ADC.Training [email protected]
Agile.ADC.RFPSupport [email protected]
If you want to get involved, feel free to contact any of the initiatives.
Also we are allways looking for new candidates for our Train The Trainner
program.
Next steps
After the training you will recieve a summary email with the Training
contents and some additional info.
You are now ready to get the Agile Professional Certification, you can
register on:
mycertification.accenture.com
Other Trainings:
We are also providing Scrum.org and SAFe Trainings,
Who is who
Retro
Course Feedback