SlideShare uma empresa Scribd logo
1 de 9
Baixar para ler offline
Introduction to pairwise testing

Alexandr Romanov
What is pairwise testing? Google it!

Pairwise (all-pairs) testing is an effective test
case generation technique that is based on the
observation that most faults are caused by
interactions of at most two factors.
Pairwise-generated test suites cover all
combinations of two therefore are much smaller
than exhaustive ones yet still very effective in
finding defects.
Pairwise testing: give us an example

Simple

Combinations: 2x2 = 4
Pairwise testing: give us an example
Simple
Combination number

Bed linen

Tea

1

checked

checked

2

unchecked

checked

3

checked

unchecked

4

unchecked

unchecked
Pairwise testing: give us an example
Pairwise testing: give us an example
Combination
number

Seat type

Bed linen

Tea

Gypsies

Demobees

1

Berth

checked

checked

checked

checked

2

Coupe

checked

checked

checked

checked

3

Lux

checked

checked

checked

checked

4

Berth

unchecked

unchecked

unchecked

unchecked

5

Coupe

unchecked

unchecked

unchecked

unchecked

6

Lux

unchecked

unchecked

unchecked

unchecked

7

Berth

unchecked

unchecked

unchecked

checked

8

Coupe

unchecked

unchecked

unchecked

checked

...

...

...

...

...

...

Combinations (all): 3x2x2x2x2 = 48
Demo
Combination

Seattype

Bedlinen

Tea

Gypsies

Demobees

1

Berth

checked

checked

checked

checked

2

Berth

unchecked

unchecked

unchecked

unchecked

3

Coupe

checked

unchecked

checked

unchecked

4

Coupe

unchecked

checked

unchecked

checked

5

Lux

checked

checked

unchecked

unchecked

6

Lux

unchecked

unchecked

checked

checked

Combinations (pairwise technique applied) = 6
Do we need to do it manually?

Tools:
- All-pairs - free
- PICT - free
- Jenny - free
- Hexawise free/commercial
others;
Should we use pairwise everywhere?!

Always remember:
- Use pairwise testing technique when it’s
necessary;
- Explore your system under test;
- Select the right values to test with;
- Pay attention to high probable fail
combination;

Mais conteúdo relacionado

Mais procurados

Low code for test automation, state of the art
Low code for test automation, state of the artLow code for test automation, state of the art
Low code for test automation, state of the art
Federico Toledo
 
Unit Testing And Mocking
Unit Testing And MockingUnit Testing And Mocking
Unit Testing And Mocking
Joe Wilson
 

Mais procurados (20)

Low code for test automation, state of the art
Low code for test automation, state of the artLow code for test automation, state of the art
Low code for test automation, state of the art
 
Unit tests & TDD
Unit tests & TDDUnit tests & TDD
Unit tests & TDD
 
Combinatorial software test design beyond pairwise testing
Combinatorial software test design beyond pairwise testingCombinatorial software test design beyond pairwise testing
Combinatorial software test design beyond pairwise testing
 
Unit and integration Testing
Unit and integration TestingUnit and integration Testing
Unit and integration Testing
 
How To Write A Test Case In Software Testing | Edureka
How To Write A Test Case In Software Testing | EdurekaHow To Write A Test Case In Software Testing | Edureka
How To Write A Test Case In Software Testing | Edureka
 
Test and Behaviour Driven Development (TDD/BDD)
Test and Behaviour Driven Development (TDD/BDD)Test and Behaviour Driven Development (TDD/BDD)
Test and Behaviour Driven Development (TDD/BDD)
 
Implementing TDD in for .net Core applications
Implementing TDD in for .net Core applicationsImplementing TDD in for .net Core applications
Implementing TDD in for .net Core applications
 
Understanding Unit Testing
Understanding Unit TestingUnderstanding Unit Testing
Understanding Unit Testing
 
Unit testing with JUnit
Unit testing with JUnitUnit testing with JUnit
Unit testing with JUnit
 
Testing
TestingTesting
Testing
 
How Spotify Does Test Automation - Kristian Karl
How Spotify Does Test Automation - Kristian KarlHow Spotify Does Test Automation - Kristian Karl
How Spotify Does Test Automation - Kristian Karl
 
Agile testing
Agile testingAgile testing
Agile testing
 
Test Automation
Test AutomationTest Automation
Test Automation
 
Unit Testing And Mocking
Unit Testing And MockingUnit Testing And Mocking
Unit Testing And Mocking
 
Software Testing Principles
Software Testing PrinciplesSoftware Testing Principles
Software Testing Principles
 
Bdd Introduction
Bdd IntroductionBdd Introduction
Bdd Introduction
 
Automated Testing vs Manual Testing
Automated Testing vs Manual TestingAutomated Testing vs Manual Testing
Automated Testing vs Manual Testing
 
