SlideShare uma empresa Scribd logo
1 de 23
Baixar para ler offline
EuroS|tar webinar 30 Jan 2017
info@dorothygraham.co.uk
© Dorothy Graham 2017
www.DorothyGraham.co.uk
www.TestAutomationPatterns.org
1
Are your tests well-
travelled? Thoughts
about coverage
Prepared and presented by
Dorothy Graham
email: info@dorothygraham.co.uk
www.DorothyGraham.co.uk
EuroStar Webinar
© Dorothy Graham 2017
2
Contents
Analogy with travelling
What is coverage?
Should testing be thorough?
What coverage is not (often mistaken for)
The four caveats of coverage
The question you should ask
Twitter: @DorothyGraham
EuroS|tar webinar 30 Jan 2017
info@dorothygraham.co.uk
© Dorothy Graham 2017
www.DorothyGraham.co.uk
www.TestAutomationPatterns.org
3
Where on earth have you been?
• have you seen a lot of the world?
– are you “well-travelled”?
• what does it mean if you say “yes”?
– what does it mean if you say “85%”?
– or “100%”?
4
Scratch map 1 (unscratched)
scratch off places I
have been – cities?
EuroS|tar webinar 30 Jan 2017
info@dorothygraham.co.uk
© Dorothy Graham 2017
www.DorothyGraham.co.uk
www.TestAutomationPatterns.org
5
can you spot
the 74 cities
I’ve visited?
6
hint: look on
the East side
of the country
EuroS|tar webinar 30 Jan 2017
info@dorothygraham.co.uk
© Dorothy Graham 2017
www.DorothyGraham.co.uk
www.TestAutomationPatterns.org
7
Where is Grand
Rapids?
8
Cities aren’t that
impressive on
the map – how
about States?
EuroS|tar webinar 30 Jan 2017
info@dorothygraham.co.uk
© Dorothy Graham 2017
www.DorothyGraham.co.uk
www.TestAutomationPatterns.org
9
Only 4 US
States I haven’t
been to.
plus
Hawaii
10
country
coverage
EuroS|tar webinar 30 Jan 2017
info@dorothygraham.co.uk
© Dorothy Graham 2017
www.DorothyGraham.co.uk
www.TestAutomationPatterns.org
11
Some travel metrics
• Have you been to
– every street in the
place where you live?
– every city/town?
– every state/province?
– every country in the
world?
– every continent?
• where haven’t you
been?
12
Contents
Analogy with travelling
What is coverage?
Should testing be thorough?
What coverage is not (often mistaken for)
The four caveats of coverage
The question you should ask
Twitter: @DorothyGraham
EuroS|tar webinar 30 Jan 2017
info@dorothygraham.co.uk
© Dorothy Graham 2017
www.DorothyGraham.co.uk
www.TestAutomationPatterns.org
13
Travelling
• have you seen a lot of the world?
– are you “well-travelled”?
• what does it mean if you say “yes”?
– what does it mean if you say “85%”?
– or “100%”?
Test coverage
your tests seen a lot of the system?
- do you have “good coverage”?
they
14
Some travel metrics
• Have you been to
– every street in the
place where you live?
– every city/town?
– every state/ province?
– every country in the
world?
– every continent?
• where haven’t you
been?
• Have your tests been to
– every statement / decision
/ branch?
– every data combination?
– every error message?
– every menu option?
– every program / function?
– every user story option?
• where haven’t your tests
been?
coverage
EuroS|tar webinar 30 Jan 2017
info@dorothygraham.co.uk
© Dorothy Graham 2017
www.DorothyGraham.co.uk
www.TestAutomationPatterns.org
15
What is coverage?
system
the
tests
16
What is coverage?
system
the
tests
this part of the
system has
been covered
by these tests
the rest has
not been
covered by
these tests
EuroS|tar webinar 30 Jan 2017
info@dorothygraham.co.uk
© Dorothy Graham 2017
www.DorothyGraham.co.uk
www.TestAutomationPatterns.org
17
What is coverage?
system
more
tests
these tests give more coverage
than the previous set of tests
18
Tests giving 100% coverage
system
even more
tests
Great - we’ve tested
all of the system!
- or have we?
EuroS|tar webinar 30 Jan 2017
info@dorothygraham.co.uk
© Dorothy Graham 2017
www.DorothyGraham.co.uk
www.TestAutomationPatterns.org
19
Tested everything?
system
systemsystemsystem
system
even more
tests
100%? – of what?
modules, statements, branches,
states, data, menu options, functions
business rules, user stories
20
Statement vs decision coverage
read(a)
IF a > 6 THEN
b = a * 2
ENDIF
print b
1
2
3
4
5
Statement
numbers
5
1
3
4
True
Test
Case Input
Expected
Output
A 7 14
Test Path Decision Decision Statement
Case Taken Outcome Coverage Coverage
A 1, 2, 3, 4, 5 True 50% 100%
True
2
Great – 100%
tested, right?
EuroS|tar webinar 30 Jan 2017
info@dorothygraham.co.uk
© Dorothy Graham 2017
www.DorothyGraham.co.uk
www.TestAutomationPatterns.org
21
Statement vs decision coverage
read(a)
IF a > 6 THEN
b = a * 2
ENDIF
print b
1
2
3
4
5
Statement
numbers
5
1
3
4
True
Test
Case Input
Expected
Output
A 7 14
Test Path Decision Decision Statement
Case Taken Outcome Coverage Coverage
A 1, 2, 3, 4, 5 True 50% 100%
True
2
22
Statement vs decision coverage
read(a)
IF a > 6 THEN
b = a * 2
ENDIF
print b
1
2
3
4
5
Statement
numbers
B 3 3
5
1
3
4
True
Test
Case Input
Expected
Output
A 7 14
Test Path Decision Decision Statement
Case Taken Outcome Coverage Coverage
A 1, 2, 3, 4, 5 True 50% 100%
B 1, 2, 4, 5 False 50% 80%
True
2
Both 100% 100%
EuroS|tar webinar 30 Jan 2017
info@dorothygraham.co.uk
© Dorothy Graham 2017
www.DorothyGraham.co.uk
www.TestAutomationPatterns.org
23
ISTQB definitions
• coverage
– the degree, expressed as a percentage, to which
a specified coverage item has been exercised by
a test suite
• coverage item
– an entity or property used as a basis for test
coverage, e.g. equivalence partitions or code
statements
ISTQB Glossary v 1.3
24
What is coverage?
• coverage is a relationship
– between a set of tests
– and some countable part of the system
• 100% coverage is not 100% tested
– 100% of some countable things – among several
types of countable things
• an objective measurement of some aspect of
thoroughness
– if thoroughness is what you want!
EuroS|tar webinar 30 Jan 2017
info@dorothygraham.co.uk
© Dorothy Graham 2017
www.DorothyGraham.co.uk
www.TestAutomationPatterns.org
25
Contents
Analogy with travelling
What is coverage?
Should testing be thorough?
What coverage is not (often mistaken for)
The four caveats of coverage
The question you should ask
Twitter: @DorothyGraham
26
Thoroughness of testing
• should testing be thorough? why?
• is testing like butter or like strawberry jam?
EuroS|tar webinar 30 Jan 2017
info@dorothygraham.co.uk
© Dorothy Graham 2017
www.DorothyGraham.co.uk
www.TestAutomationPatterns.org
27
Testing is like butter?
• spread it evenly over
the bread
• same thickness
throughout
• no part not covered
• every part of the
software is tested to the
same extent
28
Testing is like strawberry jam?
• thicker in some
places than others
• big lumps
• some parts not
covered
• should some parts of
the software be
tested more than
others?
EuroS|tar webinar 30 Jan 2017
info@dorothygraham.co.uk
© Dorothy Graham 2017
www.DorothyGraham.co.uk
www.TestAutomationPatterns.org
29
Breadth or depth? the coverage illusion
major bug minor bug
Breadth / width is coverage
30
Breadth or depth? the coverage illusion
major bug minor bug
Breadth / width is coverage
Depth / lumpy testing is selective
What is better testing?
EuroS|tar webinar 30 Jan 2017
info@dorothygraham.co.uk
© Dorothy Graham 2017
www.DorothyGraham.co.uk
www.TestAutomationPatterns.org
31
Breadth or depth? the coverage illusion
major bug minor bug
Breadth / width is coverage
Depth / lumpy testing is selective
“I’ve covered /
tested everything -
haven’t missed
anything!
An illusion, a trap
What is better testing?
32
What’s the goal for testing?
• Width
– every part has been
tested once
– may be required by
regulatory bodies
– wide view, no area
untouched
– may miss something
• Selected depth
– not all parts of the
system are equally
important or equally risky
– focus on where testing
brings greatest value
– deep view, concentrate
on critical parts
– may miss something
EuroS|tar webinar 30 Jan 2017
info@dorothygraham.co.uk
© Dorothy Graham 2017
www.DorothyGraham.co.uk
www.TestAutomationPatterns.org
33
Contents
Analogy with travelling
What is coverage?
Should testing be thorough?
What coverage is not (often mistaken for)
The four caveats of coverage
The question you should ask
Twitter: @DorothyGraham
34
Coverage is NOT
the system
the
tests
the
tests
this is test completion!
don’t call it “coverage”!
“we’ve run all of the tests”
[that we have thought of]
EuroS|tar webinar 30 Jan 2017
info@dorothygraham.co.uk
© Dorothy Graham 2017
www.DorothyGraham.co.uk
www.TestAutomationPatterns.org
35
Contents
Analogy with travelling
What is coverage?
Should testing be thorough?
What coverage is not (often mistaken for)
The four caveats of coverage
The question you should ask
Twitter: @DorothyGraham
36
1 A single measure is only one level of
coverage out of many
• what is the “right” level of coverage?
– e.g. city, state, country?
– statement, menu options, user stories?
– 100%? 80%? See what you have tested / missed?
system
systemsystemsystem
coverage level
EuroS|tar webinar 30 Jan 2017
info@dorothygraham.co.uk
© Dorothy Graham 2017
www.DorothyGraham.co.uk
www.TestAutomationPatterns.org
37
2 Only need one test to cover
• to cover Australia or Brazil
– only visit one city per country
• to cover a “coverage element”
(statement, decision outcome,
menu option)
– only one test per element
• might be hundreds of ways that
element is used
38
3 Not related to quality of the software
read(a)
IF a > 6 THEN
b = a * 2
ENDIF
print b
1
2
3
4
5
Statement
numbers
B 3 3
5
1
3
4
True
Test
Case Input
Expected
Output
A 7 14
Test Path Decision Decision Statement
Case Taken Outcome Coverage Coverage
A 1, 2, 3, 4, 5 True 50% 100%
B 1, 2, 4, 5 False 50% 80%
True
2
what gets
printed?
EuroS|tar webinar 30 Jan 2017
info@dorothygraham.co.uk
© Dorothy Graham 2017
www.DorothyGraham.co.uk
www.TestAutomationPatterns.org
39
3 Not related to quality of the software
• we still have decision coverage, even though
the test fails (a bug)
• statement coverage only wouldn’t find the bug
• client story
– poor quality software from 3rd party
– required decision coverage (80%?)
– 3rd party got a tool, demonstrated coverage
– the software was still rubbish
• tests didn’t pass, lots of bugs
• but the tests exercised the required decisions
40
4 Coverage of what exists, not what
should exist
the system
as built
the system
as needed
coverage (White
Box)
not tested,
even with
100%
coverage
EuroS|tar webinar 30 Jan 2017
info@dorothygraham.co.uk
© Dorothy Graham 2017
www.DorothyGraham.co.uk
www.TestAutomationPatterns.org
41
4 Coverage of what exists, not what
should exist
• map didn’t show some cities I have visited
– are they important?
• coverage does not show missing functions or
features
– are they important?
• what about requirements coverage?
– good idea, but still only test the requirements you
listed
42
Coverage traps
• the four coverage caveats
– only one level / aspect of thoroughness
– only needs one test to “tick the box”
– not related to how good the tests or software are
– only what is there, not what’s missing
• 100% coverage is NOT 100% tested!
• “coverage” feels comfy, re-assuring
– insurance – you’re covered
– you think you haven’t missed anything
EuroS|tar webinar 30 Jan 2017
info@dorothygraham.co.uk
© Dorothy Graham 2017
www.DorothyGraham.co.uk
www.TestAutomationPatterns.org
43
Contents
Analogy with travelling
What is coverage?
Should testing be thorough?
What coverage is not (often mistaken for)
The four caveats of coverage
The question you should ask
Twitter: @DorothyGraham
44
“We need to
increase our coverage”
“Make sure you cover 100%!”
“What coverage
are we getting?”
“If we automate,
we will get better coverage”
Have you heard:
“We need as much
coverage as possible”
EuroS|tar webinar 30 Jan 2017
info@dorothygraham.co.uk
© Dorothy Graham 2017
www.DorothyGraham.co.uk
www.TestAutomationPatterns.org
45
Next time you hear:
• “we need coverage”, ask: “of what”?
– exactly what countable things need to be
covered by tests?
– why is it important to test them [all]?
– how “deeply” should we cover things?
• would testing be more effective if lumpy, not smooth?
• what can we safely not test (this time)?
– we always miss something
• better to miss it on purpose than fool yourself into
thinking you haven’t missed anything
46
Summary
• coverage is a relationship
– between tests and what-is-tested
• coverage is not:
– test completion (my tests tested what they tested)
– 100% tested – only in one dimension
• beware the coverage traps
• when you hear “coverage”
– ask “of what”
www.DorothyGraham.co.uk email:info@DorothyGraham.co.uk
www.TestAutomationPatterns.org

