节点文献

一种路径测试数据自动生成方法

Data Automatic Generation Approach for Path Test

  • 推荐 CAJ下载
  • PDF下载
  • 不支持迅雷等下载工具,请取消加速工具后下载。

【作者】 曹洋胡春华陈少波李路明

【Author】 CAO Yang,HU Chun-hua,CHEN Shao-bo,LI Lu-ming(Institute of Man-Machine & Environment Engineering,School of Aerospace,Tsinghua University,Beijing 100084,China)

【机构】 清华大学航天航空学院人机与环境工程研究所

【摘要】 适应值函数的设计是决定测试数据生成质量和效率的关键,为此提出一种重叠路径结构,对程序路径进行描述,并设计基于遗传算法全路径比较的路径测试数据生成适应值函数。为测试数据生成算法定义生成时间期望的综合性能评价指标,以该指标与对照组算法进行比较实验。结果显示,该适应值函数能较好地平衡算法收敛性和消耗时间之间的矛盾。

【Abstract】 A structure of overlapped paths is proposed to extract the information of control flow and describe paths of a program.Two fitness functions are constructed to generate test data for path test based on genetic algorithms with whole path’s comparison.An indicator is defined to evaluate the synthesis performance of different fitness functions,and several other methods are selected for comparison with experiment.Results show that the two fitness functions balance the convergence and time consumption well.

【基金】 国家科技支撑计划基金资助项目(2009BAI79B03);国家自然科学基金资助项目(60906050/F040604);航天医学基础与应用国家重点实验室开放基金资助项目(SMFA09K08)
  • 【文献出处】 计算机工程 ,Computer Engineering , 编辑部邮箱 ,2011年09期
  • 【分类号】TP311.52
  • 【被引频次】13
  • 【下载频次】156
节点文献中: