PIT: a practical mutation testing tool for Java (demo)

PIT: a practical mutation testing tool for Java (demo)
复制标题

PIT:实用的 Java 突变测试工具(演示)

DOI:
--
复制
发表时间:
2016
期刊:
International Symposium on Software Testing and Analysis
影响因子:
--
通讯作者:
Anthony Ventresque
Anthony Ventresque
中科院分区:
--
文献类型:
--
作者:
Henry Coles;Thomas Laurent;Christopher Henard;Mike Papadakis;Anthony Ventresque

文献摘要

被引文献

相似文献

突变测试引入了人工缺陷,以测量测试的充分性。如果候选测试可以将突变体与原始程序的行为区分开,则它们被认为具有良好的质量 - 否则开发人员需要设计新测试。尽管已证明此方法是有效的,但由于其要求的突变体和测试执行,行业规模的代码挑战了其适用性。在本文中,我们提出了PIT,这是一种适用于Java的实用突变测试工具,适用于现实世界代码库。 PIT在字节码上运行并优化了突变执行,因此很快。它也是强大的,并且与开发工具完全集成在一起,因为它可以通过命令行接口,蚂蚁或maven调用。坑也是开源的,因此,在\ url {http://pitest.org/}上公开获得。
Mutation testing introduces artificial defects to measure the adequacy of testing. In case candidate tests can distinguish the behaviour of mutants from that of the original program, they are considered of good quality -- otherwise developers need to design new tests. While, this method has been shown to be effective, industry-scale code challenges its applicability due to the sheer number of mutants and test executions it requires. In this paper we present PIT, a practical mutation testing tool for Java, applicable on real-world codebases. PIT is fast since it operates on bytecode and optimises mutant executions. It is also robust and well integrated with development tools, as it can be invoked through a command line interface, Ant or Maven. PIT is also open source and hence, publicly available at \url{http://pitest.org/}