Mais conteúdo relacionado

Destaque

GRM 2013: Marker-assisted breeding for improving phosphorus-use efficiency an...
GRM 2013: Marker-assisted breeding for improving phosphorus-use efficiency an...GRM 2013: Marker-assisted breeding for improving phosphorus-use efficiency an...
GRM 2013: Marker-assisted breeding for improving phosphorus-use efficiency an...CGIAR Generation Challenge Programme
 
GRM2013: Establishing a molecular breeding program based on the aluminum tole...
GRM2013: Establishing a molecular breeding program based on the aluminum tole...GRM2013: Establishing a molecular breeding program based on the aluminum tole...
GRM2013: Establishing a molecular breeding program based on the aluminum tole...CGIAR Generation Challenge Programme
 
GRM 2011: Development and evaluation of drought-adapted sorghum germplasm for...
GRM 2011: Development and evaluation of drought-adapted sorghum germplasm for...GRM 2011: Development and evaluation of drought-adapted sorghum germplasm for...
GRM 2011: Development and evaluation of drought-adapted sorghum germplasm for...CGIAR Generation Challenge Programme
 
GRM 2011: KEYNOTE ADDRESS-2: Integrated Breeding -- Impact and challenges for...
GRM 2011: KEYNOTE ADDRESS-2: Integrated Breeding -- Impact and challenges for...GRM 2011: KEYNOTE ADDRESS-2: Integrated Breeding -- Impact and challenges for...
GRM 2011: KEYNOTE ADDRESS-2: Integrated Breeding -- Impact and challenges for...CGIAR Generation Challenge Programme
 
