Test Data Generation for Software Testing Based on Quantum-Inspired Genetic Algorithm
Test Data Generation for Software Testing Based on Quantum-Inspired Genetic Algorithm
复制标题
基于量子启发遗传算法的软件测试测试数据生成
DOI:
10.1142/s1469026813500041
复制
发表时间:
2013-03
影响因子:
1.8
通讯作者:
喻新欣
中科院分区:
文献类型:
--
作者:
毛澄映;喻新欣
The quality of test data has an important impact on the effect of software testing, so test data generation has always been a key task for finding the potential faults in program code. In structural testing, the primary goal is to cover some kinds of structure elements with some specific inputs. Search-based test data generation provides a rational way to handle this difficult problem. In the past, some well-known meta-heuristic search algorithms have been successfully utilized to solve this issue. In this paper, we introduce a variant of genetic algorithm (GA), called quantum-inspired genetic algorithm (QIGA), to generate the test data with stronger coverage ability. In this new algorithm, the traditional binary bit is replaced by a quantum bit (Q-bit) to enlarge the search space so as to avoid falling into local optimal solution. On the other hand, some other strategies such as quantum rotation gate and catastrophe operation are also used to improve algorithm efficiency and quality of test data. In addition, experimental analysis on eight real-world programs is performed to validate the effectiveness of our method. The results show that QIGA-based method can generate test data with higher coverage in much smaller convergence generations than GA-based method. More importantly, our proposed method is more robust for algorithm parameter change.
登录
查看更多内容
影响因子:
2.7
作者:
Gexiang Zhang
通讯作者:
Gexiang Zhang
影响因子:
14.3
作者:
Han, KH;Kim, JH
通讯作者:
Kim, JH
DOI:
--
发表时间:
1985-08
期刊:
--
影响因子:
--
作者:
D. Hedley;M. Hennell
通讯作者:
D. Hedley;M. Hennell
DOI:
10.1109/cec.2008.4630993
发表时间:
2008-06
期刊:
2008 IEEE Congress on Evolutionary Computation (IEEE World Congress on Computational Intelligence)
影响因子:
--
作者:
Jing Xiao;YuPing Yan;Ying-biao Lin;Ling Yuan;Jun Zhang
通讯作者:
Jing Xiao;YuPing Yan;Ying-biao Lin;Ling Yuan;Jun Zhang
DOI:
10.1142/9789814527224_0012
发表时间:
1999-10
期刊:
--
影响因子:
--
作者:
Jochen Heistermann
通讯作者:
Jochen Heistermann