首页> 中文期刊>电子测试 >基于遗传算法的路径测试用例的自动生成探讨

基于遗传算法的路径测试用例的自动生成探讨

     

摘要

在软件开发中进行软件测试是为了保证软件质量和可靠性。软件测试中测试数据合理设计很关键。如何优化测试数据,自动生成测试数据是人们一直研究的问题,本文针对测试用例的自动化生成进行了深入的研究,在分析遗传算法的基础上,设计了一个基于遗传算法的测试用例自动生成系统,仿真实践表明,本文设计的系统能够准确地自动生成满足指定路径的测试用例。具有很好的适应性,对程序路径是否被覆盖能智能判断,对不能完全覆盖的程序路径将给出最优解。%Software testing is an important means to ensure software quality and reliability.In the automatic generation of test data of the automatic generation of test cases,based on the in-depth research,using genetic algorithm based test data generation strategy,design the automatic generating system for path test data based on genetic algorithm,the experimental results show that,the automatic generation of test cases of the system can complete a set of target path,and can accurately generate test cases satisfying the specified path.At the same time,record which program path is covered and what path not covered,as are not fully covered will give optimal solution.

著录项

相似文献

  • 中文文献
  • 外文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号