GRM 2013: Improving phosphorus efficiency in sorghum by the identification an...
GRM 2013: Improving phosphorus efficiency in sorghum by the identification an...GRM 2013: Improving phosphorus efficiency in sorghum by the identification an...
GRM 2013: Improving phosphorus efficiency in sorghum by the identification an...CGIAR Generation Challenge Programme
 
GRM 2013: Developing drought-adapted sorghum germplasm for Africa and Austral...
GRM 2013: Developing drought-adapted sorghum germplasm for Africa and Austral...GRM 2013: Developing drought-adapted sorghum germplasm for Africa and Austral...
GRM 2013: Developing drought-adapted sorghum germplasm for Africa and Austral...CGIAR Generation Challenge Programme
 
Oral sources. Queering the archive | Bart De Nil, 23 maart 2017
Oral sources. Queering the archive | Bart De Nil, 23 maart 2017Oral sources. Queering the archive | Bart De Nil, 23 maart 2017
Oral sources. Queering the archive | Bart De Nil, 23 maart 2017FARO
 
Ir deck 2 q 16 final 8.8.16
Ir deck 2 q 16 final 8.8.16Ir deck 2 q 16 final 8.8.16
Ir deck 2 q 16 final 8.8.16IR_HubSpot
 
Social media and disruption
Social media and disruptionSocial media and disruption
Social media and disruptionDorje McKinnon
 
How to Make Splurges Sensible
How to Make Splurges SensibleHow to Make Splurges Sensible
How to Make Splurges SensibleFood Insight
 
Taking Social To the Next Level: Find & Build A Community That Cares
Taking Social To the Next Level: Find & Build A Community That CaresTaking Social To the Next Level: Find & Build A Community That Cares
Taking Social To the Next Level: Find & Build A Community That CaresJennifer Lopez
 
A peek inside the Jury @ Cannes Lions Festival of Creativity
A peek inside the Jury @ Cannes Lions Festival of CreativityA peek inside the Jury @ Cannes Lions Festival of Creativity
A peek inside the Jury @ Cannes Lions Festival of CreativityBen Shipley
 
Kuifje verliest voor het eerst geld
Kuifje verliest voor het eerst geldKuifje verliest voor het eerst geld
Kuifje verliest voor het eerst geldThierry Debels
 
Ir deck 5 10-16 final q4
Ir deck 5 10-16 final q4Ir deck 5 10-16 final q4
Ir deck 5 10-16 final q4IR_HubSpot
 

Destaque (17)

GRM 2013: Marker-assisted breeding for improving phosphorus-use efficiency an...
GRM 2013: Marker-assisted breeding for improving phosphorus-use efficiency an...GRM 2013: Marker-assisted breeding for improving phosphorus-use efficiency an...
GRM 2013: Marker-assisted breeding for improving phosphorus-use efficiency an...
 
GRM2013: Establishing a molecular breeding program based on the aluminum tole...
GRM2013: Establishing a molecular breeding program based on the aluminum tole...GRM2013: Establishing a molecular breeding program based on the aluminum tole...
GRM2013: Establishing a molecular breeding program based on the aluminum tole...
 
GRM 2011: Development and evaluation of drought-adapted sorghum germplasm for...
GRM 2011: Development and evaluation of drought-adapted sorghum germplasm for...GRM 2011: Development and evaluation of drought-adapted sorghum germplasm for...
GRM 2011: Development and evaluation of drought-adapted sorghum germplasm for...
 
GRM 2011: KEYNOTE ADDRESS-2: Integrated Breeding -- Impact and challenges for...
GRM 2011: KEYNOTE ADDRESS-2: Integrated Breeding -- Impact and challenges for...GRM 2011: KEYNOTE ADDRESS-2: Integrated Breeding -- Impact and challenges for...
GRM 2011: KEYNOTE ADDRESS-2: Integrated Breeding -- Impact and challenges for...
 
GRM 2013: Improving phosphorus efficiency in sorghum by the identification an...
GRM 2013: Improving phosphorus efficiency in sorghum by the identification an...GRM 2013: Improving phosphorus efficiency in sorghum by the identification an...
GRM 2013: Improving phosphorus efficiency in sorghum by the identification an...
 
TLI 2012: Data management for chickpea breeding - Kenya
TLI 2012: Data management for chickpea breeding - KenyaTLI 2012: Data management for chickpea breeding - Kenya
TLI 2012: Data management for chickpea breeding - Kenya
 
GRM 2013: Developing drought-adapted sorghum germplasm for Africa and Austral...
GRM 2013: Developing drought-adapted sorghum germplasm for Africa and Austral...GRM 2013: Developing drought-adapted sorghum germplasm for Africa and Austral...
GRM 2013: Developing drought-adapted sorghum germplasm for Africa and Austral...
 
