首页> 外文期刊>Computer Science & Information Technology >Program Test Data Generation for Branch Coverage with Genetic Algorithm: Comparative Evaluation of A Maximization and Minimization Approach
【24h】

Program Test Data Generation for Branch Coverage with Genetic Algorithm: Comparative Evaluation of A Maximization and Minimization Approach

机译:遗传算法的分支覆盖程序测试数据生成:最大化和最小化方法的比较评估

获取原文
           

摘要

In search based test data generation, the problem of test data generation is reduced to that of function minimization or maximization.Traditionally, for branch testing, the problem of test data generation has been formulated as a minimization problem. In this paper we define an alternate maximization formulation and experimentally compare it with the minimization formulation. We use a genetic algorithm as the search technique and in addition to the usual genetic algorithm operators we also employ the path prefix strategy as a branch ordering strategy and memory and elitism. Results indicate that there is no significant difference in the performance or the coverage obtained through the two approaches and either could be used in test data generation when coupled with the path prefix strategy, memory and elitism.
机译:在基于搜索的测试数据生成中,测试数据生成的问题被简化为功能最小化或最大化的问题。传统上,对于分支测试,测试数据生成的问题已被表述为最小化问题。在本文中,我们定义了一个替代的最大化公式,并将其与最小化公式进行实验比较。我们使用遗传算法作为搜索技术,除了常用的遗传算法运算符外,我们还采用路径前缀策略作为分支排序策略以及记忆和精英主义。结果表明,通过两种方法获得的性能或覆盖范围没有显着差异,并且在与路径前缀策略,内存和精英主义结合使用时,均可用于测试数据生成。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号