期刊文献+

基于混合遗传算法在测试用例生成中的研究 被引量:5

Test Case Generation Based on Hybrid Genetic Algorithm
下载PDF
导出
摘要 采用智能优化算法求解测试用例生成问题是软件测试自动化领域的研究热点。针对标准遗传算法在测试用例生成中的不足,提出基于混合遗传算法的生成方法。该算法结合分支覆盖和路径覆盖两个指标对适应度函数进行优化设计,以加快数据的优化过程。通过调节因子对自适应的交叉和变异算子进行改进,并引入模拟退火机制,提高算法的局部搜索能力。实验表明,该算法在测试用例生成中的求解质量和运行效率均优于标准遗传算法。 With intelligent optimization algorithm to solve test case generation problem is a research hotspot in the field of software test automation. Aiming at the shortcomings of standard genetic algorithm in test case generation, a hybrid genetic algorithm based generation method is proposed. The algorithm combines two indicators of branch coverage and path coverage to optimize the fitness function to speed up the data optimization process. The adaptive crossover and mutation operators are improved by the adjustment factor, and the simulated annealing mechanism is introduced to improve the local search ability of the algorithm. The experimental results show that the proposed algorithm is superior to the standard genetic algorithm in the quality and operational efficiency of test case generation.
作者 袁光辉 刘兆春 Yuan Guanghui;Liu Zhaochun(Jianghuai College of Anhui University, Hefei,Anhui 230031,China)
出处 《黑龙江工业学院学报(综合版)》 2019年第10期33-38,共6页 Journal of Heilongjiang University of Technology(Comprehensive Edition)
基金 安徽大学江淮学院自然科学研究重点项目“混合遗传算法在测试用例生成中的研究与应用”(编号:2017KJ0001) 安徽省高等学校自然科学研究重点项目“基于多光谱图像处理在林火监测中的应用研究”(编号:KJ2019A0913)
关键词 软件测试 测试用例 遗传算法 software test test case genetic algorithm
  • 相关文献

参考文献5

二级参考文献47

共引文献41

同被引文献30

引证文献5

二级引证文献4

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部