Oral sources. Queering the archive | Bart De Nil, 23 maart 2017
Oral sources. Queering the archive | Bart De Nil, 23 maart 2017Oral sources. Queering the archive | Bart De Nil, 23 maart 2017
Oral sources. Queering the archive | Bart De Nil, 23 maart 2017
 
Ir deck 2 q 16 final 8.8.16
Ir deck 2 q 16 final 8.8.16Ir deck 2 q 16 final 8.8.16
Ir deck 2 q 16 final 8.8.16
 
Social media and disruption
Social media and disruptionSocial media and disruption
Social media and disruption
 
How to Make Splurges Sensible
How to Make Splurges SensibleHow to Make Splurges Sensible
How to Make Splurges Sensible
 
二十四章经
二十四章经二十四章经
二十四章经
 
Sistemas joha
Sistemas johaSistemas joha
Sistemas joha
 
Taking Social To the Next Level: Find & Build A Community That Cares
Taking Social To the Next Level: Find & Build A Community That CaresTaking Social To the Next Level: Find & Build A Community That Cares
Taking Social To the Next Level: Find & Build A Community That Cares
 
A peek inside the Jury @ Cannes Lions Festival of Creativity
A peek inside the Jury @ Cannes Lions Festival of CreativityA peek inside the Jury @ Cannes Lions Festival of Creativity
A peek inside the Jury @ Cannes Lions Festival of Creativity
 
Kuifje verliest voor het eerst geld
Kuifje verliest voor het eerst geldKuifje verliest voor het eerst geld
Kuifje verliest voor het eerst geld
 
Ir deck 5 10-16 final q4
Ir deck 5 10-16 final q4Ir deck 5 10-16 final q4
Ir deck 5 10-16 final q4
 

Semelhante a EuroStar webinar explores testing coverage metrics

Are Your Tests Well-Traveled? Thoughts on Test Coverage
Are Your Tests Well-Traveled? Thoughts on Test CoverageAre Your Tests Well-Traveled? Thoughts on Test Coverage
Are Your Tests Well-Traveled? Thoughts on Test CoverageTechWell
 
A/B Testing: Common Pitfalls and How to Avoid Them
A/B Testing: Common Pitfalls and How to Avoid ThemA/B Testing: Common Pitfalls and How to Avoid Them
A/B Testing: Common Pitfalls and How to Avoid ThemIgor Karpov
 
Machine Learning for Designers - UX Camp Switzerland
Machine Learning for Designers - UX Camp SwitzerlandMachine Learning for Designers - UX Camp Switzerland
Machine Learning for Designers - UX Camp SwitzerlandMemi Beltrame
 
Webinar: How to Increase Test Coverage Over Time with Automation
Webinar: How to Increase Test Coverage Over Time with AutomationWebinar: How to Increase Test Coverage Over Time with Automation
Webinar: How to Increase Test Coverage Over Time with AutomationFederico Toledo
 
Webinar - Using six sigma tools to analyze ehs performance metrics
Webinar - Using six sigma tools to analyze ehs performance metricsWebinar - Using six sigma tools to analyze ehs performance metrics
Webinar - Using six sigma tools to analyze ehs performance metricsProcessMAP Corporation
 
Blunders in Test Automation
Blunders in Test AutomationBlunders in Test Automation
Blunders in Test AutomationTechWell
 
Intern Poster Presentation
Intern Poster PresentationIntern Poster Presentation
Intern Poster PresentationDaniel Lee
 
Dowhy: An end-to-end library for causal inference
Dowhy: An end-to-end library for causal inferenceDowhy: An end-to-end library for causal inference
Dowhy: An end-to-end library for causal inferenceAmit Sharma
 
Machine Learning for Designers
Machine Learning for DesignersMachine Learning for Designers
Machine Learning for DesignersMemi Beltrame
 
Analytics for large-scale time series and event data
Analytics for large-scale time series and event dataAnalytics for large-scale time series and event data
Analytics for large-scale time series and event dataAnodot
 
Towards Responsible AI - KC.pptx
Towards Responsible AI - KC.pptxTowards Responsible AI - KC.pptx
Towards Responsible AI - KC.pptxLuis775803
 
Towards Responsible AI - NY.pptx
Towards Responsible AI - NY.pptxTowards Responsible AI - NY.pptx
Towards Responsible AI - NY.pptxLuis775803
 
Causal reasoning and Learning Systems
Causal reasoning and Learning SystemsCausal reasoning and Learning Systems
Causal reasoning and Learning SystemsTrieu Nguyen
 
Machine Learning for Designers - UX Scotland
Machine Learning for Designers - UX ScotlandMachine Learning for Designers - UX Scotland
Machine Learning for Designers - UX ScotlandMemi Beltrame
 
Intelligent Mistakes in Test Automation
Intelligent Mistakes in Test AutomationIntelligent Mistakes in Test Automation
Intelligent Mistakes in Test AutomationTechWell
 
Blunders in Test Automation
Blunders in Test AutomationBlunders in Test Automation
Blunders in Test AutomationTechWell
 
Data Con LA 2022 - AI Ethics
Data Con LA 2022 - AI EthicsData Con LA 2022 - AI Ethics
Data Con LA 2022 - AI EthicsData Con LA
 
Julie Gardiner - Branch out using Classification Trees for Test Case Design -...
Julie Gardiner - Branch out using Classification Trees for Test Case Design -...Julie Gardiner - Branch out using Classification Trees for Test Case Design -...
Julie Gardiner - Branch out using Classification Trees for Test Case Design -...TEST Huddle
 
V 191022.ff-jtbd-meetup quantifying
V 191022.ff-jtbd-meetup quantifyingV 191022.ff-jtbd-meetup quantifying
V 191022.ff-jtbd-meetup quantifyingVendbridge AG
 
Statistics for UX Professionals - Jessica Cameron
Statistics for UX Professionals - Jessica CameronStatistics for UX Professionals - Jessica Cameron
Statistics for UX Professionals - Jessica CameronUser Vision
 

Semelhante a EuroStar webinar explores testing coverage metrics (20)

Are Your Tests Well-Traveled? Thoughts on Test Coverage
Are Your Tests Well-Traveled? Thoughts on Test CoverageAre Your Tests Well-Traveled? Thoughts on Test Coverage
Are Your Tests Well-Traveled? Thoughts on Test Coverage
 
A/B Testing: Common Pitfalls and How to Avoid Them
A/B Testing: Common Pitfalls and How to Avoid ThemA/B Testing: Common Pitfalls and How to Avoid Them
A/B Testing: Common Pitfalls and How to Avoid Them
 
