首页> 中文期刊> 《计算机技术与发展》 >NSGA-II面向多目标测试数据模型的生成

NSGA-II面向多目标测试数据模型的生成

         

摘要

测试数据的自动化生成的实现是软件测试自动化的重要研究项目。当前很多研究人员使用多种方法实现测试数据的自动生成,但生成的测试数据一般仅实现最大覆盖率的测试标准。在测试数据生成问题上,希望生成的测试数据能够达到最大的覆盖率,同时也希望生成的测试数据集越小越好,可以降低执行时间,同时提高执行效率。文中从覆盖标准和内存消耗两个方面对测试数据进行评估,采用多目标优化算法NSGA-域,实现同时满足最大分支覆盖率和最大内存分配的测试数据的自动生成。实验表明,NSGA-域算法生成的测试数据比其他多目标优化算法能更好地满足两个目标。%The realization of the test data automatic generation is an important research project of software test. At present many research-ers use a variety of methods to realize the automatic generation of test data,but the generated test data are generally only to achieve maxi-mum coverage rate. In test data generation,hope that generated test data can achieve maximum coverage rate and generated test data set is as small as possible,therefore reducing the execution time and improving the execution efficiency. To evaluate testing data from two as-pects of coverage standard and memory consumption,adopt multi-objective optimization algorithm,NSGA-II,to achieve automatic gen-eration of test data which satisfies the biggest branch coverage rate and the maximum memory allocation at the same time. The experimen-tal results show that the NSGA-IIto generate test data is better to meet the two goals than the other multi-objective optimization algo-rithms.

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号