基于IAG-ABC算法的路径覆盖测试用例生成技术
DOI:
CSTR:
作者:
作者单位:

作者简介:

通讯作者:

中图分类号:

基金项目:

国家自然科学基金项目(61502430、61562015),广西自然科学重点基金项目(2015GXNSFDA139038),浙江理工大学521人才培养计划项目资助


Path Coverage Test Case Generation Technology Based on IAG-ABC Algorithm
Author:
Affiliation:

Fund Project:

  • 摘要
  • |
  • 图/表
  • |
  • 访问统计
  • |
  • 参考文献
  • |
  • 相似文献
  • |
  • 引证文献
  • |
  • 资源附件
  • |
  • 文章评论
    摘要:

    针对遗传算法(genetic algorithm,GA)存在搜索初期收敛速度过快、易陷入局部最优解、未能充分结合搜索过程中的反馈信息,同时人工蜂群(artificial bee colony,ABC)算法存在初期寻优速度缓慢、局部搜索具有很大随机性等问题,对遗传算法和人工蜂群算法分别进行了改进,并将改进后的两种算法进行融合,实现两者的优势互补,提出了一种自适应遗传-蜂群(improved adaptive genetic-artificial bee colony, IAG-ABC)算法。采用路径覆盖信息设计引导算法搜索方向的适应度函数,并用IAG-ABC算法实现路径覆盖的测试用例生成,实验结果表明,相对于标准遗传算法和自适应遗传算法,IAG-ABC算法在测试用例生成效率和覆盖率上均有一定的优势。

    Abstract:

    The genetic algorithm (GA) has the issue of premature convergence, failing to make full use of feedback information and easy to fall into local optimum. At the same time, the artificial bee colony (ABC) algorithm has slow initial optimization speed and randomness local searching during the running time. This paper improves the genetic algorithm and artificial bee colony algorithm respectively. And the two improved algorithm are combined to propose an improved adaptive genetic-artificial bee colony (IAG-ABC) algorithm in order to realize the complementary advantages between the two algorithms. According to the approach level and branch distance to design fitness function and using the IAG-ABC algorithm to solve the test cases generation problem which based on path coverage. The experimental results show that the IAG-ABC algorithm has advantages about test case generation speed and path coverage rate when compare with GA and IAGA algorithm.

    参考文献
    相似文献
    引证文献
引用本文

张娜,张唯,徐璐,吴彪,包晓安.基于IAG-ABC算法的路径覆盖测试用例生成技术计算机测量与控制[J].,2019,27(6):190-193.

复制
分享
文章指标
  • 点击次数:
  • 下载次数:
  • HTML阅读次数:
  • 引用次数:
历史
  • 收稿日期:2018-11-18
  • 最后修改日期:2018-12-06
  • 录用日期:2018-12-06
  • 在线发布日期: 2019-06-12
  • 出版日期:
文章二维码