SlideShare a Scribd company logo
1 of 54
Download to read offline
Exploratory Testing, Techtalk with Capgemini Wroclaw (Poland), 7 December 2016
© Sogeti 2016 1
Exploring software;
Combine experience,
structure& techniques
Exploratory Testing, Techtalk with Capgemini Wroclaw (Poland), 7 December 2016
© Sogeti 2016 2
|
Todays presentation
 Our flavour of Exploratory Testing
 A little theory
 Some exercises and dynamic testing
Exploratory Testing © Sogeti 2016 2
This little fellow is R0B3.
He will assist us in this
session.
Exploratory Testing, Techtalk with Capgemini Wroclaw (Poland), 7 December 2016
© Sogeti 2016 3
Our flavour of
exploratory
testing.
Exploratory Testing, Techtalk with Capgemini Wroclaw (Poland), 7 December 2016
© Sogeti 2016 4
|
E.T. sources:
Exploratory Testing © Sogeti 2016 4
Cem Kaner first used “Exploratory Testing” in 1984
Good books:
“Explore it!” by Elisabeth Hendrickson
“Exploratory Software Testing” by James Whittaker
Website:
www.TMap.net
And many more sources…
Exploratory Testing, Techtalk with Capgemini Wroclaw (Poland), 7 December 2016
© Sogeti 2016 5
|
E.T. has many flavours, this is our flavour:
Exploratory Testing © Sogeti 2016 5
• Focus on confidence (risk-based)
• Structured (charter, log, debriefing)
• Session-based & Timeboxed (not too short, not too long)
• Tandem-approach (two people)
• Combine experience-based and coverage-based testing
• Simultaneous test design, test execution and learning
• Flexible (fit for Agile and DevOps)
• Prepared (test ideas, testing tours)
• Tools (heuristics, checklists, test design tooling)
• Serious Fun !!
Exploratory Testing, Techtalk with Capgemini Wroclaw (Poland), 7 December 2016
© Sogeti 2016 6
Focus on
confidence
Confidence
Exploratory Testing, Techtalk with Capgemini Wroclaw (Poland), 7 December 2016
© Sogeti 2016 7
|
Testing = Minimizing difference between
expected and delivered
Exploratory Testing © Sogeti 2016 7
Expected Delivered
Business value achieved
Business value missed
Product risks
materialized and
money wasted
Exploratory Testing, Techtalk with Capgemini Wroclaw (Poland), 7 December 2016
© Sogeti 2016 8
|
Definition of testing
Exploratory Testing © Sogeti 2016 8
TMap® (Test Management approach):
Testing is a process
that provides insight into,
and advice on,
quality and the related risks
Exploratory Testing, Techtalk with Capgemini Wroclaw (Poland), 7 December 2016
© Sogeti 2016 9
|
Testing contributes to gaining CONFIDENCE
© Sogeti 2016 9
Quality
Risks
Confidence
Quality attributes
Analysis and mitigation
Exploratory Testing, Techtalk with Capgemini Wroclaw (Poland), 7 December 2016
© Sogeti 2016 10
|
Definition of exploratory testing
Exploratory Testing © Sogeti 2016 10
Elisabeth Hendrickson:
Exploratory Testing is
simultaneously designing and executing tests
to learn about the system,
using your insights from the last experiment
to inform the next.
Exploratory Testing, Techtalk with Capgemini Wroclaw (Poland), 7 December 2016
© Sogeti 2016 11
|
What is the main deliverable of testing?
Exploratory Testing © Sogeti 2016 11
Go
No Go
ClientTester
Exploratory Testing, Techtalk with Capgemini Wroclaw (Poland), 7 December 2016
© Sogeti 2016 12
|
How do you get the test report?
Investigate the situation
Prepare a test (input & expected result)
Execute a test (compare the actual result)
Use the outcome to report
Testing à la façon TMap © Sogeti 2016 12
Use a testing method
Exploratory Testing, Techtalk with Capgemini Wroclaw (Poland), 7 December 2016
© Sogeti 2016 13
|
Purpose of exploratory testing
Exploratory Testing © Sogeti 2016 13
Fast Feedback Learning
Revealing the
unexpected
Gaining confidence
Exploratory Testing, Techtalk with Capgemini Wroclaw (Poland), 7 December 2016
© Sogeti 2016 14
Tandem-
approach.
Exploratory Testing, Techtalk with Capgemini Wroclaw (Poland), 7 December 2016
© Sogeti 2016 15
|15
How testing is often perceived
Two IT people are cycling up a hill on a tandem-bike.
When they finally reach the summit the one in front, the developer, says:
‘It was hard but we made it!’
Then the one at the back, the tester, comments:
‘Yes and I hope you appreciate that I was using the brakes all the time
because otherwise we would have rolled down the hill backwards’
Make sure you are a tester that helps cycling up the hill !!
Exploratory Testing, Techtalk with Capgemini Wroclaw (Poland), 7 December 2016
© Sogeti 2016 16
|
Tandem approach: 2 people
Exploratory Testing © Sogeti 2016 16
Why work in pairs?
• Two people know more than one
• One subject-matter expert and one testing-expert
• One does the testing, the other the logging
Alternative: one expert and one trainee
Beware:
not suited for very dominant or very introvert people
Exploratory Testing, Techtalk with Capgemini Wroclaw (Poland), 7 December 2016
© Sogeti 2016 17
|
Why 2 people see more than 1
Exploratory Testing © Sogeti 2016 17
Exploratory Testing, Techtalk with Capgemini Wroclaw (Poland), 7 December 2016
© Sogeti 2016 18
|
Why 2 people see more than 1
Exploratory Testing © Sogeti 2016 18
Exploratory Testing, Techtalk with Capgemini Wroclaw (Poland), 7 December 2016
© Sogeti 2016 19
Structured
(charter, log,
debriefing)
Exploratory Testing, Techtalk with Capgemini Wroclaw (Poland), 7 December 2016
© Sogeti 2016 20
|
Information /
Conclusion /
Advice
Session log
Organize with charters: 3 major activities
Exploratory Testing © Sogeti 2016 20
Create
charters
Execute
charter
Debriefing
Backlog of
charters
Session log
Session log
Information /
Conclusion /
Advice
Information /
Conclusion /
Advice
Exploratory Testing, Techtalk with Capgemini Wroclaw (Poland), 7 December 2016
© Sogeti 2016 21
|
Our pragmatic simple charter template
Exploratory Testing © Sogeti 2016 21
Charter
Log
(notes)
De-
briefing
Test ideas: e.g.
testing tours,
test data, etc.
Exploratory Testing, Techtalk with Capgemini Wroclaw (Poland), 7 December 2016
© Sogeti 2016 22
|
Determine test units, assign test charters
Exploratory Testing © Sogeti 2016 22
Someone organizes exploratory testing upfront by creating charters
(e.g. a test manager, scrum master, team member, etc.)
Divide the test object in logical test units
Create one or more charters per test unit
This may involve any kind of risk analysis (e.g. risk poker)
Create a few extra “empty” charters that can be assigned based on
conclusion and advice in the debriefing.
Exploratory Testing, Techtalk with Capgemini Wroclaw (Poland), 7 December 2016
© Sogeti 2016 23
Prepared
(testideas,
testing tours)
Exploratory Testing, Techtalk with Capgemini Wroclaw (Poland), 7 December 2016
© Sogeti 2016 24
|
Test ideas
Inspired by: Elisabeth Hendrickson Exploratory Testing © Sogeti 2016 24
A test idea is
any useful thought, piece of data, technique,
heuristic or whatever
that you write down on your charter
so that during your test session you have an
abundance of possibilities to vary your testing.
Make sure you also think of non-functional quality characteristics!
Exploratory Testing, Techtalk with Capgemini Wroclaw (Poland), 7 December 2016
© Sogeti 2016 25
|
Testing tours
Exploratory Testing © Sogeti 2016 25
Landmarks of Amsterdam
Rijksmuseum
Dam square
Red lights
Van Gogh museum
Exploratory Testing, Techtalk with Capgemini Wroclaw (Poland), 7 December 2016
© Sogeti 2016 26
|
Testing tours
Exploratory Testing © Sogeti 2016 26
James Whittaker distinguishes many different possible testing tours.
Examples:
The landmark tour: think of all the “landmarks” that you must have
seen during your exploratory session, while travelling between these
landmarks you explore the rest of your test object.
The supermodel tour: Only the outside matters, focus testing on
the look-and-feel.
The intellectual tour: Prepare “hard questions” for the test object,
e.g. if you must open a file, find the hardest file to open.
(for more tours read: “Exploratory Software Testing” by James Whittaker)
Exploratory Testing, Techtalk with Capgemini Wroclaw (Poland), 7 December 2016
© Sogeti 2016 27
|
Exercise: test ideas for line-following robot
Exploratory Testing © Sogeti 2016 27
R0B3 is a robot with a light sensor.
It can follow a line
It will stop if it detects a red color
What test ideas come to your mind?
Exploratory Testing, Techtalk with Capgemini Wroclaw (Poland), 7 December 2016
© Sogeti 2016 28
Session-based
& Timeboxed.
Exploratory Testing, Techtalk with Capgemini Wroclaw (Poland), 7 December 2016
© Sogeti 2016 29
|
Running the exploratory testing session
Exploratory Testing © Sogeti 2016 29
No distractions
No interruptions
Timebox:
½ hour – 3 hours
(as specified in charter)Charter
Exploratory Testing, Techtalk with Capgemini Wroclaw (Poland), 7 December 2016
© Sogeti 2016 30
|
Structure: session based & chartered
Exploratory Testing © Sogeti 2016 30
Keep the scope of your charter in mind, but keep some room to follow your
insights to explore somewhat beyond the scope to learn more.
Room for wandering !!
Exploratory Testing, Techtalk with Capgemini Wroclaw (Poland), 7 December 2016
© Sogeti 2016 31
|
Test log
Exploratory Testing © Sogeti 2016 31
Inputs Actions Expected output Actual output
Observations,
Defects, etc.
Exploratory Testing, Techtalk with Capgemini Wroclaw (Poland), 7 December 2016
© Sogeti 2016 32
|
Possible debriefing outcomes
Exploratory Testing © Sogeti 2016 32
Debriefing
Not able to
execute test
New risks
and/or test
ideas
Return
charter to
backlog
New
charter on
backlog
Information /
Conclusion /
Advice
Information /
Conclusion /
Advice
Exploratory Testing, Techtalk with Capgemini Wroclaw (Poland), 7 December 2016
© Sogeti 2016 33
Combine
Experience &
Coverage.
Exploratory Testing, Techtalk with Capgemini Wroclaw (Poland), 7 December 2016
© Sogeti 2016 34
|
Always combine both approaches
combine
Exploratory Testing © Sogeti 2016
Exploratory Testing, Techtalk with Capgemini Wroclaw (Poland), 7 December 2016
© Sogeti 2016 35
|
Four groups of Coverage based testing
Better know & use
one technique
of each group
than
all techniques
of only one group
Exploratory Testing © Sogeti 2016
Exploratory Testing, Techtalk with Capgemini Wroclaw (Poland), 7 December 2016
© Sogeti 2016 36
|
Experience based approaches with TMap HD
Largely intuitive & ad hoc
Structured, chartered



