【24h】

Bucketing Failing Tests via Symbolic Analysis

机译:通过符号分析进行失败桶测试

获取原文

摘要

A common problem encountered while debugging programs is the overwhelming number of test cases generated by automated test generation tools, where many of the tests are likely to fail due to same bug. Some coarse-grained clustering techniques based on point of failure (PFB) and stack hash (CSB) have been proposed to address the problem. In this work, we propose a new symbolic analysis-based clustering algorithm that uses the semantic reason behind failures to group failing tests into more "meaningful" clusters. We implement our algorithm within the KLEE symbolic execution engine; our experiments on 21 programs drawn from multiple benchmark-suites show that our technique is effective at producing more fine grained clusters as compared to the FSB and CSB clustering schemes. As a side-effect, our technique also provides a semantic characterization of the fault represented by each cluster—a precious hint to guide debugging. A user study conducted among senior undergraduates and masters students further confirms the utility of our test clustering method.
机译:调试程序时遇到的一个常见问题是由自动测试生成工具生成的大量测试用例,其中许多测试可能由于相同的错误而失败。已经提出了一些基于故障点(PFB)和堆栈哈希(CSB)的粗粒度聚类技术来解决该问题。在这项工作中,我们提出了一种新的基于符号分析的聚类算法,该算法使用失败背后的语义原因将失败的测试分组为更“有意义的”群集。我们在KLEE符号执行引擎中实现算法。我们对来自多个基准套件的21个程序的实验表明,与FSB和CSB聚类方案相比,我们的技术可以有效地产生更多的细粒度簇。作为副作用,我们的技术还提供了每个群集代表的故障的语义特征,这是指导调试的宝贵提示。在高年级本科生和硕士生之间进行的用户研究进一步证实了我们的测试聚类方法的实用性。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号