quotes from the trenches with agile and...

45
Quotes From the Trenches with Agile and Scrum (Overcoming Real Life Challenges of Agile Transformations) 6/18/2016 © 2016 Agile Chapel Hill 1 Jerry Edwards Cultivating Sustainable Agile Transformations [email protected] (and via LinkedIn)

Upload: trinhtu

Post on 17-Sep-2018

216 views

Category:

Documents


0 download

TRANSCRIPT

Quotes From the Trenches with Agile and Scrum

(Overcoming Real Life Challenges of Agile Transformations)

6/18/2016 © 2016 Agile Chapel Hill 1

Jerry Edwards Cultivating Sustainable Agile Transformations

[email protected] (and via LinkedIn)

Some Past Trenches

• Software Trainer for NetApp • Development and delivery of Agile Training Curriculum (1000+ engineers, execs) • Coaching and advising new Agile teams in an Enterprise environment

• IT Strategist for Sony Ericsson • Standardization of SW processes and tools for geographic dispersed teams • Global coordination that included Agile transformations

• Manager for SW Configuration and Build Release Teams for Ericsson • Training and rollout of new build and automation tools • Implementation of lifecycle processes and ways of working globally with a special focus on improving

SW quality

• Peace Corps Volunteer University Instructor (Liberia, West Africa) • Appreciation for training and working within different cultures

• Certifications • CSM, CPO, SAFe ™ Agilist

6/18/2016 © 2016 Agile Chapel Hill 2 Awareness

“I hear Agile means no more documentation.”

Many Agile Misconceptions

6/18/2016 © 2016 Agile Chapel Hill 3

Background

“Scrum: Art of doing twice the work in half the time.”

Many Agile Promises

6/18/2016 © 2016 Agile Chapel Hill 4

Background

6/18/2016 © 2016 Agile Chapel Hill 5

Journey

Agile Improves Odds Of Success

6/18/2016 © 2016 Agile Chapel Hill 6

39%

52%

9%

Agile Projects

Successful

Challenged

Failed

11%

60%

29%

Waterfall Projects

Successful

Challenged

Failed

Source: Standish Group 2015 Chaos Report Q&A with Jennifer Lynch http://www.infoq.com/articles/standishchaos2015

But does not guarantee it!

Journey

Change Requires “Effort”

6/18/2016 © 2016 Agile Chapel Hill 7

Life is good (status quo)

Change Catalyst

Chaos

Practicing/ integrating

Life is greater (new status quo)

Journey

Source: Adapted from Virginia Satir Model

Change Requires “New Identities”

6/18/2016 © 2016 Agile Chapel Hill 8

Life is good (status quo)

Change Catalyst

Chaos

Practicing/ integrating

Life is greater (new status quo)

Loss of identity

Reestablishing identity

“Told you so” moment

Journey

Source: Adapted from Virginia Satir Model

“Lightweight, simple to understand but difficult to master.”

According to Scrum Guide

6/18/2016 © 2016 Agile Chapel Hill 9

“Mastery is a journey (not just a sequence of sprints strung together)”

Journey

View Of Scrum Flow

6/18/2016 © 2016 Agile Chapel Hill 10

Requirements (User Stories)

• Smaller

• Priority (value)

• Acceptance criteria

• Size

• “Yes” or “No”

Getting to Ready

Pro

du

ct B

ackl

og

Spri

nt

Bac

klo

g

Journey

Let’s Focus on Three Phases

6/18/2016 © 2016 Agile Chapel Hill 11

Pro

du

ct B

ackl

og

Spri

nt

Bac

klo

g

Pro

du

ct In

crem

en

t

Ready Done Building

Journey

Room Survey

• Which phase is your greatest challenge hindering your Agile Scrum success?

• Ready

• Building

• Done

6/18/2016 © 2016 Agile Chapel Hill 12

Journey

Planning Your Journey

• What problems are you trying to solve?

• What does success look like?

• Are you committed to making changes?

6/18/2016 © 2016 Agile Chapel Hill 13

Journey

Charters & Guidelines (Some First Steps To Success)

6/18/2016 © 2016 Agile Chapel Hill 14

Agile Project Charter

Team Charter

Definition of Ready

Definition of Done

Journey

6/18/2016 © 2016 Agile Chapel Hill 15

Ready

“Our Agile teams were more productive and efficient, we built the wrong product in half the time.”

Oops!

6/18/2016 © 2016 Agile Chapel Hill 16

Ready

Product Backlog

• Critical to create the “right” product backlog • Consider techniques such as story maps

• Generally written as user stories • INVEST • 3 C’s (card, conversation, confirmation) • Sliced into testable deliverables

• Prioritized & Refined • Small to fit within sprint and even smaller yet • Acceptance Criteria • Sized • Meets Definition of Ready (DOR)

6/18/2016 © 2016 Agile Chapel Hill 17

?

Ready

Room Survey

• How many of you have a formalized Definition of Ready (DOR)?

6/18/2016 © 2016 Agile Chapel Hill 18

Ready

Predictive Vs Adaptive

6/18/2016 © 2016 Agile Chapel Hill 19

?

Ou

tco

me

Time (Sprints)

Adaptive

Predictive

Ready

Value Driven

6/18/2016 © 2016 Agile Chapel Hill 20

Source: Henrik Kniberg, “Stop Starting, Start Finishing”, Crisp’s Blog, 14 March 2013

Scope

Resources Time

Quality

Value driven requires a good understanding of minimal viable product (MVP) or minimal business product (MBP)

Ready

Early Problem And Risk Exposure