Experience brought together
Exploratory Testing © Sogeti 2016
Exploratory Testing, Techtalk with Capgemini Wroclaw (Poland), 7 December 2016
© Sogeti 2016 37
|
Test the triangle program
What would you want to test?
Why?
What is your expected result?
What is the actual result?
What is your conclusion?
© Sogeti 2016 37
Exploratory Testing, Techtalk with Capgemini Wroclaw (Poland), 7 December 2016
© Sogeti 2016 38
|
Expected outcome is ESSENTIAL
Exploratory Testing © Sogeti 2016 38
Be sure FIRST to think of your expected outcome
before you execute a test.
1 + 1 = ???
Expected: 2
Actual:
Exploratory Testing, Techtalk with Capgemini Wroclaw (Poland), 7 December 2016
© Sogeti 2016 39
Simultanuous
test design,
test execution,
and learning.
Exploratory Testing, Techtalk with Capgemini Wroclaw (Poland), 7 December 2016
© Sogeti 2016 40
|
Why combine structure and flexibility?
Exploratory Testing © Sogeti 2016 40
Exercise
The trainer has an object in mind
(can be anything in the universe)
The participants ask a yes/no question
The trainer answers (yes or no only)
If a participant knows the object  shout it out!
Lee Copeland
Exploratory Testing, Techtalk with Capgemini Wroclaw (Poland), 7 December 2016
© Sogeti 2016 41
|
Exciting…
© Sogeti 2016 41
Exploratory Testing, Techtalk with Capgemini Wroclaw (Poland), 7 December 2016
© Sogeti 2016 42
|© Sogeti 2016 42
Exploratory Testing, Techtalk with Capgemini Wroclaw (Poland), 7 December 2016
© Sogeti 2016 43
Flexible
(fit for Agile
and DevOps)
Exploratory Testing, Techtalk with Capgemini Wroclaw (Poland), 7 December 2016
© Sogeti 2016 44
|
Exploration is a feedback loop
Exploratory Testing © Sogeti 2016 44
TEST
LEARN
Exploratory Testing, Techtalk with Capgemini Wroclaw (Poland), 7 December 2016
© Sogeti 2016 45
|
Early testing
Exploratory Testing © Sogeti 2016 45
Also known as
“Reviewing”
Also known as
“Testing”
Start testing as early as
possible.
Combine static and
dynamic testing
whenever possible.
Exploratory Testing, Techtalk with Capgemini Wroclaw (Poland), 7 December 2016
© Sogeti 2016 46
Tools
(heuristics, checklists,
test design tooling, test
execution tooling, etc.)
Exploratory Testing, Techtalk with Capgemini Wroclaw (Poland), 7 December 2016
© Sogeti 2016 47
|
Use heuristics to get test ideas
Exploratory Testing © Sogeti 2016 47
A heuristic is a rule of thumb, simplification, or educated guess
Numbers:
- Zero
- One
- Many
- Too many
- Too few
Selecting:
- None
- One
- Some
- Many
- All
Timing:
- Always
- Sometimes
- Never
CRUD:
- Create
- Read
- Update
- Delete
Exploratory Testing, Techtalk with Capgemini Wroclaw (Poland), 7 December 2016
© Sogeti 2016 48
|
Test design techniques are tools !
Exploratory Testing © Sogeti 2016 48
Use coverage based techniques as “test ideas”
(thus your start-set of test cases can be made long before …)
Exploratory Testing, Techtalk with Capgemini Wroclaw (Poland), 7 December 2016
© Sogeti 2016 49
|
Tool: nightmare headline game
Exploratory Testing © Sogeti 2016 49
Exploratory Testing, Techtalk with Capgemini Wroclaw (Poland), 7 December 2016
© Sogeti 2016 50
Serious fun !!
Exploratory Testing, Techtalk with Capgemini Wroclaw (Poland), 7 December 2016
© Sogeti 2016 51
|
Bug hunt
Exploratory Testing © Sogeti 2016 51
Get a
charter
Analyse
Pair
testing
one hour
Judge
evalute
defects
Score
sheet
update
The “Friday afternoon-sport”:
competition in short iterations
to determine
which team finds
the most (real!) bugs
(of course there’s a prize!!)
Exploratory Testing, Techtalk with Capgemini Wroclaw (Poland), 7 December 2016
© Sogeti 2016 52
|
Conclusion
source: TMap HD, Niki van Dreumel, ASR Exploratory Testing © Sogeti 2016 52
In the hands of experts,
Exploratory Testing is a structured way
to measure the quality of the information system
in a relatively short time
and to reach an objective view on the risks involved.
Exploratory Testing, Techtalk with Capgemini Wroclaw (Poland), 7 December 2016
© Sogeti 2016 53
Happy
exploration !
Exploratory Testing, Techtalk with Capgemini Wroclaw (Poland), 7 December 2016
© Sogeti 2016 54
Questions ?
Answers !
Discussion 

