The yearly seminar of the Best Practice User Group in the Netherlands this year has the theme "Agile".
My contribution is an interactive session where the participants can vote for a number of subjects to create the backlog of the session.
This slide-deck contains all slides that I prepared, I guess I only used half of them, the rest everybody can see here at slideshare.
The slides are mainly in english but also partly in dutch.
At the end I refer to the book "TMap NEXT in Scrum", to the book "the PointZERO vision" and to the whitepaper "Integrate test activities in Agile projects".
2. www.bpug.nl
Effectief testen in Agile projecten
2
Rik Marselis
Management Consultant Quality & Testing bij
Ruim 30 jaar IT ervaring, ruim 15 jaar kwaliteit & testen
Adviseur, procesverbeteraar & coach bij vele organisaties
Prince2 Practitioner, CMMI en CISA
Docent voor diverse trainingen, bijv. Agile testen
TMap, TPI en ISTQB geaccrediteerd
Research Auteur div. boeken en artikelen
Fellow van SogetiLabs, Spreker op div. conferenties
Voorzitter (vereniging voor testers, 1600 leden)
@rikmarselis
3. www.bpug.nl
Agile is always “QD”
Agile = Quality Development
Agile = Quick Development
Agile = Quick & Dirty
Agile = Quite a Disaster
What is your QD ???
5. www.bpug.nl
Kies de BACKLOG-ITEMS voor deze timebox:
• Risico-gebaseerd werken (wat is risk poker?)
• Onafhankelijk testen (aparte test-sprints?)
• De bekende testactiviteiten (passen die in Scrum?)
• Quality Gates in Scrum (is dat tegenstrijdig?)
• Moet al het testwerk in de sprint gebeuren (ketentesten?)
• Rol van de tester (is een specialist nodig?)
• A sustainable pace (kun je voortdurend sprinten?)
• Exploratory testing (moet je altijd vooraf testgevallen maken?)
• Testautomatisering (waarom kan het niet handmatig?)
• Focus niet op tijd en kosten (maar op kwaliteit en risico!)
5
Effectief testen in Agile projecten
6. www.bpug.nl
Een Agile team bestaat uit ‘developers’
Dus gespecialiseerde testers zijn niet meer nodig?
Wat vind jij?
6
Development
team
Scrum
master
Product
Owner
team
mem-
ber
Scrum guide:
• Development teams are cross-functional,
with all of the skills necessary
• No sub-teams regardless of domains like
business analysis or testing
Testen een van de skills
De rol van de tester
8. www.bpug.nl
Focus niet op tijd en kosten,
maar op kwaliteit en risico
This should be
no surprise
in an
agile context, but
often
still is!!
9. www.bpug.nl
Overview testing
activities in
scrum
Evaluate
backlog items
and
communicate
obscurities with
product owner
Determine product
risk of each backlog
item and record it on
the (story) card
(input for planning
poker, assigning
story points)
Focus niet op tijd en kosten,
maar op kwaliteit en risico
11. www.bpug.nl 11
Conclusion: You can’t sprint all the time
Agile principle:
Agile processes promote sustainable development.
The sponsors, developers, and users should be able
to maintain a constant pace indefinitely.
(prevent having a team-burnout; implement the
Agile principles in a proper way!)
How long does the 100 meter sprint take?
100 meter sprint +10 seconds
How long does it take to sprint a marathon?
42 kilometer sprinting +70 minutes
What is the world record for a marathon?
Marathon record +120 minutes
About sprinting
13. www.bpug.nl
Meerdere Agile-teams brengen deel-producten
bijeen die samen met bestaande systemen de
procesketen ondersteunen.
13
Ketentesten
Systeem
1
Bedrijfsproces (van klant tot klant)
Systeem
2
Systeem
3
Systeem
4
Systeem
5
Bestaand
ongewijz.
Bestaand
ongewijz. Scope
keten
test
14. www.bpug.nl 14
The demand side often uses a phased approach
The supply side often uses an agile approach
Good supervision, using quality gates, can glue them
together in a pragmatic manner
Demand
Supply
Supervision
Quality Gates & Agile
15. www.bpug.nl 15
Collaboration at handover of artifacts (quality gates)
Collaboration of all parties involved
for example: don’t forget the maintenance people
A quality gate is not a point in the process where everything comes to a
stand-still, on the contrary: it must be a smooth handover based on
previously agreed and monitored criteria
Definition of “Done”
Quality Gates in Scrum?
Collaborate:handover based on criteria
16. www.bpug.nl
The handovers in Agile are accomplished
by teamwork and common ownership.
Is is no longer a mere transfer of documents or deliverables.
It is common responsibility.
Doing Agile well will ensure that nothing gets ‘lost in translation’
Quality Gates in Scrum?
Collaborate:handover based on criteria
Quality Gate?
Definition of Done!
17. www.bpug.nl
From a test perspective, a DoD contains:
• The criteria that have to be met in a sprint with regard to the defects
procedure
• A specification of the test intensity that is to be used while creating
the test cases, based on the established product risk
• The agreements made concerning the test process
• The agreements made concerning the test results
• The test levels that have been included in the sprint.
In general, one can say:
Do not allow anything that is not completely ready into the sprint,
and do not allow anything that is not quite done to escape.
A sprint can only be classified as done if the testing has also been done.
17
Testen en Definition of Done
Source: Integrate Test Activities in Agile Projects
19. www.bpug.nl
Testzwaarte hangt af van productrisico
19
Riskpoker
Scrum master
Product owner
Agile Team
2 2
1
Discussie
Als PR medewerker
wil ik een twitter koppeling
zodat ik snel kan informeren
3
21. www.bpug.nl
Twee soorten testautomatisering
Regressietesten:
Elke sprint testen of de deliverables van de vorige sprints nog werken
Dit kun je handmatig niet bijbenen !!!
21
Testautomatisering: een “must”
Acceptance Test Driven Development:
Specificaties worden geschreven als automatisch uitvoerbare tests
Dus zodra de software wordt opgeleverd kun je onmiddellijk de test
runnen en vaststellen of de software voldoet aan de specificaties
Testtooling is meer dan geautomatiseerd uitvoeren van tests:
- Bevindingenbeheer (in ieder geval wat na de sprint open staat)
- Testdatamanagement (elke sprint weer de juiste data nodig)
- Genereren testgevallen (want te weinig tijd om het handmatig te doen)
- En meer …
22. www.bpug.nl
Met andere woorden:
elke vorm van testen waarbij de tester zijn testen ontwerpt tijdens
de testuitvoering en de informatie die wordt verkregen tijdens het
testen wordt gebruikt om nieuwe en betere testgevallen te
ontwerpen
[Bach, 2002]
Past dit binnen Agile?
Het SIMULTAAN leren, ontwerpen en uitvoeren van tests
Exploratory Testing binnen Agile
23. www.bpug.nl
Binnen Agile kunnen
specificaties wijzigen
– Bij minder risicovolle
delen daarom minder
tijd steken in vooraf
opstellen testgevallen
Structuur aan te brengen
door strategieafwegingen,
testcharters en testsessies
M.a.w.
Verkom “waste”
Risicovolle delen vergen een
gedegen voorbereiding
“Testbasis” te verkrijgen door
‘pairen’ of team
aanspreken op opleveren
minimale testbasis
(=documentatie)
M.a.w.
Wees grondig in aantonen
werkende software
Exploratory Testing binnen Agile
24. www.bpug.nl
Meer weten?
De boeken: www.ict-books.com
Retrospective
Rik.Marselis@Sogeti.nl
www.PointZERO.info
www.TMap.net
www.Sogeti.nl
Vragen?
Opmerkingen?