SlideShare a Scribd company logo
1 of 16
Download to read offline
Pairwise	
  Tes*ng	
  
	
  
	
  
Strategic	
  Test	
  Case	
  Design	
  
www.xboso6.com
•  XBOSo&	
  
–  Quality	
  and	
  Tes4ng	
  Process	
  Improvement	
  and	
  So&ware	
  
Tes4ng	
  Experts	
  
–  San	
  Francisco,	
  Beijing,	
  Oslo,	
  Amsterdam	
  
Pairwise	
  Tes*ng	
  
The	
  Problem:	
  
•  Many	
  defects	
  only	
  occur	
  when	
  a	
  combina4on	
  of	
  inputs	
  or	
  
events	
  occur	
  that	
  interact	
  with	
  each	
  other.	
  
•  But	
  to	
  test	
  every	
  combina4on	
  or	
  permuta4on	
  is	
  impossible.	
  
The	
  Solu4on:	
  
•  Pairwise	
  tes4ng	
  normally	
  begins	
  by	
  selec4ng	
  values	
  for	
  the	
  
system’s	
  input	
  variables.	
  	
  
•  These	
  individual	
  values	
  are	
  o&en	
  selected	
  using	
  domain	
  
equivalence	
  par44oning.	
  	
  	
  
•  The	
  values	
  are	
  then	
  permuted	
  to	
  achieve	
  coverage	
  of	
  all	
  the	
  
pairings.	
  
3	
  
Pairwise	
  Tes*ng	
  
•  The	
  reasoning	
  behind	
  all-­‐pairs	
  tes4ng:	
  the	
  simplest	
  bugs	
  in	
  a	
  
program	
  are	
  generally	
  triggered	
  by	
  a	
  single	
  input	
  parameter.	
  	
  
•  The	
  next	
  simplest	
  category	
  of	
  bugs	
  consists	
  of	
  those	
  
dependent	
  on	
  interac4ons	
  between	
  pairs	
  of	
  parameters,	
  
which	
  can	
  be	
  caught	
  with	
  all-­‐pairs	
  tes4ng.	
  	
  
•  Bugs	
  involving	
  interac4ons	
  between	
  three	
  or	
  more	
  
parameters	
  are	
  progressively	
  less	
  common,	
  while	
  at	
  the	
  same	
  
4me	
  being	
  progressively	
  more	
  expensive	
  to	
  find	
  by	
  exhaus4ve	
  
tes4ng,	
  which	
  has	
  as	
  its	
  limit	
  the	
  exhaus4ve	
  tes4ng	
  of	
  all	
  
possible	
  inputs.	
  
4	
  
Pairwise	
  Tes*ng	
  
Problem:	
  Test	
  System	
  S	
  
Inputs	
  
	
  X	
  =	
  A,B	
  
	
  Y	
  =	
  C,D	
  
	
  Z	
  =	
  E,F	
  
	
  
	
  
There	
  are	
  23	
  =	
  8	
  possible	
  combina4ons	
  
5	
  
System S
X Y Z
Pairwise	
  Tes*ng	
  
6	
  
8 Test Cases
You can get rid of Test Case 2 (T2)
•  {A, -, E} is covered in T1
•  { , -} is covered in T4
•  { -, } is covered in T6
Problem:
•  How many test cases can you get rid of?
•  List the Test cases you would keep.
•  Time yourself.
Test	
  ID	
   X	
   Y	
   Z	
  
T1	
   A	
   C	
   E	
  
T2	
   A	
   D	
   E	
  
T3	
   A	
   C	
   F	
  
T4	
   A	
   D	
   F	
  
T5	
   B	
   C	
   E	
  
T6	
   B	
   D	
   E	
  
T7	
   B	
   C	
   F	
  
T8	
   B	
   D	
   F	
  
A, D
D, E
Pairwise	
  Tes*ng	
  
Test	
  ID	
   X	
   Y	
   Z	
  
T1	
   A	
   C	
   E	
  
T2	
   A	
   D	
   E	
  
T3	
   A	
   C	
   F	
  
T4	
   A	
   D	
   F	
  
T5	
   B	
   C	
   E	
  
T6	
   B	
   D	
   E	
  
T7	
   B	
   C	
   F	
  
T8	
   B	
   D	
   F	
  
7	
  
Test	
  ID	
   X	
   Y	
   Z	
  
T1	
   A	
   C	
   E	
  
T4	
   A	
   D	
   F	
  
T6	
   B	
   D	
   E	
  
T7	
   B	
   C	
   F	
  
8 Test Cases Pairwise testing
4 Test Cases
Example	
  
8	
  