More Related Content

Viewers also liked

Exploratory Testing with the Team_ATDNL
Exploratory Testing with the Team_ATDNLExploratory Testing with the Team_ATDNL
Exploratory Testing with the Team_ATDNL
Maaike Brinkhof
 
Thiết kế qui trình công nghệ tiền xử lý, nhuộm và hoàn tất vải dệt kim từ sợi...
Thiết kế qui trình công nghệ tiền xử lý, nhuộm và hoàn tất vải dệt kim từ sợi...Thiết kế qui trình công nghệ tiền xử lý, nhuộm và hoàn tất vải dệt kim từ sợi...
Thiết kế qui trình công nghệ tiền xử lý, nhuộm và hoàn tất vải dệt kim từ sợi...
https://www.facebook.com/garmentspace
 

Viewers also liked (11)

Exploratory Testing
Exploratory TestingExploratory Testing
Exploratory Testing
 
Exploratory Testing with the Team_ATDNL
Exploratory Testing with the Team_ATDNLExploratory Testing with the Team_ATDNL
Exploratory Testing with the Team_ATDNL
 
Testing OF robots and testing WITH robots. Netherlands testing day 2016 Rik M...
Testing OF robots and testing WITH robots. Netherlands testing day 2016 Rik M...Testing OF robots and testing WITH robots. Netherlands testing day 2016 Rik M...
Testing OF robots and testing WITH robots. Netherlands testing day 2016 Rik M...
 
