首页> 外文会议>IEEE/ACM International Conference on Automated Software Engineering >Combining search-based and constraint-based testing
【24h】

Combining search-based and constraint-based testing

机译:组合搜索和约束基于约束的测试

获取原文

摘要

Many modern automated test generators are based on either meta-heuristic search techniques or use constraint solvers. Both approaches have their advantages, but they also have specific drawbacks: Search-based methods get stuck in local optima and degrade when the search landscape offers no guidance; constraint-based approaches, on the other hand, can only handle certain domains efficiently. In this paper we describe a method that integrates both techniques and delivers the best of both worlds. On a high-level view, our method uses a genetic algorithm to generate tests, but the twist is that during evolution a constraint solver is used to ensure that mutated offspring efficiently explores different control flow. Experiments on 20 case study examples show that on average the combination improves branch coverage by 28% over search-based techniques and by 13% over constraint-based techniques.
机译:许多现代自动化测试发生器基于元启发式搜索技术或使用约束求解器。这两种方法都有它们的优势,但它们也具有特定的缺点:基于搜索的方法在搜索景观提供没有指导时陷入本地最佳状态并降级;另一方面,基于约束的方法只能有效地处理某些域。在本文中,我们描述了一种整合两种技术并提供两全其世界的方法。在高级视图上,我们的方法使用遗传算法来生成测试,但是扭曲是在演化期间,使用约束求解器来确保突变的后代有效地探索不同的控制流程。在20个案例研究中的实验表明,平均组合在基于搜索的技术和基于约束的技术的基于搜索的技术和13%的基础上提高了28%的分支覆盖率。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号