DocumentCode :
501650
Title :
Generation of Pairwise Test Sets Using a Genetic Algorithm
Author :
McCaffrey, James D.
Author_Institution :
Microsoft MSDN, Redmond, WA, USA
Volume :
1
fYear :
2009
fDate :
20-24 July 2009
Firstpage :
626
Lastpage :
631
Abstract :
Pairwise testing is a combinatorial technique used to reduce the number of test case inputs to a system in situations where exhaustive testing with all possible inputs is not possible or prohibitively expensive. Given a set of input parameters where each parameter can take on one of a discrete set of values, a pairwise test set consists of a collection of vectors which captures all possible combinations of pairs of parameter values. The generation of minimal pairwise test sets has been shown to be an NP-complete problem and there have been several deterministic algorithms published. This paper presents the results of an investigation of generating pairwise test sets using a genetic algorithm. Compared with published results for deterministic pairwise test set generation algorithms, the genetic algorithm approach produced test sets which were comparable or better in terms of test set size in 39 out of 40 cases. However, the genetic algorithm approach required longer processing time than deterministic approaches in all cases. The results demonstrate that the generation of pairwise test sets using a genetic algorithm is possible, and suggest that the approach may be practical and useful in certain testing scenarios.
Keywords :
combinatorial mathematics; computational complexity; deterministic algorithms; genetic algorithms; program testing; software quality; NP-complete problem; combinatorial mathematics; combinatorial technique; deterministic algorithm; genetic algorithm; pairwise test set generation; software quality; software testing; Application software; Combinatorial mathematics; Computer applications; Genetic algorithms; NP-complete problem; Software quality; Software testing; System testing; USA Councils; Combinatorial mathematics; genetic algorithms; pairwise testing; software quality; software testing;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Computer Software and Applications Conference, 2009. COMPSAC '09. 33rd Annual IEEE International
Conference_Location :
Seattle, WA
ISSN :
0730-3157
Print_ISBN :
978-0-7695-3726-9
Type :
conf
DOI :
10.1109/COMPSAC.2009.91
Filename :
5254203
Link To Document :
بازگشت