首页> 外文期刊>Neural computing & applications >An approach for test data generation using program slicing and particle swarm optimization
【24h】

An approach for test data generation using program slicing and particle swarm optimization

机译:使用程序切片和粒子群优化的测试数据生成方法

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

摘要

Heuristic search-based test data generation has a potential higher efficiency in software testing with path covering. However, these approaches are suffered in covering the long and complex path. In this paper, we propose a method for generating test data based on program slicing and particle swarm optimization. With the interest points selected from a target path, we perform a program slicing to remove the statements which are irrelevant to the interest points. Our method simplifies the target path and the actual path to get a better fitness value. After program slices obtained, the population is evolved using particle swarm optimization to improve the efficiency of test data generation.
机译:基于启发式搜索的测试数据生成在具有路径覆盖的软件测试中具有潜在的更高效率。但是,这些方法在涵盖漫长而复杂的道路时会遇到困难。本文提出了一种基于程序切片和粒子群优化的测试数据生成方法。在从目标路径中选择了兴趣点的情况下,我们执行了一个程序切片,以删除与兴趣点无关的语句。我们的方法简化了目标路径和实际路径,以获得更好的适应性值。获得程序切片后,使用粒子群优化算法来进化总体,以提高测试数据生成的效率。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号