[an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive]
[an error occurred while processing this directive]
相关技术

面向多路径覆盖的测试数据生成方法

  • 常瑞花 ,
  • 慕晓冬 ,
  • 沈晓卫 ,
  • 李琳琳
展开
  • 第二炮兵工程学院,西安 710025

常瑞花(1982-),女,山西太原人,讲师,博士研究生,研究方向:软件可靠性,软件测试。

收稿日期: 2010-12-29

  网络出版日期: 2025-05-30

基金资助

国防重点预研基金;国家高技术研究发展项目(2010AA7010213)

The Method of Test Data Generation for Multiple Paths

  • CHANG Ruihua ,
  • MU Xiaodong ,
  • SHEN Xiaowei ,
  • LI Linlin
Expand
  • The Second Artillery Engineering College, Xi'an 710025, China

Received date: 2010-12-29

  Online published: 2025-05-30

摘要

为了解决装备软件回归测试中测试数据的快速生成问题,提出了一种面向多路径覆盖的测试数据生成方法。该方法首先对遗传操作进行改进,然后设计覆盖多条路径的适应度函数,实现了算法的一次运行覆盖多条目的路径,提高了测试数据的覆盖率。在三角形分类经典程序和实际的装备软件模块上进行实例验证,仿真结果表明了该算法优于传统方法,是一种高效的面向多路径覆盖的测试数据生成方法。

本文引用格式

常瑞花 , 慕晓冬 , 沈晓卫 , 李琳琳 . 面向多路径覆盖的测试数据生成方法[J]. 弹箭与制导学报, 2011 , 31(5) : 165 -168 . DOI: 10.15892/j.cnki.djzdxb.2011.05.008

Abstract

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.

[an error occurred while processing this directive]

参考文献

[1]
Jin cherng L, Pu-Lin Y. Automatic test data generation for path testing using gas[J]. Information Sciences, 2001, 131(1/4): 47-64.
[2]
Bueno P, Jino M. Automatic test data generation for grogram path using genetic algorithms[J]. International Journal of Software Engineering and Knowledge Engineering, 2002, 12(6): 691-709.
[3]
英伟, 谢军, 奚红宇,等. 遗传算法在软件测试数据生成中的应用 [J]. 北京航空航天大学学报, 1998, 24(4): 434-437.
[4]
Ahmed M A, Hermadi I. GA-based multiple paths test data generator [J]. Computer and Operations Research, 2008, 35: 3107-3124.
[5]
王小平, 曹立明. 遗传算法:理论、应用与软件实现 [M]. 西安: 西安交通大学出版社, 2006.
[6]
Korel B. Automated software test data generation [J]. IEEE Transactions on Software Engineering, 1990, 16(8): 870-879.
文章导航

/

[an error occurred while processing this directive]