How many combinations are there for twelve inputs?
- Hexawise.com
Pairwise	
  Tes*ng	
  
	
  	
  	
  
9	
  
- Hexawise.com
Pairwise	
  Tes*ng	
  
	
  	
  	
  
10	
  
- Hexawise.com
Pairwise	
  Tes*ng	
  
	
  	
  	
  
11	
  
Pairwise	
  Tes*ng	
  Tools	
  
To	
  generate	
  the	
  20	
  test	
  cases	
  in	
  the	
  previous	
  slide	
  from	
  the	
  
possible	
  3.7M	
  test	
  cases	
  would	
  be	
  extremely	
  4me	
  consuming.	
  	
  
	
  
Just	
  a	
  few	
  of	
  the	
  many	
  SW	
  tools	
  to	
  generate	
  the	
  tes4ng	
  pairs.	
  
•  Hexawise	
  
•  AllPairs	
  by	
  James	
  Bach,	
  free	
  
•  PICT	
  (Pairwise	
  Independent	
  Combinatorial	
  Tes4ng)	
  tool	
  
•  Automa4c	
  Efficient	
  Test	
  Generator	
  or	
  AETG™	
  
12	
  
Limita*ons	
  of	
  Pairwise	
  Tes*ng	
  
Common	
  tes*ng	
  problems	
  are	
  made	
  worse:	
  
•  Selec*ng	
  the	
  wrong	
  input:	
  The	
  problems	
  of	
  equivalence	
  
par44oning	
  are	
  made	
  worse	
  with	
  a	
  pair	
  of	
  wrong	
  inputs.	
  
•  The	
  ‘Oracle	
  Problem’:	
  Is	
  a	
  defect	
  properly	
  revealed	
  and	
  do	
  we	
  
recognized	
  it	
  when	
  it	
  is	
  revealed?	
  
•  The	
  input	
  values	
  to	
  the	
  system	
  under	
  test	
  are	
  not	
  discrete.	
  	
  
Problems	
  of	
  Pairwise	
  tes*ng:	
  
•  High	
  probability	
  combina4ons	
  get	
  too	
  lihle	
  ahen4on.	
  
•  Not	
  knowing	
  the	
  interdependencies	
  between	
  variables.	
  
13	
  
Pairwise	
  Tes*ng	
  
Works	
  well	
  when:	
  
•  Number	
  of	
  possible	
  parameter	
  values	
  is	
  large	
  	
  
•  You	
  can	
  effec4vely	
  separate	
  parameter	
  values	
  
into	
  equivalence	
  classes.	
  	
  
14	
  
Pairwise	
  Tes*ng:	
  Cau*on	
  
•  Pairwise	
  tes4ng	
  is	
  a	
  tool,	
  it	
  cannot	
  replace	
  a	
  skilled	
  
experienced	
  tester.	
  
•  As	
  a	
  tool,	
  it	
  is	
  effec4ve	
  only	
  as	
  much	
  as	
  the	
  tester	
  is	
  effec4ve.	
  
•  Responsibility	
  for	
  good	
  tes4ng	
  remains	
  with	
  the	
  tester,	
  not	
  
the	
  tool.	
  
15	
  
Pairwise	
  Tes*ng	
  
Conclusion:	
  
	
  
•  When	
  used	
  properly,	
  pairwise	
  test	
  set	
  genera4on	
  is	
  an	
  
important	
  technique	
  that	
  can	
  help	
  you	
  produce	
  beher	
  
so&ware	
  systems.	
  
16	
  

More Related Content

What's hot

Understanding Unit Testing
Understanding Unit TestingUnderstanding Unit Testing
Understanding Unit Testingikhwanhayat
 
Introduction to pairwise testing
Introduction to pairwise testing Introduction to pairwise testing
Introduction to pairwise testing Oleksandr Romanov
 
Test Management introduction
Test Management introductionTest Management introduction
Test Management introductionOana Feidi
 
ISTQB Foundation Level Basic
ISTQB Foundation Level BasicISTQB Foundation Level Basic
ISTQB Foundation Level BasicErol Selitektay
 
Final Automation Testing
Final Automation TestingFinal Automation Testing
Final Automation Testingpriya_trivedi
 
Agile test-management-test-rail-lastest
Agile test-management-test-rail-lastestAgile test-management-test-rail-lastest
Agile test-management-test-rail-lastestOnur Baskirt
 
Unit tests & TDD
Unit tests & TDDUnit tests & TDD
Unit tests & TDDDror Helper
 
Principles of Software testing
Principles of Software testingPrinciples of Software testing
Principles of Software testingMd Mamunur Rashid
 
Software testing methods, levels and types
Software testing methods, levels and typesSoftware testing methods, levels and types
Software testing methods, levels and typesConfiz
 