Michael mahlberg exploratory-testing-the_missing_half_of_bdd
Michael mahlberg exploratory-testing-the_missing_half_of_bddMichael mahlberg exploratory-testing-the_missing_half_of_bdd
Michael mahlberg exploratory-testing-the_missing_half_of_bdd
 
Exploratory Session Based Testing…With A Twist Star East 2009
Exploratory Session Based Testing…With A Twist   Star East 2009Exploratory Session Based Testing…With A Twist   Star East 2009
Exploratory Session Based Testing…With A Twist Star East 2009
 
Robots testen bent u er klaar voor? TMap dag 2016 Rik Marselis
Robots testen bent u er klaar voor? TMap dag 2016 Rik MarselisRobots testen bent u er klaar voor? TMap dag 2016 Rik Marselis
Robots testen bent u er klaar voor? TMap dag 2016 Rik Marselis
 
A Happy Marriage between Context-Driven and Agile
A Happy Marriage between Context-Driven and AgileA Happy Marriage between Context-Driven and Agile
A Happy Marriage between Context-Driven and Agile
 
Testing machine learning, learning machine testing. EuroSTAR 2016 Rik Marselis
Testing machine learning, learning machine testing. EuroSTAR 2016 Rik MarselisTesting machine learning, learning machine testing. EuroSTAR 2016 Rik Marselis
Testing machine learning, learning machine testing. EuroSTAR 2016 Rik Marselis
 
Tips for Writing Better Charters for Exploratory Testing Sessions by Michael...
 Tips for Writing Better Charters for Exploratory Testing Sessions by Michael... Tips for Writing Better Charters for Exploratory Testing Sessions by Michael...
Tips for Writing Better Charters for Exploratory Testing Sessions by Michael...
 
Thiết kế qui trình công nghệ tiền xử lý, nhuộm và hoàn tất vải dệt kim từ sợi...
Thiết kế qui trình công nghệ tiền xử lý, nhuộm và hoàn tất vải dệt kim từ sợi...Thiết kế qui trình công nghệ tiền xử lý, nhuộm và hoàn tất vải dệt kim từ sợi...
Thiết kế qui trình công nghệ tiền xử lý, nhuộm và hoàn tất vải dệt kim từ sợi...
 
Meetup How we became Software testing world champion
Meetup How we became Software testing world championMeetup How we became Software testing world champion
Meetup How we became Software testing world champion
 

Similar to Exploratory testing by Rik Marselis

Similar to Exploratory testing by Rik Marselis (6)

A journey to a Full Stack Tester
A journey to a Full Stack Tester A journey to a Full Stack Tester
A journey to a Full Stack Tester
 
The art of the retrospective
The art of the retrospectiveThe art of the retrospective
The art of the retrospective
 
DMS - S7 - Recommendation - Slides.pptx
DMS - S7 - Recommendation - Slides.pptxDMS - S7 - Recommendation - Slides.pptx
DMS - S7 - Recommendation - Slides.pptx
 
Scientix 5th SPNE London 24 April 2015: Go-Lab
Scientix 5th SPNE London 24 April 2015: Go-LabScientix 5th SPNE London 24 April 2015: Go-Lab
Scientix 5th SPNE London 24 April 2015: Go-Lab
 
Scientix 5th SPNE London 24 April 2015: Go Lab
Scientix 5th SPNE London 24 April 2015: Go LabScientix 5th SPNE London 24 April 2015: Go Lab
Scientix 5th SPNE London 24 April 2015: Go Lab
 
TestWorksConf: Experience exploratory testing
TestWorksConf: Experience exploratory testingTestWorksConf: Experience exploratory testing
TestWorksConf: Experience exploratory testing
 

More from Rik Marselis

Quality Engineering and Testing with TMAP in DevOps IT delivery
Quality Engineering and Testing with TMAP in DevOps IT deliveryQuality Engineering and Testing with TMAP in DevOps IT delivery
Quality Engineering and Testing with TMAP in DevOps IT delivery
Rik Marselis
 

More from Rik Marselis (20)

The End Of Testing As We Know It (TestCon - Rik Marselis).pdf
The End Of Testing As We Know It (TestCon - Rik Marselis).pdfThe End Of Testing As We Know It (TestCon - Rik Marselis).pdf
The End Of Testing As We Know It (TestCon - Rik Marselis).pdf
 
TestExpo Quality Engineering & Sustainability
TestExpo Quality Engineering & Sustainability TestExpo Quality Engineering & Sustainability
TestExpo Quality Engineering & Sustainability
 
GTR-The End Of Testing As We Know It
GTR-The End Of Testing As We Know ItGTR-The End Of Testing As We Know It
GTR-The End Of Testing As We Know It
 
Introduction of TMAP to representatives of ISTQB boards in the GA week in Mar...
Introduction of TMAP to representatives of ISTQB boards in the GA week in Mar...Introduction of TMAP to representatives of ISTQB boards in the GA week in Mar...
Introduction of TMAP to representatives of ISTQB boards in the GA week in Mar...
 
