SlideShare a Scribd company logo
REVIEW-3
SOFTWARE TESTING
ITE2004
USING COMBINATORIAL TESTING TO REDUCE SOFTWARE REWORK
SERIAL NO.
NAME
REG.NUMBER
1
2 Kedar kumar 15BIT0268
ANALYSIS:
 Combination testing refers to tests that involve more than one variable.
 A basic issue for multi-variable testing is called combinatorial blast. The
more factors you join, the higher the quantity of tests. Combinatorial testing
is about picking a couple tests that can show us what we have to think
about, recommending that 6-way combinatorial testing would be adequate
to trigger and recognize them. NIST built up a way to deal with
consequently creating, executing, and investigating such tests.
Why CT turns out to be cost
effective?
 Error detection in the code at the late stage is one of the most unwanted
thing that should happen because detecting errors at the later stages
needs more capital and much more software reworking. Basically CT
provides the path to avoid such an issue
 What causes software failures?
 • Logic errors
 • Calculation errors
 • Interaction faults
 • Inadequate input checking
s
 Combinatorial testing is a moderately new type of programming testing.
 It depends on straightforward standards, for example, association control,
pairwise testing, t-way connection testing, and so on.
 Combinatorial testing can radically lessen testing times and expenses by
diminishing the quantity of tests (i.e., decreasing number of experiments) to
be performed.
 Combinatorial testing permits us to choose a few parameters at any given
moment, be it setups or sources of info, and test the blends in a manner that
greater part of the deficiencies will become visible with least number of tests.
The difficulties can be outlined into these four
classifications:
 • Test Modelling - recognition and straightforwardness
 • Generating comprehensible experiments
 • Facilitating simultaneous test execution
 • Integration with existing devices/forms
What are some of the most typical test issues
 • Too many test scenarios to create and execute
 • Lack of time/effort to test all those scenarios
 • Detection of defects late in the cycle
 • Ad-hoc test plans (it is a commonly used term for software testing performed without
planning and documentation. The tests are intended to be run only once, unless a defect is
discovered. Ad hoc testing is the least formal test method.)
 • Duplicate/redundant test scenarios
 • Inadequate understanding of the test space
Many teams today use an ad hoc design method for test
planning which results in:
 • Spending a lot time and effort on testing while still finding simple
problems late in the cycle
 • Tests that mix requirements with implementation
 • Too many test cases to create , execute and maintain
 • Lack of ability to identify which tests are missing
 • Lack of ability to quantify the risk of testing less or the value of testing
more
 • Insufficient hardware to execute all of your tests.
 • Lengthy and often painful test plan reviews
 • Volumes of test result data that makes it difficult, or impossible, to
analyze results
Combinatorial Test Design provides a structured, tool
based design methodology which results in:
 • A repeatable test design process that doesn't depend solely on the
experience of the test team
 • Improved the test planning process
 • Consistent coverage without test duplication
 • A test plan that is well positioned for effective test automation
strategies.
 • The minimum number of test cases needed for known interaction level
 • Improved ability to predict code quality
Traditional method vs Combinatorial
Testing
Combinatorial Testing
Pairwise testing
 Test information demonstrates that around 60-95% of issues happen
because of collaboration of two parameters. So if every one of the 2-way
blends are tried, a high rate of mistakes could be identified. Testing 2-route
blends of designs or potentially information sources is known as pairwise
testing.
 Three-way collaborations and higher
 However pairwise testing won't be adequate relying upon the use of the
product. There is a possibility of 3% errors. So by three way or higher
degree its more accurate and precise. It is proven that 6-way test can
attain 100% accuracy and precision but for the time being we just have
softwares that can undertake pairwise testing.
Pairwise testing (a type of CT)
 ‘Pairwise Testing’ is also known as ‘All-Pairs Testing’.
 Smart testing is the need of the hour. 90% of the times system testing team
has to work with tight schedules. So test design techniques should be very
effective for maximum test coverage and high defect yield rate.
 Pairwise Testing is a test design technique that delivers high per cent of test
coverage.
 The output of a software application depends on many factors e.g. input
parameters, state variables and environment configurations. Techniques like
boundary value analysis and equivalence partitioning can be useful to identify
the possible values for individual factors. But it is impractical to test all possible
combinations of values for all those factors. So instead a subset of
combinations is generated to satisfy all factors.
Pairwise Testing
 It is a black-box test design technique in which test cases are designed to
execute all possible discrete combinations of each pair of input
parameters.
 All-Pairs technique is very helpful for designing tests for applications
involving multiple parameters. Tests are designed such that for each pair of
input parameters to a system, there are all possible discrete combinations
of those parameters. The test suite covers all combinations; therefore it is
not exhaustive yet very effective in finding bugs.
Pairwise Testing Example (Car Ordering Application)
 •The car ordering application allows for Buying and Selling cars. It should
