首页> 外文会议>International conference on computational science and its applications >Automatic Test Data Generation Using a Genetic Algorithm
【24h】

Automatic Test Data Generation Using a Genetic Algorithm

机译:使用遗传算法自动生成测试数据

获取原文

摘要

The use of metaheuristic search techniques for the automatic generation of test data has been a burgeoning interest for many researchers in recent years. Previous attempts to automate the test generation process have been limited, having been constrained by the size and complexity of software, and the basic fact that in general, test data generation is an undecidable problem. Metaheuristic search techniques offer much promise in regard to these problems. Metaheuristic search techniques are high-level frameworks, which utilize heuristics to seek solutions for combinatorial problems at a reasonable computational cost. In this paper, we present a new evolutionary approach for automated test data generation for structural testing. Our method presents several noteworthy features: It uses a newly defined program modeling allowing an easy program manipulation. Furthermore, instead of affecting a unique value for each input variable, we assign to each input an interval. This representation has the advantage of delimiting first the input value and to refine the interval progressively. In this manner, the search space is explored more efficiently. We use an original fitness function, which expresses truthfully the individual quality. Furthermore, we define a crossover operator allowing to effectively improving individuals.
机译:近年来,元启发式搜索技术用于自动生成测试数据已成为许多研究人员的新兴兴趣。自动化测试生成过程的先前尝试受到了软件的大小和复杂性的限制,并且受一般事实的影响,即测试数据生成通常是一个无法确定的问题,因此受到了限制。元启发式搜索技术就这些问题提供了广阔的前景。元启发式搜索技术是高级框架,它利用启发式算法以合理的计算成本来寻找组合问题的解决方案。在本文中,我们提出了一种用于结构测试的自动测试数据生成的新进化方法。我们的方法具有几个值得注意的功能:它使用新定义的程序建模,可以轻松地进行程序操作。此外,我们不影响每个输入变量的唯一值,而是为每个输入分配一个间隔。这种表示的优点是首先定界输入值并逐步完善间隔。以这种方式,可以更有效地探索搜索空间。我们使用原始的健身功能,如实表达个人素质。此外,我们定义了一个交叉算子,可以有效地改善个人。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号