首页> 外文会议>2011 Seventh International Conference on Natural Computation >Evolutionary generation of test data for path coverage with faults detection
【24h】

Evolutionary generation of test data for path coverage with faults detection

机译:用于故障检测的路径覆盖的测试数据的进化生成

获取原文

摘要

The aim of software testing is to find faults in the program under test. Previous methods of path-oriented test data generation can generate test data traversing target paths, but they may not guarantee to find faults in the program. We present a method of evolutionary generation of test data for path coverage with faults detection in this paper. First, we establish a mathematical model of the problem considered in this paper, in which the number of faults detected in the path traversed by test data, and the risk level of faults are optimization objectives, and the approach level of the traversed path from the target one is a constraint. Then, we generate test data using a multi-objective evolutionary optimization algorithm with constraints. Finally, we apply the proposed method in a benchmark program bubble sort and an industrial program totinfo, and compare it with the traditional method. The experimental results conform that our method can generate test data that not only traverse the target path but also detect faults in it. Our achievement provides a novel way to generate test data for path coverage with faults detection.
机译:软件测试的目的是发现被测程序中的错误。先前的面向路径的测试数据生成方法可以生成遍历目标路径的测试数据,但是它们可能无法保证在程序中发现错误。在本文中,我们提出了一种用于路径覆盖和故障检测的测试数据的进化生成方法。首先,我们建立了本文考虑的问题的数学模型,其中测试数据遍历的路径中检测到的故障数量,故障的风险级别是优化目标,而从测试路径遍历的路径的接近级别目标之一是约束。然后,我们使用具有约束的多目标进化优化算法生成测试数据。最后,将提出的方法应用于基准程序气泡排序和工业程序totinfo中,并将其与传统方法进行比较。实验结果表明,我们的方法可以生成不仅遍历目标路径而且还可以检测目标路径中的故障的测试数据。我们的成就为生成具有故障检测路径覆盖范围的测试数据提供了一种新颖的方法。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号