DocumentCode :
1864173
Title :
Applying Particle Swarm Optimization to Pairwise Testing
Author :
Chen, Xiang ; Gu, Qing ; Qi, Jingxian ; Chen, Daoxu
Author_Institution :
Dept. of Comput. Sci. & Technol., Nanjing Univ., Nanjing, China
fYear :
2010
fDate :
19-23 July 2010
Firstpage :
107
Lastpage :
116
Abstract :
Combinatorial testing (also called interaction testing) is an effective specification-based test input generation technique. By now most of research work in combinatorial testing aims to propose novel approaches trying to generate test suites with minimum size that still cover all the pairwise, triple, or n-way combinations of factors. Since the difficulty of solving this problem is demonstrated to be NP-hard, existing approaches have been designed to generate optimal or near optimal combinatorial test suites in polynomial time. In this paper, we try to apply particle swarm optimization (PSO), a kind of meta-heuristic search technique, to pairwise testing (i.e. a special case of combinatorial testing aiming to cover all the pairwise combinations). To systematically build pairwise test suites, we propose two different PSO based algorithms. One algorithm is based on one-test-at-a-time strategy and the other is based on IPO-like strategy. In these two different algorithms, we use PSO to complete the construction of a single test. To successfully apply PSO to cover more uncovered pairwise combinations in this construction process, we provide a detailed description on how to formulate the search space, define the fitness function and set some heuristic settings. To verify the effectiveness of our approach, we implement these algorithms and choose some typical inputs. In our empirical study, we analyze the impact factors of our approach and compare our approach to other well-known approaches. Final empirical results show the effectiveness and efficiency of our approach.
Keywords :
particle swarm optimisation; program debugging; program testing; search problems; NP-hard; combinatorial testing; meta-heuristic search technique; pairwise testing; particle swarm optimization; specification based test input generation technique; Arrays; Optimization; Particle swarm optimization; Software; Software engineering; Software testing; meta-heuristic search techniques; pairwise testing; particle swarm optimization; software testing;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Computer Software and Applications Conference (COMPSAC), 2010 IEEE 34th Annual
Conference_Location :
Seoul
ISSN :
0730-3157
Print_ISBN :
978-1-4244-7512-4
Electronic_ISBN :
0730-3157
Type :
conf
DOI :
10.1109/COMPSAC.2010.17
Filename :
5676343
Link To Document :
بازگشت