support trading in Delhi and Mumbai. It should have a registration number,
may be valid or invalid. It should allow the trade of following cars: BMW,
Audi, and Mercedes.Two types of booking can be done: E-booking and In
Store.Orders can be placed only during trading hours.
 Step #1: Let’s list down the variables involved.
 1) Order category
 a. Buy
 b. Sell
 2) Location
 a. Delhi
 b. Mumbai
Pairwise Testing Example (Car
Ordering Application)
 3) Car brand
 a. BMW
 b. Audi
 c. Mercedes
 4) Registration numbers
 a. Valid (5000)
 b. Invalid
 5) Order type
 a. E-Booking
 b. In store
 6) Order time
 a. Working hours
 b. Non-working hours
Continued example
 If we want to test all possible valid combinations:
 = 2 X 2 X 3 X 5000 X 2 X 2
 = 240000 There are also an infinite number of invalid combinations.
 Step #2: Let’s simplify
 – Use a smart representative sample.
 – Use groups and boundaries, even when data is non-discrete.
 – Reduce Registration Number to Two
 1. Valid registration number
 2. Invalid registration number
 Now let’s calculate number of possible combinations
 = 2 X 2 X 3 X 2 X 2 X 2
 = 96
Continued example
 Arranging variables and values involved.
 Arrange variables to create test suite
 After comparing, substituting and simplifying, these 96 test
cases turns out to be just 8 test cases
 So CT reduces the number of test cases significantly.
Tools for pairwise testing
 Tools are available that applies all-pairs testing technique that facilitates us to
effectively automate the Test Case Design process by generating a compact
set of parameter value choices as the desired Test Cases.
 Some well-known tools from the industry are:
 •PICT – ‘Pairwise Independent Combinatorial Testing’, provided by Microsoft
Corp.
 •IBM FoCuS – ‘Functional Coverage Unified Solution’, provided by IBM.
 •ACTS – ‘Advanced Combinatorial Testing System’, provided by NIST, an
agency of the US Government.
 •Hexawise
 •Pairwiser by Inductive AS
PICT – Pairwise Independent Combinatorial
Testing
 Given a set of N independent test factors—f1, f2, ..., fN—with each
factor fi having Li possible levels—fi = {li,1, ..., li,Li}—a set of tests R
is produced. Each test in R contains N test levels, one for each test-
factor fi; and, collectively, all tests in R cover all possible pairs of
test-factor levels (belonging to different parameters); in other words,
for each pair of factor levels li,p and lj,q—where 1 ! p ! Li, 1 ! q ! Lj,
and i " j—there exists at least one test in R that contains both li,p and
lj,q. This concept can easily be extended from covering all pairs to
covering any t-wise combinations in which 1 ! t ! N.
Exhaustive test cases vs pairwise test
cases
Why is PICT the best till date?
 It provides the most flexible environment for testing.
 Generating all possible valid test cases
 Creating parameter hierarchy-User can give a priority sequence for testing
 Excluding unwanted combinations
 All in all there is a need for improvement and such new softwares so that
CT advances in the near future and this can then lessen the software
rework upto a very great extent.
Conclusion of pairwise testing(a type of CT)
 Pairwise testing technique can reduce the number of combinations to be
covered but remains very effective in terms of fault detection.
 It is indeed a smart test design technique that guarantees a win-win
situation for both test effort and test effectiveness.
 During the Test planning phase of software testing, Pairwise testing
technique should always be taken into consideration. Either we are doing it
manually or using any tool to generate test cases, it becomes a necessary
component of the test plan because it in turn affects Test estimation.
References
 Applying Combinatorial Testing in Industrial Settings Xuelin Li, Ruizhi
Gao, W. Eric Wong 2016 IEEE International Conference on Software Quality,
Reliability and Security
 http://ieeexplore.ieee.org.sci-hub.cc/xpl/articleDetails.jsp?arnumber=7528947
 http://ieeexplore.ieee.org.sci-hub.cc/xpl/articleDetails.jsp?arnumber=7226066
 http://ieeexplore.ieee.org.sci-hub.cc/xpl/articleDetails.jsp?arnumber=7573724
 http://ieeexplore.ieee.org/document/6200155
 An Industry Proof-of-Concept Demonstration of Automated Combinatorial Test
Redge Bartholomew Rockwell Collins Cedar Rapids, Ia., USA
 Internet sources-Google,ieee,wikipedia

More Related Content

What's hot

Performance Testing
Performance TestingPerformance Testing
Performance Testing
sharmaparish
 
Web Application Testing
Web Application TestingWeb Application Testing
Web Application Testing
Richa Goel
 
Unit testing
Unit testing Unit testing
Unit testing
Mani Kanth
 
Introduction to Automation Testing
Introduction to Automation TestingIntroduction to Automation Testing
Introduction to Automation Testing
Archana Krushnan
 
SOFTWARE TESTING
SOFTWARE TESTINGSOFTWARE TESTING
SOFTWARE TESTING
Priyanka Karancy
 