Machine Learning for Designers - UX Camp Switzerland
Machine Learning for Designers - UX Camp SwitzerlandMachine Learning for Designers - UX Camp Switzerland
Machine Learning for Designers - UX Camp Switzerland
 
Webinar: How to Increase Test Coverage Over Time with Automation
Webinar: How to Increase Test Coverage Over Time with AutomationWebinar: How to Increase Test Coverage Over Time with Automation
Webinar: How to Increase Test Coverage Over Time with Automation
 
Webinar - Using six sigma tools to analyze ehs performance metrics
Webinar - Using six sigma tools to analyze ehs performance metricsWebinar - Using six sigma tools to analyze ehs performance metrics
Webinar - Using six sigma tools to analyze ehs performance metrics
 
Blunders in Test Automation
Blunders in Test AutomationBlunders in Test Automation
Blunders in Test Automation
 
Intern Poster Presentation
Intern Poster PresentationIntern Poster Presentation
Intern Poster Presentation
 
Dowhy: An end-to-end library for causal inference
Dowhy: An end-to-end library for causal inferenceDowhy: An end-to-end library for causal inference
Dowhy: An end-to-end library for causal inference
 
Machine Learning for Designers
Machine Learning for DesignersMachine Learning for Designers
Machine Learning for Designers
 
Analytics for large-scale time series and event data
Analytics for large-scale time series and event dataAnalytics for large-scale time series and event data
Analytics for large-scale time series and event data
 
Towards Responsible AI - KC.pptx
Towards Responsible AI - KC.pptxTowards Responsible AI - KC.pptx
Towards Responsible AI - KC.pptx
 
Towards Responsible AI - NY.pptx
Towards Responsible AI - NY.pptxTowards Responsible AI - NY.pptx
Towards Responsible AI - NY.pptx
 
Causal reasoning and Learning Systems
Causal reasoning and Learning SystemsCausal reasoning and Learning Systems
Causal reasoning and Learning Systems
 
Machine Learning for Designers - UX Scotland
Machine Learning for Designers - UX ScotlandMachine Learning for Designers - UX Scotland
Machine Learning for Designers - UX Scotland
 
Intelligent Mistakes in Test Automation
Intelligent Mistakes in Test AutomationIntelligent Mistakes in Test Automation
Intelligent Mistakes in Test Automation
 
Blunders in Test Automation
Blunders in Test AutomationBlunders in Test Automation
Blunders in Test Automation
 
Data Con LA 2022 - AI Ethics
Data Con LA 2022 - AI EthicsData Con LA 2022 - AI Ethics
Data Con LA 2022 - AI Ethics
 
Julie Gardiner - Branch out using Classification Trees for Test Case Design -...
Julie Gardiner - Branch out using Classification Trees for Test Case Design -...Julie Gardiner - Branch out using Classification Trees for Test Case Design -...
Julie Gardiner - Branch out using Classification Trees for Test Case Design -...
 
V 191022.ff-jtbd-meetup quantifying
V 191022.ff-jtbd-meetup quantifyingV 191022.ff-jtbd-meetup quantifying
V 191022.ff-jtbd-meetup quantifying
 
Statistics for UX Professionals - Jessica Cameron
Statistics for UX Professionals - Jessica CameronStatistics for UX Professionals - Jessica Cameron
Statistics for UX Professionals - Jessica Cameron
 

Mais de TEST Huddle

Why We Need Diversity in Testing- Accenture
Why We Need Diversity in Testing- AccentureWhy We Need Diversity in Testing- Accenture
Why We Need Diversity in Testing- AccentureTEST Huddle
 
Keys to continuous testing for faster delivery euro star webinar
Keys to continuous testing for faster delivery euro star webinar Keys to continuous testing for faster delivery euro star webinar
Keys to continuous testing for faster delivery euro star webinar TEST Huddle
 
Why you Shouldnt Automated But You Will Anyway
Why you Shouldnt Automated But You Will Anyway Why you Shouldnt Automated But You Will Anyway
Why you Shouldnt Automated But You Will Anyway TEST Huddle
 
Being a Tester in Scrum
Being a Tester in ScrumBeing a Tester in Scrum
Being a Tester in ScrumTEST Huddle
 
Leveraging Visual Testing with Your Functional Tests
Leveraging Visual Testing with Your Functional TestsLeveraging Visual Testing with Your Functional Tests
Leveraging Visual Testing with Your Functional TestsTEST Huddle
 
Using Test Trees to get an Overview of Test Work
Using Test Trees to get an Overview of Test WorkUsing Test Trees to get an Overview of Test Work
Using Test Trees to get an Overview of Test WorkTEST Huddle
 
Big Data: The Magic to Attain New Heights
Big Data:  The Magic to Attain New HeightsBig Data:  The Magic to Attain New Heights
Big Data: The Magic to Attain New HeightsTEST Huddle
 
Will Robots Replace Testers?
Will Robots Replace Testers?Will Robots Replace Testers?
Will Robots Replace Testers?TEST Huddle
 
TDD For The Rest Of Us
TDD For The Rest Of UsTDD For The Rest Of Us
TDD For The Rest Of UsTEST Huddle
 
Scaling Agile with LeSS (Large Scale Scrum)
Scaling Agile with LeSS (Large Scale Scrum)Scaling Agile with LeSS (Large Scale Scrum)
Scaling Agile with LeSS (Large Scale Scrum)TEST Huddle
 
Creating Agile Test Strategies for Larger Enterprises
Creating Agile Test Strategies for Larger EnterprisesCreating Agile Test Strategies for Larger Enterprises
Creating Agile Test Strategies for Larger EnterprisesTEST Huddle
 
Growing a Company Test Community: Roles and Paths for Testers
Growing a Company Test Community: Roles and Paths for TestersGrowing a Company Test Community: Roles and Paths for Testers
Growing a Company Test Community: Roles and Paths for TestersTEST Huddle
 
Do we need testers on agile teams?
Do we need testers on agile teams?Do we need testers on agile teams?
Do we need testers on agile teams?TEST Huddle
 
How to use selenium successfully
How to use selenium successfullyHow to use selenium successfully
How to use selenium successfullyTEST Huddle
 
Testers & Teams on the Agile Fluency™ Journey
Testers & Teams on the Agile Fluency™ Journey Testers & Teams on the Agile Fluency™ Journey
Testers & Teams on the Agile Fluency™ Journey TEST Huddle
 
Practical Test Strategy Using Heuristics
Practical Test Strategy Using HeuristicsPractical Test Strategy Using Heuristics
Practical Test Strategy Using HeuristicsTEST Huddle
 
Thinking Through Your Role
Thinking Through Your RoleThinking Through Your Role
Thinking Through Your RoleTEST Huddle
 
