摘要
为了解决装备软件回归测试中测试数据的快速生成问题,提出了一种面向多路径覆盖的测试数据生成方法。该方法首先对遗传操作进行改进,然后设计覆盖多条路径的适应度函数,实现了算法的一次运行覆盖多条目的路径,提高了测试数据的覆盖率。在三角形分类经典程序和实际的装备软件模块上进行实例验证,仿真结果表明了该算法优于传统方法,是一种高效的面向多路径覆盖的测试数据生成方法。
In order to generate test data quickly for regressing testing of software-intensive equipment,a method covering multiple target paths in one run was proposed.The main contributions of this paper lie in that evolution operators were improved and a fitness function for multiple-path test data generation was constructed.The rate of coverage was improved.Two case studies were used to check validity of the method.The experimental results show that the proposed method is more effective than traditional methods.
出处
《弹箭与制导学报》
CSCD
北大核心
2011年第5期165-168,共4页
Journal of Projectiles,Rockets,Missiles and Guidance
基金
国防重点预研基金
国家高技术研究发展项目(2010AA7010213)资助
关键词
测试数据
多路径
遗传算法
适应度函数
test data
multiple-path
genetic algorithm
fitness function