UNIT TESTING PPT
UNIT TESTING PPTUNIT TESTING PPT
UNIT TESTING PPT
suhasreddy1
 
Test cases
Test casesTest cases
Test cases
Chandra Maddigapu
 
Basic software-testing-concepts
Basic software-testing-conceptsBasic software-testing-concepts
Basic software-testing-concepts
medsherb
 
Non-Functional testing
Non-Functional testingNon-Functional testing
Non-Functional testing
Kanoah
 
5 black box and grey box testing
5   black box and grey box testing5   black box and grey box testing
5 black box and grey box testing
Yisal Khan
 
Software Testing
Software TestingSoftware Testing
Software Testing
Ecaterina Moraru (Valica)
 
Integration testing
Integration testingIntegration testing
Integration testing
queen jemila
 
functional testing
functional testing functional testing
functional testing
bharathanche
 
Test automation process
Test automation processTest automation process
Test automation process
Bharathi Krishnamurthi
 
Software Engineering (Testing techniques)
Software Engineering (Testing techniques)Software Engineering (Testing techniques)
Software Engineering (Testing techniques)
ShudipPal
 
Black Box Testing
Black Box TestingBlack Box Testing
Black Box Testing
Testbytes
 
Types of software testing
Types of software testingTypes of software testing
Types of software testing
Prachi Sasankar
 
Unit Testing Concepts and Best Practices
Unit Testing Concepts and Best PracticesUnit Testing Concepts and Best Practices
Unit Testing Concepts and Best Practices
Derek Smith
 
Regression testing
Regression testingRegression testing
Regression testing
Mohua Amin
 
Black box software testing
Black box software testingBlack box software testing
Black box software testing
Rana Muhammad Asif
 

What's hot (20)

Performance Testing
Performance TestingPerformance Testing
Performance Testing
 
Web Application Testing
Web Application TestingWeb Application Testing
Web Application Testing
 
Unit testing
Unit testing Unit testing
Unit testing
 
Introduction to Automation Testing
Introduction to Automation TestingIntroduction to Automation Testing
Introduction to Automation Testing
 
SOFTWARE TESTING
SOFTWARE TESTINGSOFTWARE TESTING
SOFTWARE TESTING
 
UNIT TESTING PPT
UNIT TESTING PPTUNIT TESTING PPT
UNIT TESTING PPT
 
Test cases
Test casesTest cases
Test cases
 
Basic software-testing-concepts
Basic software-testing-conceptsBasic software-testing-concepts
Basic software-testing-concepts
 
Non-Functional testing
Non-Functional testingNon-Functional testing
Non-Functional testing
 
5 black box and grey box testing
5   black box and grey box testing5   black box and grey box testing
5 black box and grey box testing
 
Software Testing
Software TestingSoftware Testing
Software Testing
 
Integration testing
Integration testingIntegration testing
Integration testing
 
functional testing
functional testing functional testing
functional testing
 
Test automation process
Test automation processTest automation process
Test automation process
 
Software Engineering (Testing techniques)
Software Engineering (Testing techniques)Software Engineering (Testing techniques)
Software Engineering (Testing techniques)
 
Black Box Testing
Black Box TestingBlack Box Testing
Black Box Testing
 
Types of software testing
Types of software testingTypes of software testing
Types of software testing
 
Unit Testing Concepts and Best Practices
Unit Testing Concepts and Best PracticesUnit Testing Concepts and Best Practices
Unit Testing Concepts and Best Practices
 
Regression testing
Regression testingRegression testing
Regression testing
 
Black box software testing
Black box software testingBlack box software testing
Black box software testing
 

Similar to Combinatorial testing ppt

Combinatorial testing
Combinatorial testingCombinatorial testing
Combinatorial testing
Kedar Kumar
 
Orthogonal array approach a case study
Orthogonal array approach   a case studyOrthogonal array approach   a case study
Orthogonal array approach a case study
Karthikeyan Rajendran
 
A Productive Method for Improving Test Effectiveness
A Productive Method for Improving Test EffectivenessA Productive Method for Improving Test Effectiveness
A Productive Method for Improving Test Effectiveness
Shradha Singh
 
Week 14 Unit Testing.pptx
Week 14  Unit Testing.pptxWeek 14  Unit Testing.pptx
Week 14 Unit Testing.pptx
mianshafa
 
Testing
TestingTesting
Testing
nazeer pasha
 
Testing Software Solutions
Testing Software SolutionsTesting Software Solutions
Testing Software Solutions
gavhays
 
Regression Optimizer
Regression OptimizerRegression Optimizer
Regression Optimizer
Shradha Singh
 
A beginners guide to testing
A beginners guide to testingA beginners guide to testing
A beginners guide to testing
Philip Johnson
 
