首页> 外文会议>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.
机译:突变测试已被用于评估和提高测试输入的质量。产生测试输入以实现高突变杀率比在突变测试中是重要的。然而,现有的测试技术不提供有效的突变测试中杀死突变体的有效支持。在本文中,我们提出了一种普遍的测试发电方法,称为PEXMUTORER,用于使用动态符号执行(DSE),最近有效的测试生成技术进行突变测试。基于一组转换规则,PEXMUTORATOR将被测程序转换为包含突变杀戮约束的仪器元程序。然后PexMutator使用DSE为元程序生成测试输入。通过仪器指导DSE引入的突变杀伤约束,以产生自动杀死突变体的测试输入。我们已经实施了我们作为PEX的扩展的方法,是在Microsoft Research开发的自动结构测试工具。我们的初步实验研究表明,我们的方法能够强烈杀死五个学习的受试者的所有突变体的80%以上。此外,在达到相同的块覆盖范围的同时,PexMutator能够以强烈的突变体杀死而倾斜,是最先进的测试生成工具。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号