SlideShare ist ein Scribd-Unternehmen logo
1 von 12
PAIRWISE TESTING
Example
What is pairwise testing?
• Pairwise Testing also known as all-
pairs testing is a testing approach taken
for testing the software using combinatorial
method for two test inputs.
n-way combinations
• n = 2, 3, 4, 5, 6
• Focus on testing all possible combinations of
two test inputs (2-way)
Benefits of pairwise testing
Total test cases:
> 2^87 = 154.742.504.910.762.534.362.390.528
Pairwise: 16
Benefits of pairwise testing
• Tool generates test cases
• Reduce time and effort
• Find flaws efficiently: 50%-90%
Apply to pAudit
- Audit types: 14 values
- Audit Title: 1-255 characters
- Medical Blend Rate: number <999.999.999 (pick up 3 random
numbers)
- Compliance Audit: 2 values
- Audit Location: 2 values
- Nature of Audit: 2 values
- Scope of Audit: 2 values
- Coding Classification System: 3 values
- Record Selection by: 2 values
- Record Selection Decided by: 2 values
- Standard list: 9 values
- Audit Date: 1 value
 Total test cases: >18 millions
2-way without constraints
2-way with constraints
Pairwise testing basic and how to apply

Weitere ähnliche Inhalte

Was ist angesagt?

Software engineering Testing technique,test case,test suit design
Software engineering Testing technique,test case,test suit designSoftware engineering Testing technique,test case,test suit design
Software engineering Testing technique,test case,test suit designMaitree Patel
 
Test case techniques
Test case techniquesTest case techniques
Test case techniquesPina Parmar
 
Software Test Metrics and Measurements
Software Test Metrics and MeasurementsSoftware Test Metrics and Measurements
Software Test Metrics and MeasurementsDavis Thomas
 

Was ist angesagt? (6)

Software engineering Testing technique,test case,test suit design
Software engineering Testing technique,test case,test suit designSoftware engineering Testing technique,test case,test suit design
Software engineering Testing technique,test case,test suit design
 
Test case techniques
Test case techniquesTest case techniques
Test case techniques
 
ICP QC protocol
ICP  QC  protocolICP  QC  protocol
ICP QC protocol
 
Whitebox
WhiteboxWhitebox
Whitebox
 
11 whiteboxtesting
11 whiteboxtesting11 whiteboxtesting
11 whiteboxtesting
 
Software Test Metrics and Measurements
Software Test Metrics and MeasurementsSoftware Test Metrics and Measurements
Software Test Metrics and Measurements
 

Ähnlich wie Pairwise testing basic and how to apply

Test case prioritization usinf regression testing.pptx
Test case prioritization usinf regression testing.pptxTest case prioritization usinf regression testing.pptx
Test case prioritization usinf regression testing.pptxmaheshwari581940
 
Accuracy and precision presentation
Accuracy and precision presentationAccuracy and precision presentation
Accuracy and precision presentationSampatChoudhary4
 
Combinatorial testing ppt
Combinatorial testing pptCombinatorial testing ppt
Combinatorial testing pptKedar Kumar
 
Orthogonal array approach a case study
Orthogonal array approach   a case studyOrthogonal array approach   a case study
Orthogonal array approach a case studyKarthikeyan Rajendran
 
Validation of Analytical method.ppt
Validation of Analytical method.pptValidation of Analytical method.ppt
Validation of Analytical method.pptPriyanka Yadav
 
Multi-method Evaluation in Scientific Paper Recommender Systems
Multi-method Evaluation in Scientific Paper Recommender SystemsMulti-method Evaluation in Scientific Paper Recommender Systems
Multi-method Evaluation in Scientific Paper Recommender SystemsAravind Sesagiri Raamkumar
 
Analytical methods validation as per ich & usp
Analytical methods validation as per ich & uspAnalytical methods validation as per ich & usp
Analytical methods validation as per ich & uspGANESH NIGADE
 
Random testing
Random testingRandom testing
Random testingCan KAYA
 