Automation testing & Unit testing
Automation testing & Unit testingAutomation testing & Unit testing
Automation testing & Unit testing
 
Software Testing Process
Software Testing ProcessSoftware Testing Process
Software Testing Process
 
Test Automation Best Practices (with SOA test approach)
Test Automation Best Practices (with SOA test approach)Test Automation Best Practices (with SOA test approach)
Test Automation Best Practices (with SOA test approach)
 

Destaque

Museum of Bad Art
Museum of Bad ArtMuseum of Bad Art
Museum of Bad Art
pptt33ch3r
 
Kelompok 7
Kelompok 7Kelompok 7
Kelompok 7
087dwi
 
ProjectMate - решение для компаний, оказывающих профессиональные услуги
ProjectMate - решение для компаний, оказывающих профессиональные услугиProjectMate - решение для компаний, оказывающих профессиональные услуги
ProjectMate - решение для компаний, оказывающих профессиональные услуги
ProjectMate
 
Como armar una PC
Como armar una PCComo armar una PC
Como armar una PC
Neovictril
 
Styling final project
Styling final projectStyling final project
Styling final project
iris76324
 

Destaque (14)

Ca ne nous rajeunit pas
Ca ne nous rajeunit pasCa ne nous rajeunit pas
Ca ne nous rajeunit pas
 
DOF RGI Technology Presentation Nov 23 2011
DOF RGI Technology Presentation   Nov 23 2011DOF RGI Technology Presentation   Nov 23 2011
DOF RGI Technology Presentation Nov 23 2011
 
Spread on tellnspread
Spread on tellnspreadSpread on tellnspread
Spread on tellnspread
 
Museum of Bad Art
Museum of Bad ArtMuseum of Bad Art
Museum of Bad Art
 
Kelompok 7
Kelompok 7Kelompok 7
Kelompok 7
 
1
11
1
 
монгол хэл
монгол хэлмонгол хэл
монгол хэл
 
ProjectMate - решение для компаний, оказывающих профессиональные услуги
ProjectMate - решение для компаний, оказывающих профессиональные услугиProjectMate - решение для компаний, оказывающих профессиональные услуги
ProjectMate - решение для компаний, оказывающих профессиональные услуги
 
Como armar una PC
Como armar una PCComo armar una PC
Como armar una PC
 
Introduction to web application security testing
Introduction to web application security testingIntroduction to web application security testing
Introduction to web application security testing
 
Styling final project
Styling final projectStyling final project
Styling final project
 
Ohota_2_2015_Snariaga-1
Ohota_2_2015_Snariaga-1Ohota_2_2015_Snariaga-1
Ohota_2_2015_Snariaga-1
 
Introduction to tellnspread.com
Introduction to tellnspread.comIntroduction to tellnspread.com
Introduction to tellnspread.com
 
Bab ii keg pembel 6 array
Bab ii keg pembel 6  arrayBab ii keg pembel 6  array
Bab ii keg pembel 6 array
 

Mais de Oleksandr Romanov

Mais de Oleksandr Romanov (9)

Тестування Blockchain - Що там можна тестувати?
Тестування  Blockchain - Що там можна тестувати?Тестування  Blockchain - Що там можна тестувати?
Тестування Blockchain - Що там можна тестувати?
 
What does it mean to test a blockchain
What does it mean to test a blockchainWhat does it mean to test a blockchain
What does it mean to test a blockchain
 
Ups and downs of contract testing in real life
Ups and downs of contract testing in real lifeUps and downs of contract testing in real life
Ups and downs of contract testing in real life
 
Testing challenges at microservices world
Testing challenges at microservices worldTesting challenges at microservices world
Testing challenges at microservices world
 
Practical contract testing with Spring Cloud Contract [Test Con 2019]
Practical contract testing with Spring Cloud Contract [Test Con 2019]Practical contract testing with Spring Cloud Contract [Test Con 2019]
Practical contract testing with Spring Cloud Contract [Test Con 2019]
 
Turning automation education upside down [QAFest 2019]
Turning automation education upside down [QAFest 2019]Turning automation education upside down [QAFest 2019]
Turning automation education upside down [QAFest 2019]
 
Hidden complexities in microservices testing
Hidden complexities in microservices testingHidden complexities in microservices testing
Hidden complexities in microservices testing
 
Automating microservices: what, where and when
Automating microservices: what, where and whenAutomating microservices: what, where and when
Automating microservices: what, where and when
 
Integration testing for microservices with Spring Boot
Integration testing for microservices with Spring BootIntegration testing for microservices with Spring Boot
Integration testing for microservices with Spring Boot
 

Último

Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 

Último (20)

TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of Brazil
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 

Introduction to pairwise testing