Quality Engineering in today's cross-functTeams with TMAP
Quality Engineering in today's cross-functTeams with TMAPQuality Engineering in today's cross-functTeams with TMAP
Quality Engineering in today's cross-functTeams with TMAP
 
Quality engineering instead of testing... Why? How?
Quality engineering instead of testing... Why? How?Quality engineering instead of testing... Why? How?
Quality engineering instead of testing... Why? How?
 
Quality Engineering and Testing with TMAP in DevOps IT delivery
Quality Engineering and Testing with TMAP in DevOps IT deliveryQuality Engineering and Testing with TMAP in DevOps IT delivery
Quality Engineering and Testing with TMAP in DevOps IT delivery
 
Quality engineering & testing in DevOps IT delivery with TMAP
Quality engineering & testing in DevOps IT delivery with TMAPQuality engineering & testing in DevOps IT delivery with TMAP
Quality engineering & testing in DevOps IT delivery with TMAP
 
Quality engineering in DevOps... Why? How? (TestBusters Day&Night))
Quality engineering in DevOps... Why? How? (TestBusters Day&Night))Quality engineering in DevOps... Why? How? (TestBusters Day&Night))
Quality engineering in DevOps... Why? How? (TestBusters Day&Night))
 
TMAP Quality Engineering workshop on A4Q congress by Rik Marselis
TMAP Quality Engineering workshop on A4Q congress by Rik Marselis TMAP Quality Engineering workshop on A4Q congress by Rik Marselis
TMAP Quality Engineering workshop on A4Q congress by Rik Marselis
 