qc final final.pptx
qc final final.pptxqc final final.pptx
qc final final.pptxRavi Kothari
 
Analytical method validation
Analytical method validationAnalytical method validation
Analytical method validationSai Praveen Reddy
 
Share_Total_Quality_Management.pptx
Share_Total_Quality_Management.pptxShare_Total_Quality_Management.pptx
Share_Total_Quality_Management.pptxRiyaKaushal21ZO042
 
Combinatorial testing
Combinatorial testingCombinatorial testing
Combinatorial testingKedar Kumar
 
Method Validation: What Are Its Key Parameters
Method Validation:What Are Its Key ParametersMethod Validation:What Are Its Key Parameters
Method Validation: What Are Its Key Parameterscomplianceonline123
 
[Vu Van Nguyen] Value-based Software Testing an Approach to Prioritizing Tests
[Vu Van Nguyen]  Value-based Software Testing an Approach to Prioritizing Tests[Vu Van Nguyen]  Value-based Software Testing an Approach to Prioritizing Tests
[Vu Van Nguyen] Value-based Software Testing an Approach to Prioritizing TestsHo Chi Minh City Software Testing Club
 
Analytical Method Validation.pptx
Analytical Method Validation.pptxAnalytical Method Validation.pptx
Analytical Method Validation.pptxBholakant raut
 
Analytical method validation
Analytical method validationAnalytical method validation
Analytical method validationArti Thakkar
 
Unit 5 - Lect 1 Benchmarking the Laboratory.pptx
Unit 5 - Lect 1 Benchmarking the Laboratory.pptxUnit 5 - Lect 1 Benchmarking the Laboratory.pptx
Unit 5 - Lect 1 Benchmarking the Laboratory.pptxJermaineChambers2
 

Ähnlich wie Pairwise testing basic and how to apply (20)

Test case prioritization usinf regression testing.pptx
Test case prioritization usinf regression testing.pptxTest case prioritization usinf regression testing.pptx
Test case prioritization usinf regression testing.pptx
 
Accuracy and precision presentation
Accuracy and precision presentationAccuracy and precision presentation
Accuracy and precision presentation
 
Combinatorial testing ppt
Combinatorial testing pptCombinatorial testing ppt
Combinatorial testing ppt
 
Orthogonal array approach a case study
Orthogonal array approach   a case studyOrthogonal array approach   a case study
Orthogonal array approach a case study
 
Se unit 4
Se unit 4Se unit 4
Se unit 4
 
Validation of Analytical method.ppt
Validation of Analytical method.pptValidation of Analytical method.ppt
Validation of Analytical method.ppt
 
HPLC validation.ppt
HPLC validation.pptHPLC validation.ppt
HPLC validation.ppt
 
Multi-method Evaluation in Scientific Paper Recommender Systems
Multi-method Evaluation in Scientific Paper Recommender SystemsMulti-method Evaluation in Scientific Paper Recommender Systems
Multi-method Evaluation in Scientific Paper Recommender Systems
 
Analytical methods validation as per ich & usp
Analytical methods validation as per ich & uspAnalytical methods validation as per ich & usp
Analytical methods validation as per ich & usp
 
Random testing
Random testingRandom testing
Random testing
 
qc final final.pptx
qc final final.pptxqc final final.pptx
qc final final.pptx
 
Analytical method validation
Analytical method validationAnalytical method validation
Analytical method validation
 
Share_Total_Quality_Management.pptx
Share_Total_Quality_Management.pptxShare_Total_Quality_Management.pptx
Share_Total_Quality_Management.pptx
 
Combinatorial testing
Combinatorial testingCombinatorial testing
Combinatorial testing
 
Method Validation: What Are Its Key Parameters
Method Validation:What Are Its Key ParametersMethod Validation:What Are Its Key Parameters
Method Validation: What Are Its Key Parameters
 
Quality assurance in a medical laboratory
Quality assurance in a medical laboratoryQuality assurance in a medical laboratory
Quality assurance in a medical laboratory
 