UNIT TESTING PPT
UNIT TESTING PPTUNIT TESTING PPT
UNIT TESTING PPTsuhasreddy1
 
Control Flow Testing
Control Flow TestingControl Flow Testing
Control Flow TestingHirra Sultan
 
Testing concepts ppt
Testing concepts pptTesting concepts ppt
Testing concepts pptRathna Priya
 
Software Testing Fundamentals
Software Testing FundamentalsSoftware Testing Fundamentals
Software Testing FundamentalsChankey Pathak
 
Unit 2 - Test Case Design
Unit 2 - Test Case DesignUnit 2 - Test Case Design
Unit 2 - Test Case DesignSelvi Vts
 
ISTQB - What's testing
ISTQB - What's testingISTQB - What's testing
ISTQB - What's testingHoangThiHien1
 

What's hot (20)

Java Unit Testing
Java Unit TestingJava Unit Testing
Java Unit Testing
 
Understanding Unit Testing
Understanding Unit TestingUnderstanding Unit Testing
Understanding Unit Testing
 
Introduction to pairwise testing
Introduction to pairwise testing Introduction to pairwise testing
Introduction to pairwise testing
 
Test Management introduction
Test Management introductionTest Management introduction
Test Management introduction
 
ISTQB Foundation Level Basic
ISTQB Foundation Level BasicISTQB Foundation Level Basic
ISTQB Foundation Level Basic
 
Final Automation Testing
Final Automation TestingFinal Automation Testing
Final Automation Testing
 
Agile test-management-test-rail-lastest
Agile test-management-test-rail-lastestAgile test-management-test-rail-lastest
Agile test-management-test-rail-lastest
 
Unit tests & TDD
Unit tests & TDDUnit tests & TDD
Unit tests & TDD
 
Principles of Software testing
Principles of Software testingPrinciples of Software testing
Principles of Software testing
 
Software testing methods, levels and types
Software testing methods, levels and typesSoftware testing methods, levels and types
Software testing methods, levels and types
 
UNIT TESTING PPT
UNIT TESTING PPTUNIT TESTING PPT
UNIT TESTING PPT
 
Control Flow Testing
Control Flow TestingControl Flow Testing
Control Flow Testing
 
Testing concepts ppt
Testing concepts pptTesting concepts ppt
Testing concepts ppt
 
Testing techniques
Testing techniquesTesting techniques
Testing techniques
 
Software Testing Fundamentals
Software Testing FundamentalsSoftware Testing Fundamentals
Software Testing Fundamentals
 
Black box software testing
Black box software testingBlack box software testing
Black box software testing
 
Unit 2 - Test Case Design
Unit 2 - Test Case DesignUnit 2 - Test Case Design
Unit 2 - Test Case Design
 
ISTQB - What's testing
ISTQB - What's testingISTQB - What's testing
ISTQB - What's testing
 
Black Box Testing
Black Box TestingBlack Box Testing
Black Box Testing
 
