首页> 外文会议>International Workshop on Search-Based Software Testing >Strong Mutation-Based Test Data Generation Using Hill Climbing
【24h】

Strong Mutation-Based Test Data Generation Using Hill Climbing

机译:使用爬坡的基于强变异的测试数据生成

获取原文

摘要

Mutation Testing is an effective test criterion for finding faults and assessing the quality of a test suite. Every test criterion requires the generation of test cases, which turns to be a manual and difficult task. In literature, search-based techniques are effective in generating structural-based test data. This fact motivates their use for mutation testing. Thus, if automatic test data generation can achieve an acceptable level of mutation score, it has the potential to greatly reduce the involved manual effort. This paper proposes an automated test generation approach, using hill climbing, for strong mutation. It incremental aims at strongly killing mutants, by focusing on mutants' propagation, i.e., how to kill mutants that are weakly killed but not strongly. Furthermore, the paper reports empirical results regarding the cost and effectiveness of the proposed approach on a set of 18 C programs. Overall, for the majority of the studied programs, the proposed approach achieved a higher strong mutation score than random testing, by 19,02% on average, and the previously proposed test generation techniques that ignore mutants' propagation, by 7,2% on average. Our results also demonstrate the improved efficiency of the proposed scheme over the previous methods.
机译:突变测试是发现故障和评估测试套件质量的有效测试标准。每个测试标准都需要生成测试用例,这变成了一项手动且艰巨的任务。在文献中,基于搜索的技术可有效地生成基于结构的测试数据。这一事实促使他们将其用于突变测试。因此,如果自动测试数据生成可以达到可接受的突变评分水平,则它有可能极大地减少所涉及的人工工作。本文提出了一种使用自动爬坡的自动测试生成方法来进行强突变的方法。通过关注突变体的繁殖,即增量杀灭被弱杀死但不被强烈杀死的突变体,它的增量旨在强力杀死突变体。此外,该论文还报告了在18 C程序集上所提出的方法的成本和有效性的实证结果。总体而言,对于大多数研究的程序,与随机测试相比,所提出的方法获得了更高的强突变得分,平均得分为19,02%,而先前提出的忽略突变体繁殖的测试生成技术则比随机测试获得了7.2%。平均。我们的结果还证明了所提出的方案比以前的方法具有更高的效率。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号