摘要
测试数据的自动生成是测试阶段最关键的技术问题,改进软件测试方法,对提高软件测试的自动化程度具有十分重要的现实意义;在测试数据的自动生成的方法中,遗传算法虽然取得了较好的效果,但是这种算法存在缺陷和局限性,而量子遗传算法改善了其不足之处;应用量子遗传算法解决软件测试数据生成问题,克服了传统的以测试数据为核心的测试方法的不足和缺陷,实验结果表明量子遗传算法的测试用例生成效率高于遗传算法;所以,量子遗传算法可以作为一种较为理想的算法进行测试数据的自动生成,对软件测试中的测试数据自动生成具有很强的使用价值。
Quantum genetic algorithm is applied to solve software test data generation problem, in order to overcome the traditional deficiencies and defects. Experimental results show that the quantum genetic algorithm to generate the test cases is more efficient than genetic algorithms. Therefore, quantum genetic algorithm can be used as an ideal algorithm for automatic generation of test data for software testing.
出处
《计算机测量与控制》
CSCD
北大核心
2010年第1期34-37,共4页
Computer Measurement &Control
关键词
软件测试
量子遗传算法
遗传算法
测试数据
software testing
quantum genetic algorithm
genetic algorithm
test data