Quality engineering in the digital age... Why? How? (ASQF Keynote by Rik Mars...
Quality engineering in the digital age... Why? How? (ASQF Keynote by Rik Mars...Quality engineering in the digital age... Why? How? (ASQF Keynote by Rik Mars...
Quality engineering in the digital age... Why? How? (ASQF Keynote by Rik Mars...
 
Quality for DevOps teams - Quality engineering in the DevOps culture
Quality for DevOps teams - Quality engineering in the DevOps cultureQuality for DevOps teams - Quality engineering in the DevOps culture
Quality for DevOps teams - Quality engineering in the DevOps culture
 
How to write a proposal to speak at a conference? Hints & tips
How to write a proposal to speak at a conference? Hints & tipsHow to write a proposal to speak at a conference? Hints & tips
How to write a proposal to speak at a conference? Hints & tips
 
Testen ISTQB, TMap, ISO25010 en meer. Gastcollege Windesheim Rik Marselis
Testen ISTQB, TMap, ISO25010 en meer. Gastcollege Windesheim Rik MarselisTesten ISTQB, TMap, ISO25010 en meer. Gastcollege Windesheim Rik Marselis
Testen ISTQB, TMap, ISO25010 en meer. Gastcollege Windesheim Rik Marselis
 
Over testen gesproken TestNet najaar 2019 openingskeynote Rik Marselis
Over testen gesproken TestNet najaar 2019 openingskeynote Rik MarselisOver testen gesproken TestNet najaar 2019 openingskeynote Rik Marselis
Over testen gesproken TestNet najaar 2019 openingskeynote Rik Marselis
 
EuroSTAR 2018 tutorial Rik Marselis Testing Intelligent Machines
EuroSTAR 2018 tutorial Rik Marselis Testing Intelligent MachinesEuroSTAR 2018 tutorial Rik Marselis Testing Intelligent Machines
EuroSTAR 2018 tutorial Rik Marselis Testing Intelligent Machines
 
Testing intelligent machines; approaches and techniques (QA&Test Bilbao 2018)
Testing intelligent machines; approaches and techniques (QA&Test Bilbao 2018)Testing intelligent machines; approaches and techniques (QA&Test Bilbao 2018)
Testing intelligent machines; approaches and techniques (QA&Test Bilbao 2018)
 
Qx day2018 digital_quality_strategy_rik_marselis
Qx day2018 digital_quality_strategy_rik_marselisQx day2018 digital_quality_strategy_rik_marselis
Qx day2018 digital_quality_strategy_rik_marselis
 
Testing in the digital age; AI makes the difference! Booklaunch Rik Marselis
Testing in the digital age; AI makes the difference! Booklaunch Rik MarselisTesting in the digital age; AI makes the difference! Booklaunch Rik Marselis
Testing in the digital age; AI makes the difference! Booklaunch Rik Marselis
 
Testing in the digital age; international booklaunch at German Testing Day
Testing in the digital age; international booklaunch at German Testing DayTesting in the digital age; international booklaunch at German Testing Day
Testing in the digital age; international booklaunch at German Testing Day
 

Recently uploaded

introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdfintroduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
VishalKumarJha10
 
AI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM TechniquesAI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
VictorSzoltysek
 
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICECHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
TECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providerTECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service provider
mohitmore19
 

Recently uploaded (20)

Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfLearn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
 
Optimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVOptimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTV
 
How to Choose the Right Laravel Development Partner in New York City_compress...
How to Choose the Right Laravel Development Partner in New York City_compress...How to Choose the Right Laravel Development Partner in New York City_compress...
How to Choose the Right Laravel Development Partner in New York City_compress...
 
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdfintroduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
 
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
 
Software Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsSoftware Quality Assurance Interview Questions
Software Quality Assurance Interview Questions
 
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfThe Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
 
Exploring the Best Video Editing App.pdf
Exploring the Best Video Editing App.pdfExploring the Best Video Editing App.pdf
Exploring the Best Video Editing App.pdf
 
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
 
Define the academic and professional writing..pdf
Define the academic and professional writing..pdfDefine the academic and professional writing..pdf
Define the academic and professional writing..pdf
 
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected WorkerHow To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
 
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
 
AI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM TechniquesAI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
 
A Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxA Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docx
 
Introducing Microsoft’s new Enterprise Work Management (EWM) Solution
Introducing Microsoft’s new Enterprise Work Management (EWM) SolutionIntroducing Microsoft’s new Enterprise Work Management (EWM) Solution
Introducing Microsoft’s new Enterprise Work Management (EWM) Solution
 
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICECHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
 
10 Trends Likely to Shape Enterprise Technology in 2024
10 Trends Likely to Shape Enterprise Technology in 202410 Trends Likely to Shape Enterprise Technology in 2024
10 Trends Likely to Shape Enterprise Technology in 2024
 
TECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providerTECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service provider
 
Azure_Native_Qumulo_High_Performance_Compute_Benchmarks.pdf
Azure_Native_Qumulo_High_Performance_Compute_Benchmarks.pdfAzure_Native_Qumulo_High_Performance_Compute_Benchmarks.pdf
Azure_Native_Qumulo_High_Performance_Compute_Benchmarks.pdf
 
VTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learnVTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learn
 

Exploratory testing by Rik Marselis

  • 1. Exploratory Testing, Techtalk with Capgemini Wroclaw (Poland), 7 December 2016 © Sogeti 2016 1 Exploring software; Combine experience, structure& techniques
  • 2. Exploratory Testing, Techtalk with Capgemini Wroclaw (Poland), 7 December 2016 © Sogeti 2016 2 | Todays presentation  Our flavour of Exploratory Testing  A little theory  Some exercises and dynamic testing Exploratory Testing © Sogeti 2016 2 This little fellow is R0B3. He will assist us in this session.
  • 3. Exploratory Testing, Techtalk with Capgemini Wroclaw (Poland), 7 December 2016 © Sogeti 2016 3 Our flavour of exploratory testing.
  • 4. Exploratory Testing, Techtalk with Capgemini Wroclaw (Poland), 7 December 2016 © Sogeti 2016 4 | E.T. sources: Exploratory Testing © Sogeti 2016 4 Cem Kaner first used “Exploratory Testing” in 1984 Good books: “Explore it!” by Elisabeth Hendrickson “Exploratory Software Testing” by James Whittaker Website: www.TMap.net And many more sources…
  • 5. Exploratory Testing, Techtalk with Capgemini Wroclaw (Poland), 7 December 2016 © Sogeti 2016 5 | E.T. has many flavours, this is our flavour: Exploratory Testing © Sogeti 2016 5 • Focus on confidence (risk-based) • Structured (charter, log, debriefing) • Session-based & Timeboxed (not too short, not too long) • Tandem-approach (two people) • Combine experience-based and coverage-based testing • Simultaneous test design, test execution and learning • Flexible (fit for Agile and DevOps) • Prepared (test ideas, testing tours) • Tools (heuristics, checklists, test design tooling) • Serious Fun !!
  • 6. Exploratory Testing, Techtalk with Capgemini Wroclaw (Poland), 7 December 2016 © Sogeti 2016 6 Focus on confidence Confidence
  • 7. Exploratory Testing, Techtalk with Capgemini Wroclaw (Poland), 7 December 2016 © Sogeti 2016 7 | Testing = Minimizing difference between expected and delivered Exploratory Testing © Sogeti 2016 7 Expected Delivered Business value achieved Business value missed Product risks materialized and money wasted
  • 8. Exploratory Testing, Techtalk with Capgemini Wroclaw (Poland), 7 December 2016 © Sogeti 2016 8 | Definition of testing Exploratory Testing © Sogeti 2016 8 TMap® (Test Management approach): Testing is a process that provides insight into, and advice on, quality and the related risks
  • 9. Exploratory Testing, Techtalk with Capgemini Wroclaw (Poland), 7 December 2016 © Sogeti 2016 9 | Testing contributes to gaining CONFIDENCE © Sogeti 2016 9 Quality Risks Confidence Quality attributes Analysis and mitigation
  • 10. Exploratory Testing, Techtalk with Capgemini Wroclaw (Poland), 7 December 2016 © Sogeti 2016 10 | Definition of exploratory testing Exploratory Testing © Sogeti 2016 10 Elisabeth Hendrickson: Exploratory Testing is simultaneously designing and executing tests to learn about the system, using your insights from the last experiment to inform the next.
  • 11. Exploratory Testing, Techtalk with Capgemini Wroclaw (Poland), 7 December 2016 © Sogeti 2016 11 | What is the main deliverable of testing? Exploratory Testing © Sogeti 2016 11 Go No Go ClientTester
  • 12. Exploratory Testing, Techtalk with Capgemini Wroclaw (Poland), 7 December 2016 © Sogeti 2016 12 | How do you get the test report? Investigate the situation Prepare a test (input & expected result) Execute a test (compare the actual result) Use the outcome to report Testing à la façon TMap © Sogeti 2016 12 Use a testing method
  • 13. Exploratory Testing, Techtalk with Capgemini Wroclaw (Poland), 7 December 2016 © Sogeti 2016 13 | Purpose of exploratory testing Exploratory Testing © Sogeti 2016 13 Fast Feedback Learning Revealing the unexpected Gaining confidence
  • 14. Exploratory Testing, Techtalk with Capgemini Wroclaw (Poland), 7 December 2016 © Sogeti 2016 14 Tandem- approach.
  • 15. Exploratory Testing, Techtalk with Capgemini Wroclaw (Poland), 7 December 2016 © Sogeti 2016 15 |15 How testing is often perceived Two IT people are cycling up a hill on a tandem-bike. When they finally reach the summit the one in front, the developer, says: ‘It was hard but we made it!’ Then the one at the back, the tester, comments: ‘Yes and I hope you appreciate that I was using the brakes all the time because otherwise we would have rolled down the hill backwards’ Make sure you are a tester that helps cycling up the hill !!
  • 16. Exploratory Testing, Techtalk with Capgemini Wroclaw (Poland), 7 December 2016 © Sogeti 2016 16 | Tandem approach: 2 people Exploratory Testing © Sogeti 2016 16 Why work in pairs? • Two people know more than one • One subject-matter expert and one testing-expert • One does the testing, the other the logging Alternative: one expert and one trainee Beware: not suited for very dominant or very introvert people
  • 17. Exploratory Testing, Techtalk with Capgemini Wroclaw (Poland), 7 December 2016 © Sogeti 2016 17 | Why 2 people see more than 1 Exploratory Testing © Sogeti 2016 17
  • 18. Exploratory Testing, Techtalk with Capgemini Wroclaw (Poland), 7 December 2016 © Sogeti 2016 18 | Why 2 people see more than 1 Exploratory Testing © Sogeti 2016 18
  • 19. Exploratory Testing, Techtalk with Capgemini Wroclaw (Poland), 7 December 2016 © Sogeti 2016 19 Structured (charter, log, debriefing)
  • 20. Exploratory Testing, Techtalk with Capgemini Wroclaw (Poland), 7 December 2016 © Sogeti 2016 20 | Information / Conclusion / Advice Session log Organize with charters: 3 major activities Exploratory Testing © Sogeti 2016 20 Create charters Execute charter Debriefing Backlog of charters Session log Session log Information / Conclusion / Advice Information / Conclusion / Advice
  • 21. Exploratory Testing, Techtalk with Capgemini Wroclaw (Poland), 7 December 2016 © Sogeti 2016 21 | Our pragmatic simple charter template Exploratory Testing © Sogeti 2016 21 Charter Log (notes) De- briefing Test ideas: e.g. testing tours, test data, etc.
  • 22. Exploratory Testing, Techtalk with Capgemini Wroclaw (Poland), 7 December 2016 © Sogeti 2016 22 | Determine test units, assign test charters Exploratory Testing © Sogeti 2016 22 Someone organizes exploratory testing upfront by creating charters (e.g. a test manager, scrum master, team member, etc.) Divide the test object in logical test units Create one or more charters per test unit This may involve any kind of risk analysis (e.g. risk poker) Create a few extra “empty” charters that can be assigned based on conclusion and advice in the debriefing.
  • 23. Exploratory Testing, Techtalk with Capgemini Wroclaw (Poland), 7 December 2016 © Sogeti 2016 23 Prepared (testideas, testing tours)
  • 24. Exploratory Testing, Techtalk with Capgemini Wroclaw (Poland), 7 December 2016 © Sogeti 2016 24 | Test ideas Inspired by: Elisabeth Hendrickson Exploratory Testing © Sogeti 2016 24 A test idea is any useful thought, piece of data, technique, heuristic or whatever that you write down on your charter so that during your test session you have an abundance of possibilities to vary your testing. Make sure you also think of non-functional quality characteristics!
  • 25. Exploratory Testing, Techtalk with Capgemini Wroclaw (Poland), 7 December 2016 © Sogeti 2016 25 | Testing tours Exploratory Testing © Sogeti 2016 25 Landmarks of Amsterdam Rijksmuseum Dam square Red lights Van Gogh museum
  • 26. Exploratory Testing, Techtalk with Capgemini Wroclaw (Poland), 7 December 2016 © Sogeti 2016 26 | Testing tours Exploratory Testing © Sogeti 2016 26 James Whittaker distinguishes many different possible testing tours. Examples: The landmark tour: think of all the “landmarks” that you must have seen during your exploratory session, while travelling between these landmarks you explore the rest of your test object. The supermodel tour: Only the outside matters, focus testing on the look-and-feel. The intellectual tour: Prepare “hard questions” for the test object, e.g. if you must open a file, find the hardest file to open. (for more tours read: “Exploratory Software Testing” by James Whittaker)
  • 27. Exploratory Testing, Techtalk with Capgemini Wroclaw (Poland), 7 December 2016 © Sogeti 2016 27 | Exercise: test ideas for line-following robot Exploratory Testing © Sogeti 2016 27 R0B3 is a robot with a light sensor. It can follow a line It will stop if it detects a red color What test ideas come to your mind?
  • 28. Exploratory Testing, Techtalk with Capgemini Wroclaw (Poland), 7 December 2016 © Sogeti 2016 28 Session-based & Timeboxed.
  • 29. Exploratory Testing, Techtalk with Capgemini Wroclaw (Poland), 7 December 2016 © Sogeti 2016 29 | Running the exploratory testing session Exploratory Testing © Sogeti 2016 29 No distractions No interruptions Timebox: ½ hour – 3 hours (as specified in charter)Charter
  • 30. Exploratory Testing, Techtalk with Capgemini Wroclaw (Poland), 7 December 2016 © Sogeti 2016 30 | Structure: session based & chartered Exploratory Testing © Sogeti 2016 30 Keep the scope of your charter in mind, but keep some room to follow your insights to explore somewhat beyond the scope to learn more. Room for wandering !!
  • 31. Exploratory Testing, Techtalk with Capgemini Wroclaw (Poland), 7 December 2016 © Sogeti 2016 31 | Test log Exploratory Testing © Sogeti 2016 31 Inputs Actions Expected output Actual output Observations, Defects, etc.
  • 32. Exploratory Testing, Techtalk with Capgemini Wroclaw (Poland), 7 December 2016 © Sogeti 2016 32 | Possible debriefing outcomes Exploratory Testing © Sogeti 2016 32 Debriefing Not able to execute test New risks and/or test ideas Return charter to backlog New charter on backlog Information / Conclusion / Advice Information / Conclusion / Advice
  • 33. Exploratory Testing, Techtalk with Capgemini Wroclaw (Poland), 7 December 2016 © Sogeti 2016 33 Combine Experience & Coverage.
  • 34. Exploratory Testing, Techtalk with Capgemini Wroclaw (Poland), 7 December 2016 © Sogeti 2016 34 | Always combine both approaches combine Exploratory Testing © Sogeti 2016
  • 35. Exploratory Testing, Techtalk with Capgemini Wroclaw (Poland), 7 December 2016 © Sogeti 2016 35 | Four groups of Coverage based testing Better know & use one technique of each group than all techniques of only one group Exploratory Testing © Sogeti 2016
  • 36. Exploratory Testing, Techtalk with Capgemini Wroclaw (Poland), 7 December 2016 © Sogeti 2016 36 | Experience based approaches with TMap HD Largely intuitive & ad hoc Structured, chartered    Experience brought together Exploratory Testing © Sogeti 2016
  • 37. Exploratory Testing, Techtalk with Capgemini Wroclaw (Poland), 7 December 2016 © Sogeti 2016 37 | Test the triangle program What would you want to test? Why? What is your expected result? What is the actual result? What is your conclusion? © Sogeti 2016 37
  • 38. Exploratory Testing, Techtalk with Capgemini Wroclaw (Poland), 7 December 2016 © Sogeti 2016 38 | Expected outcome is ESSENTIAL Exploratory Testing © Sogeti 2016 38 Be sure FIRST to think of your expected outcome before you execute a test. 1 + 1 = ??? Expected: 2 Actual:
  • 39. Exploratory Testing, Techtalk with Capgemini Wroclaw (Poland), 7 December 2016 © Sogeti 2016 39 Simultanuous test design, test execution, and learning.
  • 40. Exploratory Testing, Techtalk with Capgemini Wroclaw (Poland), 7 December 2016 © Sogeti 2016 40 | Why combine structure and flexibility? Exploratory Testing © Sogeti 2016 40 Exercise The trainer has an object in mind (can be anything in the universe) The participants ask a yes/no question The trainer answers (yes or no only) If a participant knows the object  shout it out! Lee Copeland
  • 41. Exploratory Testing, Techtalk with Capgemini Wroclaw (Poland), 7 December 2016 © Sogeti 2016 41 | Exciting… © Sogeti 2016 41
  • 42. Exploratory Testing, Techtalk with Capgemini Wroclaw (Poland), 7 December 2016 © Sogeti 2016 42 |© Sogeti 2016 42
  • 43. Exploratory Testing, Techtalk with Capgemini Wroclaw (Poland), 7 December 2016 © Sogeti 2016 43 Flexible (fit for Agile and DevOps)
  • 44. Exploratory Testing, Techtalk with Capgemini Wroclaw (Poland), 7 December 2016 © Sogeti 2016 44 | Exploration is a feedback loop Exploratory Testing © Sogeti 2016 44 TEST LEARN
  • 45. Exploratory Testing, Techtalk with Capgemini Wroclaw (Poland), 7 December 2016 © Sogeti 2016 45 | Early testing Exploratory Testing © Sogeti 2016 45 Also known as “Reviewing” Also known as “Testing” Start testing as early as possible. Combine static and dynamic testing whenever possible.
  • 46. Exploratory Testing, Techtalk with Capgemini Wroclaw (Poland), 7 December 2016 © Sogeti 2016 46 Tools (heuristics, checklists, test design tooling, test execution tooling, etc.)
  • 47. Exploratory Testing, Techtalk with Capgemini Wroclaw (Poland), 7 December 2016 © Sogeti 2016 47 | Use heuristics to get test ideas Exploratory Testing © Sogeti 2016 47 A heuristic is a rule of thumb, simplification, or educated guess Numbers: - Zero - One - Many - Too many - Too few Selecting: - None - One - Some - Many - All Timing: - Always - Sometimes - Never CRUD: - Create - Read - Update - Delete
  • 48. Exploratory Testing, Techtalk with Capgemini Wroclaw (Poland), 7 December 2016 © Sogeti 2016 48 | Test design techniques are tools ! Exploratory Testing © Sogeti 2016 48 Use coverage based techniques as “test ideas” (thus your start-set of test cases can be made long before …)
  • 49. Exploratory Testing, Techtalk with Capgemini Wroclaw (Poland), 7 December 2016 © Sogeti 2016 49 | Tool: nightmare headline game Exploratory Testing © Sogeti 2016 49
  • 50. Exploratory Testing, Techtalk with Capgemini Wroclaw (Poland), 7 December 2016 © Sogeti 2016 50 Serious fun !!
  • 51. Exploratory Testing, Techtalk with Capgemini Wroclaw (Poland), 7 December 2016 © Sogeti 2016 51 | Bug hunt Exploratory Testing © Sogeti 2016 51 Get a charter Analyse Pair testing one hour Judge evalute defects Score sheet update The “Friday afternoon-sport”: competition in short iterations to determine which team finds the most (real!) bugs (of course there’s a prize!!)
  • 52. Exploratory Testing, Techtalk with Capgemini Wroclaw (Poland), 7 December 2016 © Sogeti 2016 52 | Conclusion source: TMap HD, Niki van Dreumel, ASR Exploratory Testing © Sogeti 2016 52 In the hands of experts, Exploratory Testing is a structured way to measure the quality of the information system in a relatively short time and to reach an objective view on the risks involved.
  • 53. Exploratory Testing, Techtalk with Capgemini Wroclaw (Poland), 7 December 2016 © Sogeti 2016 53 Happy exploration !
  • 54. Exploratory Testing, Techtalk with Capgemini Wroclaw (Poland), 7 December 2016 © Sogeti 2016 54 Questions ? Answers ! Discussion 