Upload
others
View
7
Download
1
Embed Size (px)
Citation preview
AGRAM: Agile Risk Analysis & Management
(c) Egbert Bouman, Valori, 2014/2015
INNOVATION STARTS WITH TESTING
Egbert Bouman
Trondheim Test Conference, april 2015
Agile Risk Analysis & Management
AGRAM: a traceable risk approach without overloading Scrum
1
INNOVATION STARTS WITH TESTING
About Valori and Egbert Bouman
25 years Testing PLUS
• Test & Acceptance
• Test Tool Services
• Business Analysis &
Requirements
• High Performance
Maintenance
The Netherlands
Top-200 customers
150 professionals
Author SmarTEST
Practice manager
Test & Acceptance
AGRAM: Agile Risk Analysis & Management
(c) Egbert Bouman, Valori, 2014/2015
INNOVATION STARTS WITH TESTING
In 2014, we started with a mission:
3
Bring risk analysis
and –management
to Scrum,
without making
Scrum heavier
INNOVATION STARTS WITH TESTING
How the approach evolved
Developed in 2014
• Valori experts & customer think tank
• Improved after workshop pilots (TestNet, …)
Sticking to existing Scrum practices
• Scrum guide (www.scrumguides.org)
• Widely accepted practices (Spikes, HIP, DoR, DoS)
Baptized AGRAM
• AGile Risk Analysis & Management
• Add just ‘a gram’ to the agile process (i.e. Scrum)
4
AGRAM: Agile Risk Analysis & Management
(c) Egbert Bouman, Valori, 2014/2015
INNOVATION STARTS WITH TESTING
Let’s talk risks now
5
INNOVATION STARTS WITH TESTING
Risks are weird
creatures
6
AGRAM: Agile Risk Analysis & Management
(c) Egbert Bouman, Valori, 2014/2015
INNOVATION STARTS WITH TESTING
Looking at risks makes them evaporate
7
Risks are fun
AGRAM: Agile Risk Analysis & Management
(c) Egbert Bouman, Valori, 2014/2015
(almost) every risk
is manageable
Risk analysis is a risk in itself
How to
implement
‘just enough’
risk process ??
AGRAM: Agile Risk Analysis & Management
(c) Egbert Bouman, Valori, 2014/2015
INNOVATION STARTS WITH TESTING
Product owners, business
users & testers stuff
Our scope
today!
Project- and product risks
Risk managementAnalysis & mitigation
Product risksFor the end result,
when the project is finished.
Project risksPlanning, progress, budget,
politics, people issues, etc.
Project managers &
scrum masters stuff
12 12
Scrum in a nutshell
AGRAM: Agile Risk Analysis & Management
(c) Egbert Bouman, Valori, 2014/2015
Scrum in a nutshell (2)
Product
owner
Demo
(Sprint Review)
Features, Epics,
Theme’s, ...
DoD
Retro
spective
Scaling Agile: all levels in your organisation
Spikes, bugs
Improvement
backlog
User stories with
acceptance criteria
HIP sprints
DoR
DoS
INNOVATION STARTS WITH TESTING
From an agile forum
14
I take this very
serious,
because risk
management
may be waste
AGRAM: Agile Risk Analysis & Management
(c) Egbert Bouman, Valori, 2014/2015
INNOVATION STARTS WITH TESTING
A bit less extreme…
15
INNOVATION STARTS WITH TESTING
How explicit must it be?
• Scrum caters for timely risk elimination
• Even if you don’t talk risks
Scrum: risk management is implicit
• Scrumdamentalists: no!
• We: sometimes no, often yes, but just enough!
Do we need a more explicit process?
16
AGRAM: Agile Risk Analysis & Management
(c) Egbert Bouman, Valori, 2014/2015
INNOVATION STARTS WITH TESTING
Why explicit ?
• Internal and external auditors
• Require a traceable risk approachAuditability & Compliance
• They stick to (old school?!) processes
• PRINCE2, MSP, PMBOKPeople aroundyou expect it
• Testers don’t move without risks.
• And rightly so!No risk,no test
• Their ‘risk appetite’ should be leading
• ‘Your nightmare is our care’
Stakeholders taken seriously
• Against tunnel vision and group think
• Risks = pessimists requirementsBecause it makes
you more complete
17
INNOVATION STARTS WITH TESTING
So, let’s Scrum!
Let’s assume that we:
•have serious risks
•want to address them in Scrum
•want it explicit & traceable
•want to add ‘just a gram’ to Scrum
18
AGRAM: Agile Risk Analysis & Management
(c) Egbert Bouman, Valori, 2014/2015
INNOVATION STARTS WITH TESTING
Case: SmartACCEPT 4.3
A real project with real risks!!
I am the product owner
19
INNOVATION STARTS WITH TESTING
Case SmartACCEPT: four risks
20
• Voice over with video is great, but:
• May introduce technical complications1. Voice over
• May be insufficient
• Technical and process
2. Back-up & restore
• The GUI may become too complicated
• User experience erosion3. Simplicity
• May decrease due to team disturbance
• Because of operational ‘prio 1’ issues4. Team velocity
AGRAM: Agile Risk Analysis & Management
(c) Egbert Bouman, Valori, 2014/2015
INNOVATION STARTS WITH TESTING21
5 minutes
hands-on!
Take these 4 risks.
What’s your agile risk strategy
for each of these?
Adding ‘just a gram’ to the
Scrum process.
Talk with your
neighbour and decide!
1. Voice over
2. Back-up & restore
3. Simplicicity
4. Team Velocity
INNOVATION STARTS WITH TESTING
AGRAM four risk types strategy
• Add an acceptance criterion to the backlog item (user story)
1. Detail product risk related to one specificbacklog item (or two)
• Raise a spike, risk item, HIP itemor a new user story
2. General product risknot related to an existing backlog item, can be managed in 1 sprint
• Add an item to the Definition of Done (or DoR, DoS)
3. Long time product riskrequiring attention for a longer
time span & more sprints
• Raise an Impediment orImprovement item
4. Project risknot directly related toproject deliverables
22
AGRAM: Scrum empowered for explicit risk mitigation
AGRAM: Agile Risk Analysis & Management
(c) Egbert Bouman, Valori, 2014/2015
INNOVATION STARTS WITH TESTING
Use product and sprint backlog!
• As part of a user story or epic or
• … as a spike or
• … as an explicit risk item
Manage risks in the backlog
• Backlog already has Value
• Add Failure Probability
• Risk = Value * Probability
Add failure prob. as an attribute
• AKA backlog refinement, story time
• In sprint review + continuously
• Ken Schwaber: reserve 5% time
Keep up-to-date:Backlog grooming
23
INNOVATION STARTS WITH TESTING
Use product and sprint backlog!
• As part of a user story or epic or
• … as a spike or
• … as an explicit risk item
Manage risks in the backlog
• Backlog already has Value
• Add Failure Probability
• Calculate Risk = Value * Probability
Add failure prob. as an attribute
• AKA backlog refinement, story time
• In sprint review + continuously
• Ken Schwaber: reserve 5% time
Keep up-to-date:Backlog grooming
24
AGRAM: Agile Risk Analysis & Management
(c) Egbert Bouman, Valori, 2014/2015
INNOVATION STARTS WITH TESTING
Optional: make a risk list
25
This is an additional artifact, requiring maintenance.
So think twice: can’t you really do without?
INNOVATION STARTS WITH TESTING
What’s the deal up to now?
Explicit and traceable risk management
• In an agile / Scrum setting
• And that’s what we were looking for!
For all risk types
• You can map every risk at one of the four types
• Split up composite risks if need be
Without overloading Scrum
• We added ‘just a gram’, one or two things:
• One attribute to the backlog
• If you want: a risk list as a separate ‘artifact’
26
AGRAM: Agile Risk Analysis & Management
(c) Egbert Bouman, Valori, 2014/2015
INNOVATION STARTS WITH TESTING
Can we add more? Yes, we can!
1. Visualisation
Add colour to the risks and bring them to live!
Sticking to the teams main focus point: user stories
2. Out-of-the box risk trawling
Avoid tunnel vision
Start with an‘old style’
risk workshop
3. Deal with (too) big risks
If the risks are too big, what to do?
Scrum helps here too
27
INNOVATION STARTS WITH TESTING
1. Visualisation: Risk Burndown Chart
28
Source: Agile Body of
Knowledge
(AgileBOK.org)
Not bad, but adds a lot of process
and doesn’t relate to user stories
AGRAM: Agile Risk Analysis & Management
(c) Egbert Bouman, Valori, 2014/2015
INNOVATION STARTS WITH TESTING
Better visualisation: Risk plot
29
Stick to the team’s
main focus point:
user stories
Just fill in a simple
table or link to the
backlog (Excel)
Place near Scrum
Board and make risk
awareness part of
daily stand-up
Story points not part
of risk but separate:
size of bullet.
INNOVATION STARTS WITH TESTING30
Download at
www.smartest.nl
AGRAM: Agile Risk Analysis & Management
(c) Egbert Bouman, Valori, 2014/2015
INNOVATION STARTS WITH TESTING
Risk decreases (normally)
31
Day 1
Day 12
But something is not real here, what?
INNOVATION STARTS WITH TESTING
2. Risk trawling: wide and focused!
Wide or focused?
• Wide & out-of-the-box: OK, but sometimes vague
• Focused at sprint backlog: OK, but danger of tunnel vision
You need both!
• Addressing blind spots and tunnel vision
• Maintaining user story focus for the agile team
Therefore:
• Start a project (> 1 sprints) with a PRA/PRIMA risk workshop
• In the sprints: manage concrete risks with the 4 AGRAM types
32
AGRAM: Agile Risk Analysis & Management
(c) Egbert Bouman, Valori, 2014/2015
INNOVATION STARTS WITH TESTING
Advantages broad risk analysis
Serious worries taken seriously
• Stakeholders, Product Owner, Scrum team
• More complete & balanced risk perspective
Out-of-the-box
• Not limited to (sprint) backlog
• Better ‘know what you don’t know’
Validation of in-sprint risks
• Use risk matrix to validate/complete
• Reduces group think & tunnel vision
33
INNOVATION STARTS WITH TESTING
Broad risk analysis tools
3434
• Always start a project or
series of sprints with a
broad risk analysis.
• Using wide ranging quality
models: IPS, ISO25010
• PRIMA, PRA, taste wheel
`````````````
AGRAM: Agile Risk Analysis & Management
(c) Egbert Bouman, Valori, 2014/2015
INNOVATION STARTS WITH TESTING
3. If the risks are (too) big
35
Risks are … Measure
Too big, irresponsible
Kill project / release Revise sprint backlog: less risky items
Big, possibly too big
Do shorter sprints.Worst case, you won’t loose 4 weeks but 1 or 2.
Deploy and test independently in A-environment ( ‘above the line’ in the W-model)
Significant, but manageable
Take ample time for inspection and demo’s Take care for test-expertise in the team The independent acceptance test may be faster
Small Test smart, but don’t talk risks too much Focus on opportunities and velocity
INNOVATION STARTS WITH TESTING
To wrap it all up
Decide: explicit risk approach needed?
• Risk analysis is is not a goal in itself, avoid waste
Make your risks go with the Scrum flow
• Using the 4 AGRAM risk types
Visualise risks at the Scrum board
• Using the risk plot tool
Avoid tunnel vision
• Always start with an ‘out-of-the-box’ risk analysis
36
AGRAM: Agile Risk Analysis & Management
(c) Egbert Bouman, Valori, 2014/2015
INNOVATION STARTS WITH TESTING37
Dont let risks
run free
Respect
Scrum, add
just a gram
Use AGRAM
INNOVATION STARTS WITH TESTING38
Thank you
very much!
www.valori.nl
www.smartest.nl
AGRAM: Agile Risk Analysis & Management
(c) Egbert Bouman, Valori, 2014/2015
INNOVATION STARTS WITH TESTING
Additional
Slides
39
INNOVATION STARTS WITH TESTING
DoD can be specific
40
From the
‘official’ Scrum
Guide
AGRAM: Agile Risk Analysis & Management
(c) Egbert Bouman, Valori, 2014/2015
INNOVATION STARTS WITH TESTING
How much independent
testing do you need?
I.e. where to draw the line?
Product backlog, Requirements, Risks
IT criteria PAT
SmarTEST W-model (V-model made agile)
Independent
testing
Business &
User needs
Bottom part fits agile methods
better. Like Scrum, Kanban,
BDD.
Design, build
and test
In agile team
Outside team
42
More from the SmarTEST toolkit
Recent vernieuwdRecent vernieuwd
See www.smartest.nl
for more free
downloads