摘要
软件测试数据自动化生成技术是软件测试自动化的重要组成部分,为了进一步提高软件测试数据自动生成质量和效率,在建立软件测试数据自动生成模型的基础上融入一种改进的遗传算法,该算法通过引进自适应交叉算子和变异算子把模拟退火算法融入其中,很大程度上扩大了测试数据搜索生成范围,一定程度上克服了遗传算法的早熟收敛现象。
The automatic generation technology of software test data is an important part of software testing automation. In order to further improve the quality and efficiency of software test data, an improved genetic algorithm is integrated on the basis of establishing the automatic generation model of software test data. The algorithm is introduced by introducing adaptive crossover operator and change. Different operators integrate simulated annealing algorithm into it, which greatly expands the range of test data search generation, to some extent overcome the premature convergence of genetic algorithm.
引文
[1]刘双悦,王培东.一种基于改进遗传算法的面向路径测试用例自动生成方法[J].自动化技术与应用,2010,29(3):36-38.
[2]孙为.基于遗传算法的路径测试数据自动生成研究[J].计算机光盘软件与应用,2014(6):247-248.