Using Selenium 3 0
Using Selenium 3 0Using Selenium 3 0
Using Selenium 3 0TEST Huddle
 
New Model Testing: A New Test Process and Tool
New Model Testing:  A New Test Process and ToolNew Model Testing:  A New Test Process and Tool
New Model Testing: A New Test Process and ToolTEST Huddle
 
Five Digital Age Trends That Will Dramatically Impact Testing And Quality Sk...
 Five Digital Age Trends That Will Dramatically Impact Testing And Quality Sk... Five Digital Age Trends That Will Dramatically Impact Testing And Quality Sk...
Five Digital Age Trends That Will Dramatically Impact Testing And Quality Sk...TEST Huddle
 

Mais de TEST Huddle (20)

Why We Need Diversity in Testing- Accenture
Why We Need Diversity in Testing- AccentureWhy We Need Diversity in Testing- Accenture
Why We Need Diversity in Testing- Accenture
 
Keys to continuous testing for faster delivery euro star webinar
Keys to continuous testing for faster delivery euro star webinar Keys to continuous testing for faster delivery euro star webinar
Keys to continuous testing for faster delivery euro star webinar
 
Why you Shouldnt Automated But You Will Anyway
Why you Shouldnt Automated But You Will Anyway Why you Shouldnt Automated But You Will Anyway
Why you Shouldnt Automated But You Will Anyway
 
Being a Tester in Scrum
Being a Tester in ScrumBeing a Tester in Scrum
Being a Tester in Scrum
 
Leveraging Visual Testing with Your Functional Tests
Leveraging Visual Testing with Your Functional TestsLeveraging Visual Testing with Your Functional Tests
Leveraging Visual Testing with Your Functional Tests
 
Using Test Trees to get an Overview of Test Work
Using Test Trees to get an Overview of Test WorkUsing Test Trees to get an Overview of Test Work
Using Test Trees to get an Overview of Test Work
 
Big Data: The Magic to Attain New Heights
Big Data:  The Magic to Attain New HeightsBig Data:  The Magic to Attain New Heights
Big Data: The Magic to Attain New Heights
 
Will Robots Replace Testers?
Will Robots Replace Testers?Will Robots Replace Testers?
Will Robots Replace Testers?
 
TDD For The Rest Of Us
TDD For The Rest Of UsTDD For The Rest Of Us
TDD For The Rest Of Us
 
Scaling Agile with LeSS (Large Scale Scrum)
Scaling Agile with LeSS (Large Scale Scrum)Scaling Agile with LeSS (Large Scale Scrum)
Scaling Agile with LeSS (Large Scale Scrum)
 
Creating Agile Test Strategies for Larger Enterprises
Creating Agile Test Strategies for Larger EnterprisesCreating Agile Test Strategies for Larger Enterprises
Creating Agile Test Strategies for Larger Enterprises
 
Growing a Company Test Community: Roles and Paths for Testers
Growing a Company Test Community: Roles and Paths for TestersGrowing a Company Test Community: Roles and Paths for Testers
Growing a Company Test Community: Roles and Paths for Testers
 
Do we need testers on agile teams?
Do we need testers on agile teams?Do we need testers on agile teams?
Do we need testers on agile teams?
 
How to use selenium successfully
How to use selenium successfullyHow to use selenium successfully
How to use selenium successfully
 
Testers & Teams on the Agile Fluency™ Journey
Testers & Teams on the Agile Fluency™ Journey Testers & Teams on the Agile Fluency™ Journey
Testers & Teams on the Agile Fluency™ Journey
 
Practical Test Strategy Using Heuristics
Practical Test Strategy Using HeuristicsPractical Test Strategy Using Heuristics
Practical Test Strategy Using Heuristics
 
Thinking Through Your Role
Thinking Through Your RoleThinking Through Your Role
Thinking Through Your Role
 
Using Selenium 3 0
Using Selenium 3 0Using Selenium 3 0
Using Selenium 3 0
 
New Model Testing: A New Test Process and Tool
New Model Testing:  A New Test Process and ToolNew Model Testing:  A New Test Process and Tool
New Model Testing: A New Test Process and Tool
 
Five Digital Age Trends That Will Dramatically Impact Testing And Quality Sk...
 Five Digital Age Trends That Will Dramatically Impact Testing And Quality Sk... Five Digital Age Trends That Will Dramatically Impact Testing And Quality Sk...
Five Digital Age Trends That Will Dramatically Impact Testing And Quality Sk...
 

Último

Salesforce Certified Field Service Consultant
Salesforce Certified Field Service ConsultantSalesforce Certified Field Service Consultant
Salesforce Certified Field Service ConsultantAxelRicardoTrocheRiq
 
Right Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsRight Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsJhone kinadey
 
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 WorkerThousandEyes
 
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...MyIntelliSource, Inc.
 
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...panagenda
 
Professional Resume Template for Software Developers
Professional Resume Template for Software DevelopersProfessional Resume Template for Software Developers
Professional Resume Template for Software DevelopersVinodh Ram
 
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...ICS
 
Diamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with PrecisionDiamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with PrecisionSolGuruz
 
5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdfWave PLM
 
Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...OnePlan Solutions
 
HR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comHR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comFatema Valibhai
 
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...MyIntelliSource, Inc.
 
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...kellynguyen01
 
How To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.jsHow To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.jsAndolasoft Inc
 
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsUnveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsAlberto González Trastoy
 
Clustering techniques data mining book ....
Clustering techniques data mining book ....Clustering techniques data mining book ....
Clustering techniques data mining book ....ShaimaaMohamedGalal
 
Active Directory Penetration Testing, cionsystems.com.pdf
Active Directory Penetration Testing, cionsystems.com.pdfActive Directory Penetration Testing, cionsystems.com.pdf
Active Directory Penetration Testing, cionsystems.com.pdfCionsystems
 
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.pdfkalichargn70th171
 

Último (20)

Salesforce Certified Field Service Consultant
Salesforce Certified Field Service ConsultantSalesforce Certified Field Service Consultant
Salesforce Certified Field Service Consultant
 
Right Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsRight Money Management App For Your Financial Goals
Right Money Management App For Your Financial Goals
 
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
 
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
 
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
 
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...
 
Professional Resume Template for Software Developers
Professional Resume Template for Software DevelopersProfessional Resume Template for Software Developers
Professional Resume Template for Software Developers
 
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...
 
Diamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with PrecisionDiamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with Precision
 
5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf
 
Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...
 
HR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comHR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.com
 
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
 
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
 
How To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.jsHow To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.js
 
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsUnveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
 
Clustering techniques data mining book ....
Clustering techniques data mining book ....Clustering techniques data mining book ....
Clustering techniques data mining book ....
 