30 February 2005 QUEUE rants [email protected] DARNEDTestin.docx
30  February 2005  QUEUE rants [email protected] DARNEDTestin.docx30  February 2005  QUEUE rants [email protected] DARNEDTestin.docx
30 February 2005 QUEUE rants [email protected] DARNEDTestin.docx
tamicawaysmith
 
Test design techniques
Test design techniquesTest design techniques
Test design techniques
Oksana
 
A PARTICLE SWARM OPTIMIZATION TECHNIQUE FOR GENERATING PAIRWISE TEST CASES
A PARTICLE SWARM OPTIMIZATION TECHNIQUE FOR GENERATING PAIRWISE TEST CASESA PARTICLE SWARM OPTIMIZATION TECHNIQUE FOR GENERATING PAIRWISE TEST CASES
A PARTICLE SWARM OPTIMIZATION TECHNIQUE FOR GENERATING PAIRWISE TEST CASES
Kula Sekhar Reddy Yerraguntla
 
How to Actually DO High-volume Automated Testing
How to Actually DO High-volume Automated TestingHow to Actually DO High-volume Automated Testing
How to Actually DO High-volume Automated Testing
TechWell
 
Software testing mtech project in jalandhar
Software testing mtech project in jalandharSoftware testing mtech project in jalandhar
Software testing mtech project in jalandhar
deepikakaler1
 
Software testing mtech project in ludhiana
Software testing mtech project in ludhianaSoftware testing mtech project in ludhiana
Software testing mtech project in ludhiana
deepikakaler1
 
International Journal of Engineering Research and Development (IJERD)
International Journal of Engineering Research and Development (IJERD)International Journal of Engineering Research and Development (IJERD)
International Journal of Engineering Research and Development (IJERD)
IJERD Editor
 
testing
testingtesting
testing
Rashmi Deoli
 
201008 Software Testing Notes (part 1/2)
201008 Software Testing Notes (part 1/2)201008 Software Testing Notes (part 1/2)
201008 Software Testing Notes (part 1/2)
Javier Gonzalez-Sanchez
 
Software testing
Software testingSoftware testing
Software testing
Enamul Haque
 
The Automation Firehose: Be Strategic and Tactical by Thomas Haver
The Automation Firehose: Be Strategic and Tactical by Thomas HaverThe Automation Firehose: Be Strategic and Tactical by Thomas Haver
The Automation Firehose: Be Strategic and Tactical by Thomas Haver
QA or the Highway
 
Continuous delivery test strategies
Continuous delivery test strategiesContinuous delivery test strategies
Continuous delivery test strategies
Hylke Stapersma
 

Similar to Combinatorial testing ppt (20)

Combinatorial testing
Combinatorial testingCombinatorial testing
Combinatorial testing
 
Orthogonal array approach a case study
Orthogonal array approach   a case studyOrthogonal array approach   a case study
Orthogonal array approach a case study
 
A Productive Method for Improving Test Effectiveness
A Productive Method for Improving Test EffectivenessA Productive Method for Improving Test Effectiveness
A Productive Method for Improving Test Effectiveness
 
Week 14 Unit Testing.pptx
Week 14  Unit Testing.pptxWeek 14  Unit Testing.pptx
Week 14 Unit Testing.pptx
 
Testing
TestingTesting
Testing
 
Testing Software Solutions
Testing Software SolutionsTesting Software Solutions
Testing Software Solutions
 
Regression Optimizer
Regression OptimizerRegression Optimizer
Regression Optimizer
 
A beginners guide to testing
A beginners guide to testingA beginners guide to testing
A beginners guide to testing
 
30 February 2005 QUEUE rants [email protected] DARNEDTestin.docx
30  February 2005  QUEUE rants [email protected] DARNEDTestin.docx30  February 2005  QUEUE rants [email protected] DARNEDTestin.docx
30 February 2005 QUEUE rants [email protected] DARNEDTestin.docx
 
Test design techniques
Test design techniquesTest design techniques
Test design techniques
 
A PARTICLE SWARM OPTIMIZATION TECHNIQUE FOR GENERATING PAIRWISE TEST CASES
A PARTICLE SWARM OPTIMIZATION TECHNIQUE FOR GENERATING PAIRWISE TEST CASESA PARTICLE SWARM OPTIMIZATION TECHNIQUE FOR GENERATING PAIRWISE TEST CASES
A PARTICLE SWARM OPTIMIZATION TECHNIQUE FOR GENERATING PAIRWISE TEST CASES
 
How to Actually DO High-volume Automated Testing
How to Actually DO High-volume Automated TestingHow to Actually DO High-volume Automated Testing
How to Actually DO High-volume Automated Testing
 
Software testing mtech project in jalandhar
Software testing mtech project in jalandharSoftware testing mtech project in jalandhar
Software testing mtech project in jalandhar
 
Software testing mtech project in ludhiana
Software testing mtech project in ludhianaSoftware testing mtech project in ludhiana
Software testing mtech project in ludhiana
 
