首页> 外文期刊>Information Sciences: An International Journal >Automatic test data generation for path testing using GAs
【24h】

Automatic test data generation for path testing using GAs

机译:自动生成测试数据以使用GA进行路径测试

获取原文
获取原文并翻译 | 示例
           

摘要

Genetic algorithms (GAs) are inspired by Darwin's the survival of the fittest theory. This paper discusses a genetic algorithm that can automatically generate test cases to test a selected path. This algorithm takes a selected path as a target and executes sequences of operators iteratively for test cases to evolve. The evolved test case will lead the program execution to achieve the target path. To determine which test cases should survive to produce the next generation of fitter test cases, a metric named normalized extended Hamming distance (NEHD, which is used to determine whether the final test case is found) is developed. Based on NEHD, a fitness function named SIMILARITY is defined to determine which test cases should survive if the final test case has not been found. Even when there are loops in the target path, SIMILARITY can help the algorithm to lead the execution to flow along the target path. (C) 2001 Elsevier Science Inc. All rights reserved. [References: 21]
机译:遗传算法(GA)的灵感来自达尔文的优胜劣汰理论。本文讨论了一种遗传算法,该算法可以自动生成测试案例以测试选定的路径。该算法将选定的路径作为目标,并迭代执行操作符序列以使测试用例得以发展。演变后的测试用例将引导程序执行以达到目标路径。为了确定哪些测试用例可以幸存,以产生下一代的钳工测试用例,开发了一种度量,称为标准化扩展汉明距离(NEHD,用于确定是否找到最终测试用例)。基于NEHD,定义了一个名为SIMILARITY的适应度函数,以确定在未找到最终测试用例的情况下哪些测试用例应存活。即使目标路径中存在循环,SIMILARITY也可以帮助算法引导执行沿着目标路径流动。 (C)2001 Elsevier Science Inc.保留所有权利。 [参考:21]

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号