6/18/2016 © 2016 Agile Chapel Hill 21

“I know things in a project are going to change, but in my Agile projects, I know this information much sooner which

allows for good decision making.”

Ready

Slicing User Stories Across SW Layers

6/18/2016 © 2016 Agile Chapel Hill 22

UI

Middle Ware

Infrastructure

Late Integration

Is Difficult to Estimate (?)

20% Done

Maybe 80% Value

Ready

6/18/2016 © 2016 Agile Chapel Hill 23

Building

Limiting WIP

6/18/2016 © 2016 Agile Chapel Hill 24

“Do a few things insanely great.”

Building

Value Completed Work

6/18/2016 © 2016 Agile Chapel Hill 25

Pro

du

ct B

ackl

og

Spri

nt

Bac

klo

g

Building

Room Survey

• On average, what percentage of sprint backlog user story points are accepted each sprint?

• 0 to 50%

• 50 to 75%

• Greater than 75%

6/18/2016 © 2016 Agile Chapel Hill 26

Building

Productive Teams Rise To Swarming

Tuckman Model

6/18/2016 © 2016 Agile Chapel Hill 27

Forming

Storming

Norming

Performing

Team Effort

Pro

du

ctiv

ity

Team Stages Over Time Together

Individual Effort

Swarming

Building

“Know where you are every day with Scrum or think you know where you are on your well-formed plan and discover that you are very wrong, very much later.”

Transparency

6/18/2016 © 2016 Agile Chapel Hill 28

Source: Ken Schwaber, A Playbook for Adopting the Scrum Method of Achieving Software Agility

Building

Relative Sizing: Accuracy Over Precision

6/18/2016 © 2016 Agile Chapel Hill 29

Precision Accuracy

Keys to measuring realistic progress are: 1. Vertically sliced small user stories 2. Relative estimates which provide a quicker and “good” average accuracy 3. Maintaining tested working software (shippable quality) 4. Consistent teams over time 5. Using empirical data from time boxing (velocity)

?

Building

Release Transparency - Burndown

0

50

100

150

200

250

300

350

1 2 3 4 5 6 7 8 9 10

Release Burndown

Backlog Remaining Points

6/18/2016 © 2016 Agile Chapel Hill 30

Sprints

Poin

ts

Building

Release Transparency - Burnup

6/18/2016 © 2016 Agile Chapel Hill 31

• Velocity = 15-20 points per sprint

• Forecasting with best and worst case scenarios

0

50

100

150

200

250

300

1 2 3 4 5 6 7 8 9 10P

oin

ts

Sprints

Burnup

Best Case

Worst Case

}

Building

“Management wanted us to release in 5 sprints, but our velocity charts showed we needed at least 10 sprints.”

Ignoring Transparency

6/18/2016 © 2016 Agile Chapel Hill 32

Building

6/18/2016 © 2016 Agile Chapel Hill 33

Done

Move From Throwing Over Wall …

6/18/2016 © 2016 Agile Chapel Hill 34

“Developers did not give completed user stories to testers until the last day so there was no time to test before the

sprint was over.”

Done

To Team Responsibility

• Team is responsible for quality

• Testers are part of the team

• Everyone tests

• Testing is not a phase

6/18/2016 © 2016 Agile Chapel Hill 35

Quality is not equal to test. Quality is achieved by putting development and testing into a blender and mixing them until one is indistinguishable from the other. Source: How Google Tests

Tester in Agile is “a person whose primary skill is testing”, rather than “a person whose role is to do only testing” Source: Henrik Kniberg, Scrum and XP from the Trenches, www.crisp.se

“There should be as much test activity on the first day of a sprint as on the last day. ” Source: Michael Cohn, Succeeding with Agile: Software Development Using Scrum

Done

Move From Identifying A Defect …

6/18/2016 © 2016 Agile Chapel Hill 36

“My testing performance review is based upon how many defects I find and report.”

Done

To Preventing a Defect

• Performance based upon quality delivered not defects found

• Fix it! • Like finding a hole in a boat

• Cleaning up your “poop” before it smells

6/18/2016 © 2016 Agile Chapel Hill 37

Done

Awareness Of Technical Debt Cost

6/18/2016 © 2016 Agile Chapel Hill 38

Cheap

Very Costly

Time to discover and fix a bug

Done

Eliminating Technical Debt

• Avoid accepting user stories with “defects” • Cheaper to find and fix bugs early

• Addressing technical debt is rarely accounted for in backlog which annihilates predictions and release schedules

• Especially if defect prevents the release

• Some Testing aids to find issues early • Formalize testing in Def of Done

• TDD, ATDD, and BTDD

• Automation

• Continuous integration

6/18/2016 © 2016 Agile Chapel Hill 39

Done

6/18/2016 © 2016 Agile Chapel Hill 40

Cultivating

Adapt To Improve

6/18/2016 © 2016 Agile Chapel Hill 41

Adapt

Improve

Dysfunctions

Cultivating

Clear goals and values Champions and leaders Training and coaching

“Our daily Scrums lasted 2 hours each day, so team members have started skipping.”

Dysfunctional Example

6/18/2016 © 2016 Agile Chapel Hill 42

Cultivating

Finally, Leaving You With …

• Slicing

• Swarming

• Sustaining

6/18/2016 © 2016 Agile Chapel Hill 43

Ready

Building

Done

Cultivating

6/18/2016 © 2016 Agile Chapel Hill 44

Jerry Edwards Cultivating Sustainable Agile Transformations

[email protected] (and via LinkedIn)

6/18/2016 © 2016 Agile Chapel Hill 45

Supporting

Slides