International Journal of Engineering Research and Development (IJERD)
International Journal of Engineering Research and Development (IJERD)International Journal of Engineering Research and Development (IJERD)
International Journal of Engineering Research and Development (IJERD)
 
testing
testingtesting
testing
 
201008 Software Testing Notes (part 1/2)
201008 Software Testing Notes (part 1/2)201008 Software Testing Notes (part 1/2)
201008 Software Testing Notes (part 1/2)
 
Software testing
Software testingSoftware testing
Software testing
 
The Automation Firehose: Be Strategic and Tactical by Thomas Haver
The Automation Firehose: Be Strategic and Tactical by Thomas HaverThe Automation Firehose: Be Strategic and Tactical by Thomas Haver
The Automation Firehose: Be Strategic and Tactical by Thomas Haver
 
Continuous delivery test strategies
Continuous delivery test strategiesContinuous delivery test strategies
Continuous delivery test strategies
 

More from Kedar Kumar

Data mining final report
Data mining final reportData mining final report
Data mining final report
Kedar Kumar
 
Big data project
Big data projectBig data project
Big data project
Kedar Kumar
 
.net programming using asp.net to make web project
 .net programming using asp.net to make web project .net programming using asp.net to make web project
.net programming using asp.net to make web project
Kedar Kumar
 
educational website report
educational website reporteducational website report
educational website report
Kedar Kumar
 
Storage final rev
Storage final revStorage final rev
Storage final rev
Kedar Kumar
 
Wireless multimedia sensor networking
Wireless multimedia sensor networkingWireless multimedia sensor networking
Wireless multimedia sensor networking
Kedar Kumar
 

More from Kedar Kumar (6)

Data mining final report
Data mining final reportData mining final report
Data mining final report
 
Big data project
Big data projectBig data project
Big data project
 
.net programming using asp.net to make web project
 .net programming using asp.net to make web project .net programming using asp.net to make web project
.net programming using asp.net to make web project
 
educational website report
educational website reporteducational website report
educational website report
 
Storage final rev
Storage final revStorage final rev
Storage final rev
 
Wireless multimedia sensor networking
Wireless multimedia sensor networkingWireless multimedia sensor networking
Wireless multimedia sensor networking
 

Recently uploaded

Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...
Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...
Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...
IJECEIAES
 
spirit beverages ppt without graphics.pptx
spirit beverages ppt without graphics.pptxspirit beverages ppt without graphics.pptx
spirit beverages ppt without graphics.pptx
Madan Karki
 
Eric Nizeyimana's document 2006 from gicumbi to ttc nyamata handball play
Eric Nizeyimana's document 2006 from gicumbi to ttc nyamata handball playEric Nizeyimana's document 2006 from gicumbi to ttc nyamata handball play
Eric Nizeyimana's document 2006 from gicumbi to ttc nyamata handball play
enizeyimana36
 
ML Based Model for NIDS MSc Updated Presentation.v2.pptx
ML Based Model for NIDS MSc Updated Presentation.v2.pptxML Based Model for NIDS MSc Updated Presentation.v2.pptx
ML Based Model for NIDS MSc Updated Presentation.v2.pptx
JamalHussainArman
 
CSM Cloud Service Management Presentarion
CSM Cloud Service Management PresentarionCSM Cloud Service Management Presentarion
CSM Cloud Service Management Presentarion
rpskprasana
 
Question paper of renewable energy sources
Question paper of renewable energy sourcesQuestion paper of renewable energy sources
Question paper of renewable energy sources
mahammadsalmanmech
 
2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf
2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf
2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf
Yasser Mahgoub
 
Textile Chemical Processing and Dyeing.pdf
Textile Chemical Processing and Dyeing.pdfTextile Chemical Processing and Dyeing.pdf
Textile Chemical Processing and Dyeing.pdf
NazakatAliKhoso2
 
CHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECT
CHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECTCHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECT
CHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECT
jpsjournal1
 
Advanced control scheme of doubly fed induction generator for wind turbine us...
Advanced control scheme of doubly fed induction generator for wind turbine us...Advanced control scheme of doubly fed induction generator for wind turbine us...
Advanced control scheme of doubly fed induction generator for wind turbine us...
IJECEIAES
 
Presentation of IEEE Slovenia CIS (Computational Intelligence Society) Chapte...
Presentation of IEEE Slovenia CIS (Computational Intelligence Society) Chapte...Presentation of IEEE Slovenia CIS (Computational Intelligence Society) Chapte...
Presentation of IEEE Slovenia CIS (Computational Intelligence Society) Chapte...
University of Maribor
 
Comparative analysis between traditional aquaponics and reconstructed aquapon...
Comparative analysis between traditional aquaponics and reconstructed aquapon...Comparative analysis between traditional aquaponics and reconstructed aquapon...
Comparative analysis between traditional aquaponics and reconstructed aquapon...
bijceesjournal
 