[Vu Van Nguyen] Value-based Software Testing an Approach to Prioritizing Tests
[Vu Van Nguyen]  Value-based Software Testing an Approach to Prioritizing Tests[Vu Van Nguyen]  Value-based Software Testing an Approach to Prioritizing Tests
[Vu Van Nguyen] Value-based Software Testing an Approach to Prioritizing Tests
 
Analytical Method Validation.pptx
Analytical Method Validation.pptxAnalytical Method Validation.pptx
Analytical Method Validation.pptx
 
Analytical method validation
Analytical method validationAnalytical method validation
Analytical method validation
 
Unit 5 - Lect 1 Benchmarking the Laboratory.pptx
Unit 5 - Lect 1 Benchmarking the Laboratory.pptxUnit 5 - Lect 1 Benchmarking the Laboratory.pptx
Unit 5 - Lect 1 Benchmarking the Laboratory.pptx
 

Kürzlich hochgeladen

WSO2CON 2024 - Does Open Source Still Matter?
WSO2CON 2024 - Does Open Source Still Matter?WSO2CON 2024 - Does Open Source Still Matter?
WSO2CON 2024 - Does Open Source Still Matter?WSO2
 
AI & Machine Learning Presentation Template
AI & Machine Learning Presentation TemplateAI & Machine Learning Presentation Template
AI & Machine Learning Presentation TemplatePresentation.STUDIO
 
WSO2CON2024 - It's time to go Platformless
WSO2CON2024 - It's time to go PlatformlessWSO2CON2024 - It's time to go Platformless
WSO2CON2024 - It's time to go PlatformlessWSO2
 
tonesoftg
tonesoftgtonesoftg
tonesoftglanshi9
 
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfonteinmasabamasaba
 
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...Steffen Staab
 
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
Direct Style Effect Systems -The Print[A] Example- A Comprehension AidDirect Style Effect Systems -The Print[A] Example- A Comprehension Aid
Direct Style Effect Systems - The Print[A] Example - A Comprehension AidPhilip Schwarz
 
Artyushina_Guest lecture_YorkU CS May 2024.pptx
Artyushina_Guest lecture_YorkU CS May 2024.pptxArtyushina_Guest lecture_YorkU CS May 2024.pptx
Artyushina_Guest lecture_YorkU CS May 2024.pptxAnnaArtyushina1
 
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...panagenda
 
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...Shane Coughlan
 
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...masabamasaba
 
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...Bert Jan Schrijver
 
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024VictoriaMetrics
 
WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...
WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...
WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...WSO2
 
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...masabamasaba
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...Health
 
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyviewmasabamasaba
 
Announcing Codolex 2.0 from GDK Software
Announcing Codolex 2.0 from GDK SoftwareAnnouncing Codolex 2.0 from GDK Software
Announcing Codolex 2.0 from GDK SoftwareJim McKeeth
 
%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...masabamasaba
 

Kürzlich hochgeladen (20)

WSO2CON 2024 - Does Open Source Still Matter?
WSO2CON 2024 - Does Open Source Still Matter?WSO2CON 2024 - Does Open Source Still Matter?
WSO2CON 2024 - Does Open Source Still Matter?
 
AI & Machine Learning Presentation Template
AI & Machine Learning Presentation TemplateAI & Machine Learning Presentation Template
AI & Machine Learning Presentation Template
 
WSO2CON2024 - It's time to go Platformless
WSO2CON2024 - It's time to go PlatformlessWSO2CON2024 - It's time to go Platformless
WSO2CON2024 - It's time to go Platformless
 
tonesoftg
tonesoftgtonesoftg
tonesoftg
 
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
 
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
 
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
Direct Style Effect Systems -The Print[A] Example- A Comprehension AidDirect Style Effect Systems -The Print[A] Example- A Comprehension Aid
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
 
Artyushina_Guest lecture_YorkU CS May 2024.pptx
Artyushina_Guest lecture_YorkU CS May 2024.pptxArtyushina_Guest lecture_YorkU CS May 2024.pptx
Artyushina_Guest lecture_YorkU CS May 2024.pptx
 
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
 
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
 
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
 
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
 
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
 
WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...
WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...
WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...
 
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
 
Microsoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdfMicrosoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdf
 
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
 
Announcing Codolex 2.0 from GDK Software
Announcing Codolex 2.0 from GDK SoftwareAnnouncing Codolex 2.0 from GDK Software
Announcing Codolex 2.0 from GDK Software
 
%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...
 

Pairwise testing basic and how to apply

  • 3. What is pairwise testing? • Pairwise Testing also known as all- pairs testing is a testing approach taken for testing the software using combinatorial method for two test inputs.
  • 4. n-way combinations • n = 2, 3, 4, 5, 6 • Focus on testing all possible combinations of two test inputs (2-way)
  • 5. Benefits of pairwise testing Total test cases: > 2^87 = 154.742.504.910.762.534.362.390.528 Pairwise: 16
  • 6.
  • 7. Benefits of pairwise testing • Tool generates test cases • Reduce time and effort • Find flaws efficiently: 50%-90%
  • 8.
  • 9. Apply to pAudit - Audit types: 14 values - Audit Title: 1-255 characters - Medical Blend Rate: number <999.999.999 (pick up 3 random numbers) - Compliance Audit: 2 values - Audit Location: 2 values - Nature of Audit: 2 values - Scope of Audit: 2 values - Coding Classification System: 3 values - Record Selection by: 2 values - Record Selection Decided by: 2 values - Standard list: 9 values - Audit Date: 1 value  Total test cases: >18 millions

Hinweis der Redaktion

  1. Hello everyone, how are you now? I am very happy to be here to talk about my topic. The truth is - we want to improve quality of the product but we cannot test everything. Is there anyway to help us select fewer test cases but still achieve adequate coverage? Luckily, we have a test design method to achieve greater coverage in fewer tests. Even though you prioritize speed or thoroughness, this method will help you. This is combinatorial test. Today, I will talk a part of this method, that is pairwise testing.
  2. We have a system which is controlled by switch panel as image. Each switch has 2 states: on/off. A question for you is how many test cases need to be tested for this one? Make sure that the number of test cases can cover at least 50% of the flaws. You think about this and I will come back later.  There is a tip that if we use traditional method, we cannot complete the test.
  3. There are 2 factors you need to note here: test inputs and combination.
  4. There are some ways to combine test inputs: 2, 3, 4, 5, and maximum is 6. Most software defects in production today can be triggered by just one test input. Bugs also come from the interaction of two test inputs. Bugs come from 3 or more test inputs are rare. So, to find bugs efficiently, we should focus first on testing all possible combinations of two test inputs!!! You – human will identify what test inputs should be tested. Computer – used computer algorithms generate test cases for you. Why we need to use pairwise testing? Is there any benefit?
  5. To talk about the most benefits of pairwise testing, I will come back the example. How many test cases need to be tested to cover at least 50% of the flaws? Does anyone have a specific number? With traditional method, total test cases to be tested: greater than 2^87 (two to the power eighty seven). Is your number closed to this? :D How many test cases do you think pairwise can offer? With pairwise, we just need: 16 (2-ways) test cases. Each test case has to set state for 87 switches. Am I lying?
  6. Here are the number of test cases are generated by tool.
  7. You job is just identify test inputs, computer will generate test cases for you. Fewer of test cases Better of tests. Although, it is good but not enough. It has limitation and cannot cover 100% of the flaws.
  8. Now, does anyone want to get on the plane which is covered 90% of the flaws?
  9. With those benefits, I decided to apply this method for pAudit. In pAudit, we have a create audit feature which is required data like this. How many test case I had to test for this feature? More than 18millions? Did I do that? Of course, NO. I am a lazy tester, so I did not do that. I just ran fewer.
  10. With 126 test cases, they can cover 100% of the flaws.
  11. I just put 3 constraint, the number of test cases are fewer. So, will you apply this method to your project?
  12. I just introduce a great testing method. Not just fewer, better tests.