首页> 外文会议>26th IEEE International Conference on Software Maintenance >Test generation via Dynamic Symbolic Execution for mutation testing
【24h】

Test generation via Dynamic Symbolic Execution for mutation testing

机译:通过动态符号执行生成测试以进行突变测试

获取原文

摘要

Mutation testing has been used to assess and improve the quality of test inputs. Generating test inputs to achieve high mutant-killing ratios is important in mutation testing. However, existing test-generation techniques do not provide effective support for killing mutants in mutation testing. In this paper, we propose a general test-generation approach, called PexMutator, for mutation testing using Dynamic Symbolic Execution (DSE), a recent effective test-generation technique. Based on a set of transformation rules, PexMutator transforms a program under test to an instrumented meta-program that contains mutant-killing constraints. Then PexMutator uses DSE to generate test inputs for the meta-program. The mutant-killing constraints introduced via instrumentation guide DSE to generate test inputs to kill mutants automatically. We have implemented our approach as an extension for Pex, an automatic structural testing tool developed at Microsoft Research. Our preliminary experimental study shows that our approach is able to strongly kill more than 80% of all the mutants for the five studied subjects. In addition, PexMutator is able to outperform Pex, a state-of-the-art test-generation tool, in terms of strong mutant killing while achieving the same block coverage.
机译:变异测试已用于评估和改善测试输入的质量。在突变测试中,生成测试输入以实现高的突变杀死率很重要。但是,现有的测试生成技术不能为突变测试中的杀死突变体提供有效的支持。在本文中,我们提出了一种通用的测试生成方法,称为PexMutator,用于使用动态符号执行(DSE)(一种最近有效的测试生成技术)进行突变测试。根据一组转换规则,PexMutator将被测程序转换为包含突变杀灭约束的插值元程序。然后,PexMutator使用DSE为元程序生成测试输入。通过仪器指南DSE引入的杀死突变体的约束条件可生成测试输入以自动杀死突变体。我们已将我们的方法实施为Pex的扩展,Pex是Microsoft Research开发的自动结构测试工具。我们的初步实验研究表明,对于五个研究对象,我们的方法能够强烈杀死80%以上的所有突变体。此外,就强大的突变体杀死能力而言,PexMutator能够胜过最新的测试生成工具Pex,同时达到相同的区块覆盖率。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号