International Conference on NLP, Artificial Intelligence, Machine Learning an...
International Conference on NLP, Artificial Intelligence, Machine Learning an...International Conference on NLP, Artificial Intelligence, Machine Learning an...
International Conference on NLP, Artificial Intelligence, Machine Learning an...
gerogepatton
 
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
insn4465
 
Manufacturing Process of molasses based distillery ppt.pptx
Manufacturing Process of molasses based distillery ppt.pptxManufacturing Process of molasses based distillery ppt.pptx
Manufacturing Process of molasses based distillery ppt.pptx
Madan Karki
 
Engine Lubrication performance System.pdf
Engine Lubrication performance System.pdfEngine Lubrication performance System.pdf
Engine Lubrication performance System.pdf
mamamaam477
 
Recycled Concrete Aggregate in Construction Part III
Recycled Concrete Aggregate in Construction Part IIIRecycled Concrete Aggregate in Construction Part III
Recycled Concrete Aggregate in Construction Part III
Aditya Rajan Patra
 
132/33KV substation case study Presentation
132/33KV substation case study Presentation132/33KV substation case study Presentation
132/33KV substation case study Presentation
kandramariana6
 
Computational Engineering IITH Presentation
Computational Engineering IITH PresentationComputational Engineering IITH Presentation
Computational Engineering IITH Presentation
co23btech11018
 
