SlideShare a Scribd company logo
1 of 11
Combinatorial testing
Sverre Thomassen
Mats Gimming Myhre
Sverre Thomassen / Mats Gimming Myhre
2
Konsulent / Seniorkonsulent
Sogeti Norge AS
Combinatorial testing
3
Lyntale Presentasjon Rom Kaffepause
TRUE TRUE Hugin TRUE
FALSE FALSE Munin FALSE
Sleipner
Combinatorial testing - Fordelene
Økt effektivitet
Høyere kvalitet
Forbedret utviklings-
og testprosess
Redusert kostnad
4csrc.nist.gov/groups/SNS/acts/documents/kuhn-kacker-lei-hunter09.pdf
Combinatorial testing-Pairwise
Alle kombinasjoner av
2 parametre
Alle verdier til hvert paramenter
dekkes av minst en test
Meget effektivt
Relativt liten ressursbruk
Avhengig av verktøy
5
Pairwise finner 60% - 95%1
6
1 D.R. Kuhn, D.R. Wallace, and A. Gallo, “Software Fault Interactions and Implications for Software Testing,” IEEE Trans. Software Eng.,
vol. 30, no. 6, 2004, pp. 418–421.
Figur: Introducing Combinatorial Testing in a Large Organization: Experience Report, (poster); full paper in IEEE Computer, April 2015.
J. Hagar. D.R. Kuhn, R.N. Kacker, T. Wissink.
Figur 1
4-6 kombinasjoner avdekker alt!1
7
1 D.R. Kuhn, D.R. Wallace, and A. Gallo, “Software Fault Interactions and Implications for Software Testing,” IEEE Trans. Software Eng.,
vol. 30, no. 6, 2004, pp. 418–421.
Type Pairwise 100% dekning
Medisinske enheter 95 % 4 kombinasjoner
NASA database 95 % 4 kombinasjoner
Nettverksikkerhet 60 % 5 kombinasjoner
Nettlesertest 70 % 6 kombinasjoner
Server-applikasjon 75 % 6 kombinasjoner
Vurder pairwise (2-way) sammen
med andre testteknikker!
►Er pairwise godt nok?
• Vurder risiko
►Avansert løsning m/mange kombinasjoner krever flere
kombinasjoner
►Kombiner med flere testteknikker
• Tmap.net
8
1 D.R. Kuhn, D.R. Wallace, and A. Gallo, “Software Fault Interactions and Implications for Software Testing,” IEEE Trans. Software Eng.,
vol. 30, no. 6, 2004, pp. 418–421.
ACTS – 4-way eksempel
9
ACTS– 2-way (pairwise) eksempel
10
Takk for oss!
► ACTS:
• http://csrc.nist.gov/groups/SNS/acts/index.html
• Her finner du også lenker til diverse artikler av Rick Kuhn.
► Testmetoder:
• http://tmap.net/
► Referanser:
• D.R. Kuhn, D.R. Wallace, and A. Gallo, “Software Fault Interactions and
Implications for Software Testing,” IEEE Trans. Software Eng., vol. 30, no. 6,
2004, pp. 418–421.
• Figur 1: Introducing Combinatorial Testing in a Large Organization: Experience
Report, (poster); full paper in IEEE Computer, April 2015.
J. Hagar. D.R. Kuhn, R.N. Kacker, T. Wissink.
► Presentasjon:
• Twitter: @matsgmyhre
11

More Related Content

Featured

PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024Neil Kimberley
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsKurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summarySpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project managementMindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...RachelPearson36
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Applitools
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at WorkGetSmarter
 
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...DevGAMM Conference
 

Featured (20)

Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work
 
ChatGPT webinar slides
ChatGPT webinar slidesChatGPT webinar slides
ChatGPT webinar slides
 
More than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike RoutesMore than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike Routes
 
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
 

