An Industrial Application of Mutation Testing: Lessons, Challenges, and Research Directions
An Industrial Application of Mutation Testing: Lessons, Challenges, and Research Directions
复制标题
突变测试的工业应用:经验教训、挑战和研究方向
DOI:
--
复制
发表时间:
2018
期刊:
影响因子:
--
通讯作者:
René Just
中科院分区:
文献类型:
--
作者:
Goran Petrović;M. Ivankovic;Bob Kurtz;P. Ammann;René Just
Mutation analysis evaluates a testing or debugging technique by measuring how well it detects mutants, which are systematically seeded, artificial faults. Mutation analysis is inherently expensive due to the large number of mutants it generates and due to the fact that many of these generated mutants are not effective; they are redundant, equivalent, or simply uninteresting and waste computational resources. A large body of research has focused on improving the scalability of mutation analysis and proposed numerous optimizations to, e.g., select effective mutants or efficiently execute a large number of tests against a large number of mutants. However, comparatively little research has focused on the costs and benefits of mutation testing, in which mutants are presented as testing goals to a developer, in the context of an industrial-scale software development process. This paper draws on an industrial application of mutation testing, involving 30,000+ developers and 1.9 million change sets, written in 4 programming languages. It shows that mutation testing with productive mutants does not add a significant overhead to the software development process and reports on mutation testing benefits perceived by developers. This paper also quantifies the costs of unproductive mutants, and the results suggest that achieving mutation adequacy is neither practical nor desirable. Finally, this paper describes lessons learned from these studies, highlights the current challenges of efficiently and effectively applying mutation testing in an industrial-scale software development process, and outlines research directions.
DOI:
10.1109/icse.2017.62
发表时间:
2017-05
期刊:
2017 IEEE/ACM 39th International Conference on Software Engineering (ICSE)
影响因子:
--
作者:
Spencer Pearson;José Campos;René Just;G. Fraser;Rui Abreu;Michael D. Ernst;D. Pang;Benjamin Keller-Benjamin-K
通讯作者:
Spencer Pearson;José Campos;René Just;G. Fraser;Rui Abreu;Michael D. Ernst;D. Pang;Benjamin Keller-Benjamin-K