Unit Testing (C#)
Unit Testing (C#)Unit Testing (C#)
Unit Testing (C#)
 

Viewers also liked

All Pairs Testing Technique
All Pairs Testing TechniqueAll Pairs Testing Technique
All Pairs Testing Techniqueusha kannappan
 
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 testingJustin Hunter
 
Reducing Test Case Bloat2 1
Reducing Test Case Bloat2 1Reducing Test Case Bloat2 1
Reducing Test Case Bloat2 1Lanette Creamer
 
Efficient And Effective Test Design
Efficient And Effective Test DesignEfficient And Effective Test Design
Efficient And Effective Test DesignJustin Hunter
 
Test case design
Test case designTest case design
Test case design99pillar
 
QAI QUEST 2016 Webinar Series: Pairwise Testing w/ Philip Lew
QAI QUEST 2016 Webinar Series: Pairwise Testing w/ Philip LewQAI QUEST 2016 Webinar Series: Pairwise Testing w/ Philip Lew
QAI QUEST 2016 Webinar Series: Pairwise Testing w/ Philip LewXBOSoft
 
Pairwise Coverage-based Testing with Selected Elements in a Query for Databas...
Pairwise Coverage-based Testing with Selected Elements in a Query for Databas...Pairwise Coverage-based Testing with Selected Elements in a Query for Databas...
Pairwise Coverage-based Testing with Selected Elements in a Query for Databas...Hironori Washizaki
 
testing strategies and tactics
 testing strategies and tactics testing strategies and tactics
testing strategies and tacticsPreeti Mishra
 
Storyboard data combination_test
Storyboard data combination_testStoryboard data combination_test
Storyboard data combination_testSogetiNL
 
Разработка тест кейсов по методике pair wise
Разработка тест кейсов по методике pair wiseРазработка тест кейсов по методике pair wise
Разработка тест кейсов по методике pair wiseSQALab
 
software testing strategies
software testing strategiessoftware testing strategies
software testing strategiesHemanth Gajula
 
Design Test Case Technique (Equivalence partitioning And Boundary value analy...
Design Test Case Technique (Equivalence partitioning And Boundary value analy...Design Test Case Technique (Equivalence partitioning And Boundary value analy...
Design Test Case Technique (Equivalence partitioning And Boundary value analy...Ryan Tran
 
Pairwise testing sagar_hadawale
Pairwise  testing sagar_hadawalePairwise  testing sagar_hadawale
Pairwise testing sagar_hadawaleSagar Hadawale
 

Viewers also liked (13)

All Pairs Testing Technique
All Pairs Testing TechniqueAll Pairs Testing Technique
All Pairs Testing Technique
 
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
 
Reducing Test Case Bloat2 1
Reducing Test Case Bloat2 1Reducing Test Case Bloat2 1
Reducing Test Case Bloat2 1
 
Efficient And Effective Test Design
Efficient And Effective Test DesignEfficient And Effective Test Design
Efficient And Effective Test Design
 
Test case design
Test case designTest case design
Test case design
 
QAI QUEST 2016 Webinar Series: Pairwise Testing w/ Philip Lew
QAI QUEST 2016 Webinar Series: Pairwise Testing w/ Philip LewQAI QUEST 2016 Webinar Series: Pairwise Testing w/ Philip Lew
QAI QUEST 2016 Webinar Series: Pairwise Testing w/ Philip Lew
 
Pairwise Coverage-based Testing with Selected Elements in a Query for Databas...
Pairwise Coverage-based Testing with Selected Elements in a Query for Databas...Pairwise Coverage-based Testing with Selected Elements in a Query for Databas...
Pairwise Coverage-based Testing with Selected Elements in a Query for Databas...
 
testing strategies and tactics
 testing strategies and tactics testing strategies and tactics
testing strategies and tactics
 
Storyboard data combination_test
Storyboard data combination_testStoryboard data combination_test
Storyboard data combination_test
 
Разработка тест кейсов по методике pair wise
Разработка тест кейсов по методике pair wiseРазработка тест кейсов по методике pair wise
Разработка тест кейсов по методике pair wise
 
software testing strategies
software testing strategiessoftware testing strategies
software testing strategies
 
Design Test Case Technique (Equivalence partitioning And Boundary value analy...
Design Test Case Technique (Equivalence partitioning And Boundary value analy...Design Test Case Technique (Equivalence partitioning And Boundary value analy...
Design Test Case Technique (Equivalence partitioning And Boundary value analy...
 
Pairwise testing sagar_hadawale
Pairwise  testing sagar_hadawalePairwise  testing sagar_hadawale
Pairwise testing sagar_hadawale
 

Similar to Pairwise testing - Strategic test case design

Similar to Pairwise testing - Strategic test case design (20)

CPP09 - Testing
CPP09 - TestingCPP09 - Testing
CPP09 - Testing
 
Shift-Left Testing: QA in a DevOps World by David Laulusa
Shift-Left Testing: QA in a DevOps World by David LaulusaShift-Left Testing: QA in a DevOps World by David Laulusa
Shift-Left Testing: QA in a DevOps World by David Laulusa
 
TDD Training
TDD TrainingTDD Training
TDD Training
 
Agile Testing Cost Reduction using Pairwise Technique
Agile Testing Cost Reduction using Pairwise Technique Agile Testing Cost Reduction using Pairwise Technique
Agile Testing Cost Reduction using Pairwise Technique
 
Testcase design techniques final
Testcase design techniques finalTestcase design techniques final
Testcase design techniques final
 
LecccccccccccccProgrammingLecture-09.pdf
LecccccccccccccProgrammingLecture-09.pdfLecccccccccccccProgrammingLecture-09.pdf
LecccccccccccccProgrammingLecture-09.pdf
 
AutoTest.ppt
AutoTest.pptAutoTest.ppt
AutoTest.ppt
 
AutoTest.ppt
AutoTest.pptAutoTest.ppt
AutoTest.ppt
 
AutoTest.ppt
AutoTest.pptAutoTest.ppt
AutoTest.ppt
 
Testing
TestingTesting
Testing
 
Testing lab manual Testing lab manual sqa
Testing lab manual Testing lab manual sqaTesting lab manual Testing lab manual sqa
Testing lab manual Testing lab manual sqa
 
SE%200-Testing%20(2).pptx
SE%200-Testing%20(2).pptxSE%200-Testing%20(2).pptx
SE%200-Testing%20(2).pptx
 
Black boxtesting
Black boxtestingBlack boxtesting
Black boxtesting
 
Software Testing Foundations Part 4 - Black Box Testing
Software Testing Foundations Part 4 - Black Box TestingSoftware Testing Foundations Part 4 - Black Box Testing
Software Testing Foundations Part 4 - Black Box Testing
 
Unit testing
Unit testingUnit testing
Unit testing
 
Unit Testing Best Practices
Unit Testing Best PracticesUnit Testing Best Practices
Unit Testing Best Practices
 
Stareast2008
Stareast2008Stareast2008
Stareast2008
 
black-box-1.pdf
black-box-1.pdfblack-box-1.pdf
black-box-1.pdf
 
G53 qat09pdf6up
G53 qat09pdf6upG53 qat09pdf6up
G53 qat09pdf6up
 
Random testing
Random testingRandom testing
Random testing
 

More from XBOSoft

Agile Metrics to Boost Software Quality improvement
Agile Metrics to Boost Software Quality improvementAgile Metrics to Boost Software Quality improvement
Agile Metrics to Boost Software Quality improvementXBOSoft
 
Agile Test Management Using Jira and Zephyr
Agile Test Management Using Jira and ZephyrAgile Test Management Using Jira and Zephyr
Agile Test Management Using Jira and ZephyrXBOSoft
 
AI Based Test Automation Without AI
AI Based Test Automation Without AIAI Based Test Automation Without AI
AI Based Test Automation Without AIXBOSoft
 
What Aircrews Can Teach Software Testing Teams - XBOSoft Webinar w/Peter Varhol
What Aircrews Can Teach Software Testing Teams - XBOSoft Webinar w/Peter VarholWhat Aircrews Can Teach Software Testing Teams - XBOSoft Webinar w/Peter Varhol
What Aircrews Can Teach Software Testing Teams - XBOSoft Webinar w/Peter VarholXBOSoft
 
Agile User Acceptance Testing - Incorporating UAT into Agile
Agile User Acceptance Testing - Incorporating UAT into AgileAgile User Acceptance Testing - Incorporating UAT into Agile
Agile User Acceptance Testing - Incorporating UAT into AgileXBOSoft
 
Challenges in Using Big Data for Software QA
Challenges in Using Big Data for Software QAChallenges in Using Big Data for Software QA
Challenges in Using Big Data for Software QAXBOSoft
 
Defect Patterns Analysis for Agile and Waterfall - XBOSoft Webinar with Micha...
Defect Patterns Analysis for Agile and Waterfall - XBOSoft Webinar with Micha...Defect Patterns Analysis for Agile and Waterfall - XBOSoft Webinar with Micha...
Defect Patterns Analysis for Agile and Waterfall - XBOSoft Webinar with Micha...XBOSoft
 
Proactive SQA™ Shifting Left w/Proactive Software Quality Practices
Proactive  SQA™ Shifting Left w/Proactive Software Quality PracticesProactive  SQA™ Shifting Left w/Proactive Software Quality Practices
Proactive SQA™ Shifting Left w/Proactive Software Quality PracticesXBOSoft
 
Mobile Testing Challenges and Solutions XBOSoft Webinar
Mobile Testing Challenges and Solutions XBOSoft WebinarMobile Testing Challenges and Solutions XBOSoft Webinar
Mobile Testing Challenges and Solutions XBOSoft WebinarXBOSoft
 
Heidi Araya - XBOSoft Webinar Guest Speaker - Working with Remote Agile Teams
Heidi Araya - XBOSoft Webinar Guest Speaker - Working with Remote Agile TeamsHeidi Araya - XBOSoft Webinar Guest Speaker - Working with Remote Agile Teams
Heidi Araya - XBOSoft Webinar Guest Speaker - Working with Remote Agile TeamsXBOSoft
 
XBOSoft webinar - How Did I Miss That Bug - Cognitive Biases in Software Testing
XBOSoft webinar - How Did I Miss That Bug - Cognitive Biases in Software TestingXBOSoft webinar - How Did I Miss That Bug - Cognitive Biases in Software Testing
XBOSoft webinar - How Did I Miss That Bug - Cognitive Biases in Software TestingXBOSoft
 
PSQT Keynote: Quality Challenges in the Internet of Things Era
PSQT Keynote: Quality Challenges in the Internet of Things EraPSQT Keynote: Quality Challenges in the Internet of Things Era
PSQT Keynote: Quality Challenges in the Internet of Things EraXBOSoft
 
7 Habits of Highly Effective Agile Testing - Test Istanbul
7 Habits of Highly Effective Agile Testing - Test Istanbul7 Habits of Highly Effective Agile Testing - Test Istanbul
7 Habits of Highly Effective Agile Testing - Test IstanbulXBOSoft
 
Managing Agile Software Projects With Risk and Uncertainty
Managing Agile Software Projects With Risk and UncertaintyManaging Agile Software Projects With Risk and Uncertainty
Managing Agile Software Projects With Risk and UncertaintyXBOSoft
 
Top IOT Testing Challenges Webinar with Jon Hagar
Top IOT Testing Challenges Webinar with Jon HagarTop IOT Testing Challenges Webinar with Jon Hagar
Top IOT Testing Challenges Webinar with Jon HagarXBOSoft
 
Testing in Agile with Coaching Agile Journeys and XBOSoft
Testing in Agile with Coaching Agile Journeys and XBOSoftTesting in Agile with Coaching Agile Journeys and XBOSoft
Testing in Agile with Coaching Agile Journeys and XBOSoftXBOSoft
 
Using JMeter and Google Analytics for Software Performance Testing
Using JMeter and Google Analytics for Software Performance TestingUsing JMeter and Google Analytics for Software Performance Testing
Using JMeter and Google Analytics for Software Performance TestingXBOSoft
 
Storytelling: Discover the Big Picture for Agile Efforts Webinar - Tom Cagley...
Storytelling: Discover the Big Picture for Agile Efforts Webinar - Tom Cagley...Storytelling: Discover the Big Picture for Agile Efforts Webinar - Tom Cagley...
Storytelling: Discover the Big Picture for Agile Efforts Webinar - Tom Cagley...XBOSoft
 
ASTQB w/ XBOSoft CEO Phil Lew: Agile and Waterfall - What Do Testers Do Diffe...
ASTQB w/ XBOSoft CEO Phil Lew: Agile and Waterfall - What Do Testers Do Diffe...ASTQB w/ XBOSoft CEO Phil Lew: Agile and Waterfall - What Do Testers Do Diffe...
ASTQB w/ XBOSoft CEO Phil Lew: Agile and Waterfall - What Do Testers Do Diffe...XBOSoft
 
When Agile is a Quality Game Changer Webinar - Michael Mah, Philip Lew
When Agile is a Quality Game Changer Webinar - Michael Mah, Philip LewWhen Agile is a Quality Game Changer Webinar - Michael Mah, Philip Lew
When Agile is a Quality Game Changer Webinar - Michael Mah, Philip LewXBOSoft
 

More from XBOSoft (20)

Agile Metrics to Boost Software Quality improvement
Agile Metrics to Boost Software Quality improvementAgile Metrics to Boost Software Quality improvement
Agile Metrics to Boost Software Quality improvement
 
Agile Test Management Using Jira and Zephyr
Agile Test Management Using Jira and ZephyrAgile Test Management Using Jira and Zephyr
Agile Test Management Using Jira and Zephyr
 
AI Based Test Automation Without AI
AI Based Test Automation Without AIAI Based Test Automation Without AI
AI Based Test Automation Without AI
 
What Aircrews Can Teach Software Testing Teams - XBOSoft Webinar w/Peter Varhol
What Aircrews Can Teach Software Testing Teams - XBOSoft Webinar w/Peter VarholWhat Aircrews Can Teach Software Testing Teams - XBOSoft Webinar w/Peter Varhol
What Aircrews Can Teach Software Testing Teams - XBOSoft Webinar w/Peter Varhol
 
Agile User Acceptance Testing - Incorporating UAT into Agile
Agile User Acceptance Testing - Incorporating UAT into AgileAgile User Acceptance Testing - Incorporating UAT into Agile
Agile User Acceptance Testing - Incorporating UAT into Agile
 
Challenges in Using Big Data for Software QA
Challenges in Using Big Data for Software QAChallenges in Using Big Data for Software QA
Challenges in Using Big Data for Software QA
 
Defect Patterns Analysis for Agile and Waterfall - XBOSoft Webinar with Micha...
Defect Patterns Analysis for Agile and Waterfall - XBOSoft Webinar with Micha...Defect Patterns Analysis for Agile and Waterfall - XBOSoft Webinar with Micha...
Defect Patterns Analysis for Agile and Waterfall - XBOSoft Webinar with Micha...
 
Proactive SQA™ Shifting Left w/Proactive Software Quality Practices
Proactive  SQA™ Shifting Left w/Proactive Software Quality PracticesProactive  SQA™ Shifting Left w/Proactive Software Quality Practices
Proactive SQA™ Shifting Left w/Proactive Software Quality Practices
 
Mobile Testing Challenges and Solutions XBOSoft Webinar
Mobile Testing Challenges and Solutions XBOSoft WebinarMobile Testing Challenges and Solutions XBOSoft Webinar
Mobile Testing Challenges and Solutions XBOSoft Webinar
 
Heidi Araya - XBOSoft Webinar Guest Speaker - Working with Remote Agile Teams
Heidi Araya - XBOSoft Webinar Guest Speaker - Working with Remote Agile TeamsHeidi Araya - XBOSoft Webinar Guest Speaker - Working with Remote Agile Teams
Heidi Araya - XBOSoft Webinar Guest Speaker - Working with Remote Agile Teams
 
XBOSoft webinar - How Did I Miss That Bug - Cognitive Biases in Software Testing
XBOSoft webinar - How Did I Miss That Bug - Cognitive Biases in Software TestingXBOSoft webinar - How Did I Miss That Bug - Cognitive Biases in Software Testing
XBOSoft webinar - How Did I Miss That Bug - Cognitive Biases in Software Testing
 
PSQT Keynote: Quality Challenges in the Internet of Things Era
PSQT Keynote: Quality Challenges in the Internet of Things EraPSQT Keynote: Quality Challenges in the Internet of Things Era
PSQT Keynote: Quality Challenges in the Internet of Things Era
 
7 Habits of Highly Effective Agile Testing - Test Istanbul
7 Habits of Highly Effective Agile Testing - Test Istanbul7 Habits of Highly Effective Agile Testing - Test Istanbul
7 Habits of Highly Effective Agile Testing - Test Istanbul
 
Managing Agile Software Projects With Risk and Uncertainty
Managing Agile Software Projects With Risk and UncertaintyManaging Agile Software Projects With Risk and Uncertainty
Managing Agile Software Projects With Risk and Uncertainty
 
Top IOT Testing Challenges Webinar with Jon Hagar
Top IOT Testing Challenges Webinar with Jon HagarTop IOT Testing Challenges Webinar with Jon Hagar
Top IOT Testing Challenges Webinar with Jon Hagar
 
Testing in Agile with Coaching Agile Journeys and XBOSoft
Testing in Agile with Coaching Agile Journeys and XBOSoftTesting in Agile with Coaching Agile Journeys and XBOSoft
Testing in Agile with Coaching Agile Journeys and XBOSoft
 
Using JMeter and Google Analytics for Software Performance Testing
Using JMeter and Google Analytics for Software Performance TestingUsing JMeter and Google Analytics for Software Performance Testing
Using JMeter and Google Analytics for Software Performance Testing
 
Storytelling: Discover the Big Picture for Agile Efforts Webinar - Tom Cagley...
Storytelling: Discover the Big Picture for Agile Efforts Webinar - Tom Cagley...Storytelling: Discover the Big Picture for Agile Efforts Webinar - Tom Cagley...
Storytelling: Discover the Big Picture for Agile Efforts Webinar - Tom Cagley...
 
ASTQB w/ XBOSoft CEO Phil Lew: Agile and Waterfall - What Do Testers Do Diffe...
ASTQB w/ XBOSoft CEO Phil Lew: Agile and Waterfall - What Do Testers Do Diffe...ASTQB w/ XBOSoft CEO Phil Lew: Agile and Waterfall - What Do Testers Do Diffe...
ASTQB w/ XBOSoft CEO Phil Lew: Agile and Waterfall - What Do Testers Do Diffe...
 
When Agile is a Quality Game Changer Webinar - Michael Mah, Philip Lew
When Agile is a Quality Game Changer Webinar - Michael Mah, Philip LewWhen Agile is a Quality Game Changer Webinar - Michael Mah, Philip Lew
When Agile is a Quality Game Changer Webinar - Michael Mah, Philip Lew
 

Recently uploaded

Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
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 RobisonAnna Loughnan Colquhoun
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
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 BusinessPixlogix Infotech
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
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 2024The Digital Insurer
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEarley Information Science
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
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 WorkerThousandEyes
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUK Journal
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
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...apidays
 
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)wesley chun
 
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 AutomationSafe Software
 

Recently uploaded (20)

Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
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
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
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
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
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
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
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
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
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...
 
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)
 
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
 

Pairwise testing - Strategic test case design

  • 1. Pairwise  Tes*ng       Strategic  Test  Case  Design   www.xboso6.com
  • 2. •  XBOSo&   –  Quality  and  Tes4ng  Process  Improvement  and  So&ware   Tes4ng  Experts   –  San  Francisco,  Beijing,  Oslo,  Amsterdam  
  • 3. Pairwise  Tes*ng   The  Problem:   •  Many  defects  only  occur  when  a  combina4on  of  inputs  or   events  occur  that  interact  with  each  other.   •  But  to  test  every  combina4on  or  permuta4on  is  impossible.   The  Solu4on:   •  Pairwise  tes4ng  normally  begins  by  selec4ng  values  for  the   system’s  input  variables.     •  These  individual  values  are  o&en  selected  using  domain   equivalence  par44oning.       •  The  values  are  then  permuted  to  achieve  coverage  of  all  the   pairings.   3  
  • 4. Pairwise  Tes*ng   •  The  reasoning  behind  all-­‐pairs  tes4ng:  the  simplest  bugs  in  a   program  are  generally  triggered  by  a  single  input  parameter.     •  The  next  simplest  category  of  bugs  consists  of  those   dependent  on  interac4ons  between  pairs  of  parameters,   which  can  be  caught  with  all-­‐pairs  tes4ng.     •  Bugs  involving  interac4ons  between  three  or  more   parameters  are  progressively  less  common,  while  at  the  same   4me  being  progressively  more  expensive  to  find  by  exhaus4ve   tes4ng,  which  has  as  its  limit  the  exhaus4ve  tes4ng  of  all   possible  inputs.   4  
  • 5. Pairwise  Tes*ng   Problem:  Test  System  S   Inputs    X  =  A,B    Y  =  C,D    Z  =  E,F       There  are  23  =  8  possible  combina4ons   5   System S X Y Z
  • 6. Pairwise  Tes*ng   6   8 Test Cases You can get rid of Test Case 2 (T2) •  {A, -, E} is covered in T1 •  { , -} is covered in T4 •  { -, } is covered in T6 Problem: •  How many test cases can you get rid of? •  List the Test cases you would keep. •  Time yourself. Test  ID   X   Y   Z   T1   A   C   E   T2   A   D   E   T3   A   C   F   T4   A   D   F   T5   B   C   E   T6   B   D   E   T7   B   C   F   T8   B   D   F   A, D D, E
  • 7. Pairwise  Tes*ng   Test  ID   X   Y   Z   T1   A   C   E   T2   A   D   E   T3   A   C   F   T4   A   D   F   T5   B   C   E   T6   B   D   E   T7   B   C   F   T8   B   D   F   7   Test  ID   X   Y   Z   T1   A   C   E   T4   A   D   F   T6   B   D   E   T7   B   C   F   8 Test Cases Pairwise testing 4 Test Cases
  • 8. Example   8   How many combinations are there for twelve inputs? - Hexawise.com
  • 9. Pairwise  Tes*ng         9   - Hexawise.com
  • 10. Pairwise  Tes*ng         10   - Hexawise.com
  • 11. Pairwise  Tes*ng         11  
  • 12. Pairwise  Tes*ng  Tools   To  generate  the  20  test  cases  in  the  previous  slide  from  the   possible  3.7M  test  cases  would  be  extremely  4me  consuming.       Just  a  few  of  the  many  SW  tools  to  generate  the  tes4ng  pairs.   •  Hexawise   •  AllPairs  by  James  Bach,  free   •  PICT  (Pairwise  Independent  Combinatorial  Tes4ng)  tool   •  Automa4c  Efficient  Test  Generator  or  AETG™   12  
  • 13. Limita*ons  of  Pairwise  Tes*ng   Common  tes*ng  problems  are  made  worse:   •  Selec*ng  the  wrong  input:  The  problems  of  equivalence   par44oning  are  made  worse  with  a  pair  of  wrong  inputs.   •  The  ‘Oracle  Problem’:  Is  a  defect  properly  revealed  and  do  we   recognized  it  when  it  is  revealed?   •  The  input  values  to  the  system  under  test  are  not  discrete.     Problems  of  Pairwise  tes*ng:   •  High  probability  combina4ons  get  too  lihle  ahen4on.   •  Not  knowing  the  interdependencies  between  variables.   13  
  • 14. Pairwise  Tes*ng   Works  well  when:   •  Number  of  possible  parameter  values  is  large     •  You  can  effec4vely  separate  parameter  values   into  equivalence  classes.     14  
  • 15. Pairwise  Tes*ng:  Cau*on   •  Pairwise  tes4ng  is  a  tool,  it  cannot  replace  a  skilled   experienced  tester.   •  As  a  tool,  it  is  effec4ve  only  as  much  as  the  tester  is  effec4ve.   •  Responsibility  for  good  tes4ng  remains  with  the  tester,  not   the  tool.   15  
  • 16. Pairwise  Tes*ng   Conclusion:     •  When  used  properly,  pairwise  test  set  genera4on  is  an   important  technique  that  can  help  you  produce  beher   so&ware  systems.   16