Active Directory Penetration Testing, cionsystems.com.pdf
Active Directory Penetration Testing, cionsystems.com.pdfActive Directory Penetration Testing, cionsystems.com.pdf
Active Directory Penetration Testing, cionsystems.com.pdf
 
Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS LiveVip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
 
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
 

EuroStar webinar explores testing coverage metrics

  • 1. EuroS|tar webinar 30 Jan 2017 info@dorothygraham.co.uk © Dorothy Graham 2017 www.DorothyGraham.co.uk www.TestAutomationPatterns.org 1 Are your tests well- travelled? Thoughts about coverage Prepared and presented by Dorothy Graham email: info@dorothygraham.co.uk www.DorothyGraham.co.uk EuroStar Webinar © Dorothy Graham 2017 2 Contents Analogy with travelling What is coverage? Should testing be thorough? What coverage is not (often mistaken for) The four caveats of coverage The question you should ask Twitter: @DorothyGraham
  • 2. EuroS|tar webinar 30 Jan 2017 info@dorothygraham.co.uk © Dorothy Graham 2017 www.DorothyGraham.co.uk www.TestAutomationPatterns.org 3 Where on earth have you been? • have you seen a lot of the world? – are you “well-travelled”? • what does it mean if you say “yes”? – what does it mean if you say “85%”? – or “100%”? 4 Scratch map 1 (unscratched) scratch off places I have been – cities?
  • 3. EuroS|tar webinar 30 Jan 2017 info@dorothygraham.co.uk © Dorothy Graham 2017 www.DorothyGraham.co.uk www.TestAutomationPatterns.org 5 can you spot the 74 cities I’ve visited? 6 hint: look on the East side of the country
  • 4. EuroS|tar webinar 30 Jan 2017 info@dorothygraham.co.uk © Dorothy Graham 2017 www.DorothyGraham.co.uk www.TestAutomationPatterns.org 7 Where is Grand Rapids? 8 Cities aren’t that impressive on the map – how about States?
  • 5. EuroS|tar webinar 30 Jan 2017 info@dorothygraham.co.uk © Dorothy Graham 2017 www.DorothyGraham.co.uk www.TestAutomationPatterns.org 9 Only 4 US States I haven’t been to. plus Hawaii 10 country coverage
  • 6. EuroS|tar webinar 30 Jan 2017 info@dorothygraham.co.uk © Dorothy Graham 2017 www.DorothyGraham.co.uk www.TestAutomationPatterns.org 11 Some travel metrics • Have you been to – every street in the place where you live? – every city/town? – every state/province? – every country in the world? – every continent? • where haven’t you been? 12 Contents Analogy with travelling What is coverage? Should testing be thorough? What coverage is not (often mistaken for) The four caveats of coverage The question you should ask Twitter: @DorothyGraham
  • 7. EuroS|tar webinar 30 Jan 2017 info@dorothygraham.co.uk © Dorothy Graham 2017 www.DorothyGraham.co.uk www.TestAutomationPatterns.org 13 Travelling • have you seen a lot of the world? – are you “well-travelled”? • what does it mean if you say “yes”? – what does it mean if you say “85%”? – or “100%”? Test coverage your tests seen a lot of the system? - do you have “good coverage”? they 14 Some travel metrics • Have you been to – every street in the place where you live? – every city/town? – every state/ province? – every country in the world? – every continent? • where haven’t you been? • Have your tests been to – every statement / decision / branch? – every data combination? – every error message? – every menu option? – every program / function? – every user story option? • where haven’t your tests been? coverage
  • 8. EuroS|tar webinar 30 Jan 2017 info@dorothygraham.co.uk © Dorothy Graham 2017 www.DorothyGraham.co.uk www.TestAutomationPatterns.org 15 What is coverage? system the tests 16 What is coverage? system the tests this part of the system has been covered by these tests the rest has not been covered by these tests
  • 9. EuroS|tar webinar 30 Jan 2017 info@dorothygraham.co.uk © Dorothy Graham 2017 www.DorothyGraham.co.uk www.TestAutomationPatterns.org 17 What is coverage? system more tests these tests give more coverage than the previous set of tests 18 Tests giving 100% coverage system even more tests Great - we’ve tested all of the system! - or have we?
  • 10. EuroS|tar webinar 30 Jan 2017 info@dorothygraham.co.uk © Dorothy Graham 2017 www.DorothyGraham.co.uk www.TestAutomationPatterns.org 19 Tested everything? system systemsystemsystem system even more tests 100%? – of what? modules, statements, branches, states, data, menu options, functions business rules, user stories 20 Statement vs decision coverage read(a) IF a > 6 THEN b = a * 2 ENDIF print b 1 2 3 4 5 Statement numbers 5 1 3 4 True Test Case Input Expected Output A 7 14 Test Path Decision Decision Statement Case Taken Outcome Coverage Coverage A 1, 2, 3, 4, 5 True 50% 100% True 2 Great – 100% tested, right?
  • 11. EuroS|tar webinar 30 Jan 2017 info@dorothygraham.co.uk © Dorothy Graham 2017 www.DorothyGraham.co.uk www.TestAutomationPatterns.org 21 Statement vs decision coverage read(a) IF a > 6 THEN b = a * 2 ENDIF print b 1 2 3 4 5 Statement numbers 5 1 3 4 True Test Case Input Expected Output A 7 14 Test Path Decision Decision Statement Case Taken Outcome Coverage Coverage A 1, 2, 3, 4, 5 True 50% 100% True 2 22 Statement vs decision coverage read(a) IF a > 6 THEN b = a * 2 ENDIF print b 1 2 3 4 5 Statement numbers B 3 3 5 1 3 4 True Test Case Input Expected Output A 7 14 Test Path Decision Decision Statement Case Taken Outcome Coverage Coverage A 1, 2, 3, 4, 5 True 50% 100% B 1, 2, 4, 5 False 50% 80% True 2 Both 100% 100%
  • 12. EuroS|tar webinar 30 Jan 2017 info@dorothygraham.co.uk © Dorothy Graham 2017 www.DorothyGraham.co.uk www.TestAutomationPatterns.org 23 ISTQB definitions • coverage – the degree, expressed as a percentage, to which a specified coverage item has been exercised by a test suite • coverage item – an entity or property used as a basis for test coverage, e.g. equivalence partitions or code statements ISTQB Glossary v 1.3 24 What is coverage? • coverage is a relationship – between a set of tests – and some countable part of the system • 100% coverage is not 100% tested – 100% of some countable things – among several types of countable things • an objective measurement of some aspect of thoroughness – if thoroughness is what you want!
  • 13. EuroS|tar webinar 30 Jan 2017 info@dorothygraham.co.uk © Dorothy Graham 2017 www.DorothyGraham.co.uk www.TestAutomationPatterns.org 25 Contents Analogy with travelling What is coverage? Should testing be thorough? What coverage is not (often mistaken for) The four caveats of coverage The question you should ask Twitter: @DorothyGraham 26 Thoroughness of testing • should testing be thorough? why? • is testing like butter or like strawberry jam?
  • 14. EuroS|tar webinar 30 Jan 2017 info@dorothygraham.co.uk © Dorothy Graham 2017 www.DorothyGraham.co.uk www.TestAutomationPatterns.org 27 Testing is like butter? • spread it evenly over the bread • same thickness throughout • no part not covered • every part of the software is tested to the same extent 28 Testing is like strawberry jam? • thicker in some places than others • big lumps • some parts not covered • should some parts of the software be tested more than others?
  • 15. EuroS|tar webinar 30 Jan 2017 info@dorothygraham.co.uk © Dorothy Graham 2017 www.DorothyGraham.co.uk www.TestAutomationPatterns.org 29 Breadth or depth? the coverage illusion major bug minor bug Breadth / width is coverage 30 Breadth or depth? the coverage illusion major bug minor bug Breadth / width is coverage Depth / lumpy testing is selective What is better testing?
  • 16. EuroS|tar webinar 30 Jan 2017 info@dorothygraham.co.uk © Dorothy Graham 2017 www.DorothyGraham.co.uk www.TestAutomationPatterns.org 31 Breadth or depth? the coverage illusion major bug minor bug Breadth / width is coverage Depth / lumpy testing is selective “I’ve covered / tested everything - haven’t missed anything! An illusion, a trap What is better testing? 32 What’s the goal for testing? • Width – every part has been tested once – may be required by regulatory bodies – wide view, no area untouched – may miss something • Selected depth – not all parts of the system are equally important or equally risky – focus on where testing brings greatest value – deep view, concentrate on critical parts – may miss something
  • 17. EuroS|tar webinar 30 Jan 2017 info@dorothygraham.co.uk © Dorothy Graham 2017 www.DorothyGraham.co.uk www.TestAutomationPatterns.org 33 Contents Analogy with travelling What is coverage? Should testing be thorough? What coverage is not (often mistaken for) The four caveats of coverage The question you should ask Twitter: @DorothyGraham 34 Coverage is NOT the system the tests the tests this is test completion! don’t call it “coverage”! “we’ve run all of the tests” [that we have thought of]
  • 18. EuroS|tar webinar 30 Jan 2017 info@dorothygraham.co.uk © Dorothy Graham 2017 www.DorothyGraham.co.uk www.TestAutomationPatterns.org 35 Contents Analogy with travelling What is coverage? Should testing be thorough? What coverage is not (often mistaken for) The four caveats of coverage The question you should ask Twitter: @DorothyGraham 36 1 A single measure is only one level of coverage out of many • what is the “right” level of coverage? – e.g. city, state, country? – statement, menu options, user stories? – 100%? 80%? See what you have tested / missed? system systemsystemsystem coverage level
  • 19. EuroS|tar webinar 30 Jan 2017 info@dorothygraham.co.uk © Dorothy Graham 2017 www.DorothyGraham.co.uk www.TestAutomationPatterns.org 37 2 Only need one test to cover • to cover Australia or Brazil – only visit one city per country • to cover a “coverage element” (statement, decision outcome, menu option) – only one test per element • might be hundreds of ways that element is used 38 3 Not related to quality of the software read(a) IF a > 6 THEN b = a * 2 ENDIF print b 1 2 3 4 5 Statement numbers B 3 3 5 1 3 4 True Test Case Input Expected Output A 7 14 Test Path Decision Decision Statement Case Taken Outcome Coverage Coverage A 1, 2, 3, 4, 5 True 50% 100% B 1, 2, 4, 5 False 50% 80% True 2 what gets printed?
  • 20. EuroS|tar webinar 30 Jan 2017 info@dorothygraham.co.uk © Dorothy Graham 2017 www.DorothyGraham.co.uk www.TestAutomationPatterns.org 39 3 Not related to quality of the software • we still have decision coverage, even though the test fails (a bug) • statement coverage only wouldn’t find the bug • client story – poor quality software from 3rd party – required decision coverage (80%?) – 3rd party got a tool, demonstrated coverage – the software was still rubbish • tests didn’t pass, lots of bugs • but the tests exercised the required decisions 40 4 Coverage of what exists, not what should exist the system as built the system as needed coverage (White Box) not tested, even with 100% coverage
  • 21. EuroS|tar webinar 30 Jan 2017 info@dorothygraham.co.uk © Dorothy Graham 2017 www.DorothyGraham.co.uk www.TestAutomationPatterns.org 41 4 Coverage of what exists, not what should exist • map didn’t show some cities I have visited – are they important? • coverage does not show missing functions or features – are they important? • what about requirements coverage? – good idea, but still only test the requirements you listed 42 Coverage traps • the four coverage caveats – only one level / aspect of thoroughness – only needs one test to “tick the box” – not related to how good the tests or software are – only what is there, not what’s missing • 100% coverage is NOT 100% tested! • “coverage” feels comfy, re-assuring – insurance – you’re covered – you think you haven’t missed anything
  • 22. EuroS|tar webinar 30 Jan 2017 info@dorothygraham.co.uk © Dorothy Graham 2017 www.DorothyGraham.co.uk www.TestAutomationPatterns.org 43 Contents Analogy with travelling What is coverage? Should testing be thorough? What coverage is not (often mistaken for) The four caveats of coverage The question you should ask Twitter: @DorothyGraham 44 “We need to increase our coverage” “Make sure you cover 100%!” “What coverage are we getting?” “If we automate, we will get better coverage” Have you heard: “We need as much coverage as possible”
  • 23. EuroS|tar webinar 30 Jan 2017 info@dorothygraham.co.uk © Dorothy Graham 2017 www.DorothyGraham.co.uk www.TestAutomationPatterns.org 45 Next time you hear: • “we need coverage”, ask: “of what”? – exactly what countable things need to be covered by tests? – why is it important to test them [all]? – how “deeply” should we cover things? • would testing be more effective if lumpy, not smooth? • what can we safely not test (this time)? – we always miss something • better to miss it on purpose than fool yourself into thinking you haven’t missed anything 46 Summary • coverage is a relationship – between tests and what-is-tested • coverage is not: – test completion (my tests tested what they tested) – 100% tested – only in one dimension • beware the coverage traps • when you hear “coverage” – ask “of what” www.DorothyGraham.co.uk email:info@DorothyGraham.co.uk www.TestAutomationPatterns.org