5214-1693458878915-Unit 6 2023 to 2024 academic year assignment (AutoRecovere...
5214-1693458878915-Unit 6 2023 to 2024 academic year assignment (AutoRecovere...5214-1693458878915-Unit 6 2023 to 2024 academic year assignment (AutoRecovere...
5214-1693458878915-Unit 6 2023 to 2024 academic year assignment (AutoRecovere...
ihlasbinance2003
 

Recently uploaded (20)

Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...
Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...
Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...
 
spirit beverages ppt without graphics.pptx
spirit beverages ppt without graphics.pptxspirit beverages ppt without graphics.pptx
spirit beverages ppt without graphics.pptx
 
Eric Nizeyimana's document 2006 from gicumbi to ttc nyamata handball play
Eric Nizeyimana's document 2006 from gicumbi to ttc nyamata handball playEric Nizeyimana's document 2006 from gicumbi to ttc nyamata handball play
Eric Nizeyimana's document 2006 from gicumbi to ttc nyamata handball play
 
ML Based Model for NIDS MSc Updated Presentation.v2.pptx
ML Based Model for NIDS MSc Updated Presentation.v2.pptxML Based Model for NIDS MSc Updated Presentation.v2.pptx
ML Based Model for NIDS MSc Updated Presentation.v2.pptx
 
CSM Cloud Service Management Presentarion
CSM Cloud Service Management PresentarionCSM Cloud Service Management Presentarion
CSM Cloud Service Management Presentarion
 
Question paper of renewable energy sources
Question paper of renewable energy sourcesQuestion paper of renewable energy sources
Question paper of renewable energy sources
 
2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf
2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf
2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf
 
Textile Chemical Processing and Dyeing.pdf
Textile Chemical Processing and Dyeing.pdfTextile Chemical Processing and Dyeing.pdf
Textile Chemical Processing and Dyeing.pdf
 
CHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECT
CHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECTCHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECT
CHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECT
 
Advanced control scheme of doubly fed induction generator for wind turbine us...
Advanced control scheme of doubly fed induction generator for wind turbine us...Advanced control scheme of doubly fed induction generator for wind turbine us...
Advanced control scheme of doubly fed induction generator for wind turbine us...
 
Presentation of IEEE Slovenia CIS (Computational Intelligence Society) Chapte...
Presentation of IEEE Slovenia CIS (Computational Intelligence Society) Chapte...Presentation of IEEE Slovenia CIS (Computational Intelligence Society) Chapte...
Presentation of IEEE Slovenia CIS (Computational Intelligence Society) Chapte...
 
Comparative analysis between traditional aquaponics and reconstructed aquapon...
Comparative analysis between traditional aquaponics and reconstructed aquapon...Comparative analysis between traditional aquaponics and reconstructed aquapon...
Comparative analysis between traditional aquaponics and reconstructed aquapon...
 
International Conference on NLP, Artificial Intelligence, Machine Learning an...
International Conference on NLP, Artificial Intelligence, Machine Learning an...International Conference on NLP, Artificial Intelligence, Machine Learning an...
International Conference on NLP, Artificial Intelligence, Machine Learning an...
 
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
 
Manufacturing Process of molasses based distillery ppt.pptx
Manufacturing Process of molasses based distillery ppt.pptxManufacturing Process of molasses based distillery ppt.pptx
Manufacturing Process of molasses based distillery ppt.pptx
 
Engine Lubrication performance System.pdf
Engine Lubrication performance System.pdfEngine Lubrication performance System.pdf
Engine Lubrication performance System.pdf
 
Recycled Concrete Aggregate in Construction Part III
Recycled Concrete Aggregate in Construction Part IIIRecycled Concrete Aggregate in Construction Part III
Recycled Concrete Aggregate in Construction Part III
 
132/33KV substation case study Presentation
132/33KV substation case study Presentation132/33KV substation case study Presentation
132/33KV substation case study Presentation
 
Computational Engineering IITH Presentation
Computational Engineering IITH PresentationComputational Engineering IITH Presentation
Computational Engineering IITH Presentation
 
5214-1693458878915-Unit 6 2023 to 2024 academic year assignment (AutoRecovere...
5214-1693458878915-Unit 6 2023 to 2024 academic year assignment (AutoRecovere...5214-1693458878915-Unit 6 2023 to 2024 academic year assignment (AutoRecovere...
5214-1693458878915-Unit 6 2023 to 2024 academic year assignment (AutoRecovere...
 

Combinatorial testing ppt

  • 1. REVIEW-3 SOFTWARE TESTING ITE2004 USING COMBINATORIAL TESTING TO REDUCE SOFTWARE REWORK SERIAL NO. NAME REG.NUMBER 1 2 Kedar kumar 15BIT0268
  • 2. ANALYSIS:  Combination testing refers to tests that involve more than one variable.  A basic issue for multi-variable testing is called combinatorial blast. The more factors you join, the higher the quantity of tests. Combinatorial testing is about picking a couple tests that can show us what we have to think about, recommending that 6-way combinatorial testing would be adequate to trigger and recognize them. NIST built up a way to deal with consequently creating, executing, and investigating such tests.
  • 3. Why CT turns out to be cost effective?  Error detection in the code at the late stage is one of the most unwanted thing that should happen because detecting errors at the later stages needs more capital and much more software reworking. Basically CT provides the path to avoid such an issue  What causes software failures?  • Logic errors  • Calculation errors  • Interaction faults  • Inadequate input checking
  • 4. s  Combinatorial testing is a moderately new type of programming testing.  It depends on straightforward standards, for example, association control, pairwise testing, t-way connection testing, and so on.  Combinatorial testing can radically lessen testing times and expenses by diminishing the quantity of tests (i.e., decreasing number of experiments) to be performed.  Combinatorial testing permits us to choose a few parameters at any given moment, be it setups or sources of info, and test the blends in a manner that greater part of the deficiencies will become visible with least number of tests.
  • 5. The difficulties can be outlined into these four classifications:  • Test Modelling - recognition and straightforwardness  • Generating comprehensible experiments  • Facilitating simultaneous test execution  • Integration with existing devices/forms
  • 6. What are some of the most typical test issues  • Too many test scenarios to create and execute  • Lack of time/effort to test all those scenarios  • Detection of defects late in the cycle  • Ad-hoc test plans (it is a commonly used term for software testing performed without planning and documentation. The tests are intended to be run only once, unless a defect is discovered. Ad hoc testing is the least formal test method.)  • Duplicate/redundant test scenarios  • Inadequate understanding of the test space
  • 7. Many teams today use an ad hoc design method for test planning which results in:  • Spending a lot time and effort on testing while still finding simple problems late in the cycle  • Tests that mix requirements with implementation  • Too many test cases to create , execute and maintain  • Lack of ability to identify which tests are missing  • Lack of ability to quantify the risk of testing less or the value of testing more  • Insufficient hardware to execute all of your tests.  • Lengthy and often painful test plan reviews  • Volumes of test result data that makes it difficult, or impossible, to analyze results
  • 8. Combinatorial Test Design provides a structured, tool based design methodology which results in:  • A repeatable test design process that doesn't depend solely on the experience of the test team  • Improved the test planning process  • Consistent coverage without test duplication  • A test plan that is well positioned for effective test automation strategies.  • The minimum number of test cases needed for known interaction level  • Improved ability to predict code quality
  • 9. Traditional method vs Combinatorial Testing
  • 10. Combinatorial Testing Pairwise testing  Test information demonstrates that around 60-95% of issues happen because of collaboration of two parameters. So if every one of the 2-way blends are tried, a high rate of mistakes could be identified. Testing 2-route blends of designs or potentially information sources is known as pairwise testing.  Three-way collaborations and higher  However pairwise testing won't be adequate relying upon the use of the product. There is a possibility of 3% errors. So by three way or higher degree its more accurate and precise. It is proven that 6-way test can attain 100% accuracy and precision but for the time being we just have softwares that can undertake pairwise testing.
  • 11. Pairwise testing (a type of CT)  ‘Pairwise Testing’ is also known as ‘All-Pairs Testing’.  Smart testing is the need of the hour. 90% of the times system testing team has to work with tight schedules. So test design techniques should be very effective for maximum test coverage and high defect yield rate.  Pairwise Testing is a test design technique that delivers high per cent of test coverage.  The output of a software application depends on many factors e.g. input parameters, state variables and environment configurations. Techniques like boundary value analysis and equivalence partitioning can be useful to identify the possible values for individual factors. But it is impractical to test all possible combinations of values for all those factors. So instead a subset of combinations is generated to satisfy all factors.
  • 12. Pairwise Testing  It is a black-box test design technique in which test cases are designed to execute all possible discrete combinations of each pair of input parameters.  All-Pairs technique is very helpful for designing tests for applications involving multiple parameters. Tests are designed such that for each pair of input parameters to a system, there are all possible discrete combinations of those parameters. The test suite covers all combinations; therefore it is not exhaustive yet very effective in finding bugs.
  • 13. Pairwise Testing Example (Car Ordering Application)  •The car ordering application allows for Buying and Selling cars. It should support trading in Delhi and Mumbai. It should have a registration number, may be valid or invalid. It should allow the trade of following cars: BMW, Audi, and Mercedes.Two types of booking can be done: E-booking and In Store.Orders can be placed only during trading hours.  Step #1: Let’s list down the variables involved.  1) Order category  a. Buy  b. Sell  2) Location  a. Delhi  b. Mumbai
  • 14. Pairwise Testing Example (Car Ordering Application)  3) Car brand  a. BMW  b. Audi  c. Mercedes  4) Registration numbers  a. Valid (5000)  b. Invalid  5) Order type  a. E-Booking  b. In store  6) Order time  a. Working hours  b. Non-working hours
  • 15. Continued example  If we want to test all possible valid combinations:  = 2 X 2 X 3 X 5000 X 2 X 2  = 240000 There are also an infinite number of invalid combinations.  Step #2: Let’s simplify  – Use a smart representative sample.  – Use groups and boundaries, even when data is non-discrete.  – Reduce Registration Number to Two  1. Valid registration number  2. Invalid registration number  Now let’s calculate number of possible combinations  = 2 X 2 X 3 X 2 X 2 X 2  = 96
  • 16. Continued example  Arranging variables and values involved.  Arrange variables to create test suite  After comparing, substituting and simplifying, these 96 test cases turns out to be just 8 test cases  So CT reduces the number of test cases significantly.
  • 17. Tools for pairwise testing  Tools are available that applies all-pairs testing technique that facilitates us to effectively automate the Test Case Design process by generating a compact set of parameter value choices as the desired Test Cases.  Some well-known tools from the industry are:  •PICT – ‘Pairwise Independent Combinatorial Testing’, provided by Microsoft Corp.  •IBM FoCuS – ‘Functional Coverage Unified Solution’, provided by IBM.  •ACTS – ‘Advanced Combinatorial Testing System’, provided by NIST, an agency of the US Government.  •Hexawise  •Pairwiser by Inductive AS
  • 18. PICT – Pairwise Independent Combinatorial Testing  Given a set of N independent test factors—f1, f2, ..., fN—with each factor fi having Li possible levels—fi = {li,1, ..., li,Li}—a set of tests R is produced. Each test in R contains N test levels, one for each test- factor fi; and, collectively, all tests in R cover all possible pairs of test-factor levels (belonging to different parameters); in other words, for each pair of factor levels li,p and lj,q—where 1 ! p ! Li, 1 ! q ! Lj, and i " j—there exists at least one test in R that contains both li,p and lj,q. This concept can easily be extended from covering all pairs to covering any t-wise combinations in which 1 ! t ! N.
  • 19. Exhaustive test cases vs pairwise test cases
  • 20. Why is PICT the best till date?  It provides the most flexible environment for testing.  Generating all possible valid test cases  Creating parameter hierarchy-User can give a priority sequence for testing  Excluding unwanted combinations  All in all there is a need for improvement and such new softwares so that CT advances in the near future and this can then lessen the software rework upto a very great extent.
  • 21. Conclusion of pairwise testing(a type of CT)  Pairwise testing technique can reduce the number of combinations to be covered but remains very effective in terms of fault detection.  It is indeed a smart test design technique that guarantees a win-win situation for both test effort and test effectiveness.  During the Test planning phase of software testing, Pairwise testing technique should always be taken into consideration. Either we are doing it manually or using any tool to generate test cases, it becomes a necessary component of the test plan because it in turn affects Test estimation.
  • 22. References  Applying Combinatorial Testing in Industrial Settings Xuelin Li, Ruizhi Gao, W. Eric Wong 2016 IEEE International Conference on Software Quality, Reliability and Security  http://ieeexplore.ieee.org.sci-hub.cc/xpl/articleDetails.jsp?arnumber=7528947  http://ieeexplore.ieee.org.sci-hub.cc/xpl/articleDetails.jsp?arnumber=7226066  http://ieeexplore.ieee.org.sci-hub.cc/xpl/articleDetails.jsp?arnumber=7573724  http://ieeexplore.ieee.org/document/6200155  An Industry Proof-of-Concept Demonstration of Automated Combinatorial Test Redge Bartholomew Rockwell Collins Cedar Rapids, Ia., USA  Internet sources-Google,ieee,wikipedia