首页> 外文OA文献 >A metamorphic testing approach for supporting program repair without the need for a test oracle
【2h】

A metamorphic testing approach for supporting program repair without the need for a test oracle

机译:一种变形测试方法,用于支持程序修复,无需测试oracle

摘要

Test suite based automated program repair (APR) relies on a test oracle to determine the execution result of individual test cases. The applicability of APR techniques, therefore, is limited by the fact that test oracles may not exist. Metamorphic Testing (MT) is a testing approach that, rather than checking the correctness of individual test outputs, checks testing results through verification of relations among multiple test cases and their outputs: MT can therefore be applied without test oracles. This paper presents an integration of MT with APR that enables application of APR without the need for a test oracle. Two important issues for this integration which have been thoroughly investigated and addressed are: (1) feasibility - which is addressed by proposing a framework to support the integration, and then presenting MT-GenProg, a tool incorporating MT with the popular APR technique GenProg; and (2) effectiveness - which is confirmed through an empirical study of GenProg and MT-GenProg on 1,143 program versions from the IntroClass benchmark suite, demonstrating MT-GenProg's comparable performance to GenProg, in terms of repair effectiveness. We conclude that the proposed integration is both practically feasible and effective, and thus successfully extends APR techniques to a broader application domain.
机译:基于测试套件的自动程序修复(APR)依赖于测试预案来确定各个测试用例的执行结果。因此,APR技术的适用性受到测试预言可能不存在这一事实的限制。变形测试(MT)是一种测试方法,它不检查单个测试输出的正确性,而是通过验证多个测试用例及其输出之间的关系来检查测试结果:因此,可以在没有测试预言的情况下应用MT。本文介绍了MT与APR的集成,该集成使APR的应用无需测试Oracle。已对此问题进行了彻底研究和解决的两个重要问题是:(1)可行性-通过提出一个支持集成的框架,然后提出MT-GenProg(一种将MT与流行的APR技术GenProg结合在一起的工具)来解决。 (2)有效性-通过对GenProg和MT-GenProg对IntroClass基准套件中的1,143个程序版本进行的实证研究得到证实,就维修效果而言,它证明了MT-GenProg与GenProg相当的性能。我们得出的结论是,所提出的集成在实践上既可行又有效,因此成功地将APR技术扩展到了更广泛的应用领域。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号