Combinatorial Testing Lyntale - Testdagen Odin 2016

  • 2. Sverre Thomassen / Mats Gimming Myhre 2 Konsulent / Seniorkonsulent Sogeti Norge AS
  • 3. Combinatorial testing 3 Lyntale Presentasjon Rom Kaffepause TRUE TRUE Hugin TRUE FALSE FALSE Munin FALSE Sleipner
  • 4. Combinatorial testing - Fordelene Økt effektivitet Høyere kvalitet Forbedret utviklings- og testprosess Redusert kostnad 4csrc.nist.gov/groups/SNS/acts/documents/kuhn-kacker-lei-hunter09.pdf
  • 5. Combinatorial testing-Pairwise Alle kombinasjoner av 2 parametre Alle verdier til hvert paramenter dekkes av minst en test Meget effektivt Relativt liten ressursbruk Avhengig av verktøy 5
  • 6. Pairwise finner 60% - 95%1 6 1 D.R. Kuhn, D.R. Wallace, and A. Gallo, “Software Fault Interactions and Implications for Software Testing,” IEEE Trans. Software Eng., vol. 30, no. 6, 2004, pp. 418–421. Figur: Introducing Combinatorial Testing in a Large Organization: Experience Report, (poster); full paper in IEEE Computer, April 2015. J. Hagar. D.R. Kuhn, R.N. Kacker, T. Wissink. Figur 1
  • 7. 4-6 kombinasjoner avdekker alt!1 7 1 D.R. Kuhn, D.R. Wallace, and A. Gallo, “Software Fault Interactions and Implications for Software Testing,” IEEE Trans. Software Eng., vol. 30, no. 6, 2004, pp. 418–421. Type Pairwise 100% dekning Medisinske enheter 95 % 4 kombinasjoner NASA database 95 % 4 kombinasjoner Nettverksikkerhet 60 % 5 kombinasjoner Nettlesertest 70 % 6 kombinasjoner Server-applikasjon 75 % 6 kombinasjoner
  • 8. Vurder pairwise (2-way) sammen med andre testteknikker! ►Er pairwise godt nok? • Vurder risiko ►Avansert løsning m/mange kombinasjoner krever flere kombinasjoner ►Kombiner med flere testteknikker • Tmap.net 8 1 D.R. Kuhn, D.R. Wallace, and A. Gallo, “Software Fault Interactions and Implications for Software Testing,” IEEE Trans. Software Eng., vol. 30, no. 6, 2004, pp. 418–421.
  • 9. ACTS – 4-way eksempel 9
  • 11. Takk for oss! ► ACTS: • http://csrc.nist.gov/groups/SNS/acts/index.html • Her finner du også lenker til diverse artikler av Rick Kuhn. ► Testmetoder: • http://tmap.net/ ► Referanser: • D.R. Kuhn, D.R. Wallace, and A. Gallo, “Software Fault Interactions and Implications for Software Testing,” IEEE Trans. Software Eng., vol. 30, no. 6, 2004, pp. 418–421. • Figur 1: Introducing Combinatorial Testing in a Large Organization: Experience Report, (poster); full paper in IEEE Computer, April 2015. J. Hagar. D.R. Kuhn, R.N. Kacker, T. Wissink. ► Presentasjon: • Twitter: @matsgmyhre 11

Editor's Notes

  1. Teste kombinasjoner av parametere og verdier. Parametere: Lyntale-Presentasjon-Rom-Kaffepause Verdiene: True-False-Romnavn HVORFOR: At feil oppstår i kombinasjoner med ulike parametre og deres verdier. Handler om å kombinere verdier for å kunne lage testcase og Teste tilstrekkelig mange av disse kombinasjonene for å oppnå god nok testdekning Hvis man skal teste alle disse kombinasjonene så får man 2x2x3x2 = 24 testcase.
  2. Økt effektivitet – mer enn dobbelt så mange feil pr. time testet Høyere kvalitet – flere feil funnet Forbedret utviklings- og testprosess – feil funnet tidligere Redusert kostnad – test og bug fixing
  3. Pairwise - Den mest brukte combinatorial testing metoden Formålet: Tester 2 og 2 verdier sammen slik at alle er dekket av minst en test Meget effektiv metode Avdekker de fleste feil med relativt liten ressursbruk. Avhengig av verktøy
  4. Rick Kuhn ved National Institute of Standards and Technology, USA, har forsket på combinatorial testing.
  5. ACTS er et gratis verktøy. Java. Eksportere test case til Excel eller XML for å bruke i andre automatiseringsverktøy.
  6. God testdekning med relativt liten ressursbruk i forhold til testdekning. Begrensninger og forutsetninger.