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

Automation Testing with Test Complete
Automation Testing with Test CompleteAutomation Testing with Test Complete
Automation Testing with Test CompleteVartika Saxena
 
Unit Testing Concepts and Best Practices
Unit Testing Concepts and Best PracticesUnit Testing Concepts and Best Practices
Unit Testing Concepts and Best PracticesDerek Smith
 
Understanding Unit Testing
Understanding Unit TestingUnderstanding Unit Testing
Understanding Unit Testingikhwanhayat
 
Introduction to Test Automation
Introduction to Test AutomationIntroduction to Test Automation
Introduction to Test AutomationPekka Klärck
 
Test Management introduction
Test Management introductionTest Management introduction
Test Management introductionOana Feidi
 
powerpoint template for testing training
powerpoint template for testing trainingpowerpoint template for testing training
powerpoint template for testing trainingJohn Roddy
 
Test automation
Test automationTest automation
Test automationXavier Yin
 
Test Process
Test ProcessTest Process
Test Processtokarthik
 
Types of software testing
Types of software testingTypes of software testing
Types of software testingTestbytes
 
Software testing and quality assurance
Software testing and quality assuranceSoftware testing and quality assurance
Software testing and quality assuranceTOPS Technologies
 
TEST EXECUTION AND REPORTING
TEST EXECUTION AND REPORTINGTEST EXECUTION AND REPORTING
TEST EXECUTION AND REPORTINGsuhasreddy1
 
Automation frameworks
Automation frameworksAutomation frameworks
Automation frameworksVishwanath KC
 

What's hot (20)

Automation Testing with Test Complete
Automation Testing with Test CompleteAutomation Testing with Test Complete
Automation Testing with Test Complete
 
Unit Testing Concepts and Best Practices
Unit Testing Concepts and Best PracticesUnit Testing Concepts and Best Practices
Unit Testing Concepts and Best Practices
 
Software Testing or Quality Assurance
Software Testing or Quality AssuranceSoftware Testing or Quality Assurance
Software Testing or Quality Assurance
 
Understanding Unit Testing
Understanding Unit TestingUnderstanding Unit Testing
Understanding Unit Testing
 
JUnit Presentation
JUnit PresentationJUnit Presentation
JUnit Presentation
 
Testing Metrics
Testing MetricsTesting Metrics
Testing Metrics
 
Introduction to Test Automation
Introduction to Test AutomationIntroduction to Test Automation
Introduction to Test Automation
 
Test Management introduction
Test Management introductionTest Management introduction
Test Management introduction
 
powerpoint template for testing training
powerpoint template for testing trainingpowerpoint template for testing training
powerpoint template for testing training
 
Software testing
Software testingSoftware testing
Software testing
 
Test automation
Test automationTest automation
Test automation
 
Unit Testing
Unit TestingUnit Testing
Unit Testing
 
Test Process
Test ProcessTest Process
Test Process
 
Types of software testing
Types of software testingTypes of software testing
Types of software testing
 
Software test life cycle
Software test life cycleSoftware test life cycle
Software test life cycle
 
TestNG Framework
TestNG Framework TestNG Framework
TestNG Framework
 
Software testing and quality assurance
Software testing and quality assuranceSoftware testing and quality assurance
Software testing and quality assurance
 
TEST EXECUTION AND REPORTING
TEST EXECUTION AND REPORTINGTEST EXECUTION AND REPORTING
TEST EXECUTION AND REPORTING
 
Automation testing
Automation testingAutomation testing
Automation testing
 
Automation frameworks
Automation frameworksAutomation frameworks
Automation frameworks
 

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
 
Software testing methods, levels and types
Software testing methods, levels and typesSoftware testing methods, levels and types
Software testing methods, levels and typesConfiz
 
Pairwise testing sagar_hadawale
Pairwise  testing sagar_hadawalePairwise  testing sagar_hadawale
Pairwise testing sagar_hadawaleSagar Hadawale
 

Viewers also liked (15)

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
 
Testing techniques
Testing techniquesTesting techniques
Testing techniques
 
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...
 
Software testing methods, levels and types
Software testing methods, levels and typesSoftware testing methods, levels and types
Software testing methods, levels and types
 
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
 
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
 
Testing foundations
Testing foundationsTesting foundations
Testing foundations
 

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

Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostLeverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostZilliz
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyAlfredo García Lavilla
 
Vector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector DatabasesVector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector DatabasesZilliz
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024Stephanie Beckett
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Enterprise Knowledge
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticscarlostorres15106
 
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Wonjun Hwang
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr LapshynFwdays
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenHervé Boutemy
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...Fwdays
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxNavinnSomaal
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxhariprasad279825
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfRankYa
 

Recently uploaded (20)

Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostLeverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easy
 
Vector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector DatabasesVector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector Databases
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptx
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptx
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdf
 

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