Mitigating the effects of flaky tests on mutation testing
Mitigating the effects of flaky tests on mutation testing
复制标题
减轻片状测试对突变测试的影响
DOI:
10.1145/3293882.3330568
复制
发表时间:
2019
期刊:
影响因子:
--
通讯作者:
Marinov, Darko
中科院分区:
文献类型:
--
作者:
Shi, August;Bell, Jonathan;Marinov, Darko
Mutation testing is widely used in research as a metric for evaluating the quality of test suites. Mutation testing runs the test suite on generated mutants (variants of the code under test), where a test suite kills a mutant if any of the tests fail when run on the mutant. Mutation testing implicitly assumes that tests exhibit deterministic behavior, in terms of their coverage and the outcome of a test (not) killing a certain mutant. Such an assumption does not hold in the presence of flaky tests, whose outcomes can non-deterministically differ even when run on the same code under test. Without reliable test outcomes, mutation testing can result in unreliable results, e.g., in our experiments, mutation scores vary by four percentage points on average between repeated executions, and 9% of mutant-test pairs have an unknown status. Many modern software projects suffer from flaky tests. We propose techniques that manage flakiness throughout the mutation testing process, largely based on strategically re-running tests. We implement our techniques by modifying the open-source mutation testing tool, PIT. Our evaluation on 30 projects shows that our techniques reduce the number of "unknown" (flaky) mutants by 79.4%.
登录
查看更多内容
DOI:
--
发表时间:
2010
期刊:
2010 Third International Conference on Software Testing, Verification and Validation
影响因子:
--
作者:
David Schuler;A. Zeller
通讯作者:
A. Zeller
DOI:
--
发表时间:
2016
期刊:
International Symposium on Software Testing and Analysis
影响因子:
--
作者:
Henry Coles;Thomas Laurent;Christopher Henard;Mike Papadakis;Anthony Ventresque
通讯作者:
Anthony Ventresque
DOI:
--
发表时间:
2018
期刊:
International Conference on Software Testing, Verification and Validation Workshops
影响因子:
--
作者:
Goran Petrović;M. Ivankovic;Bob Kurtz;P. Ammann;René Just
通讯作者:
René Just
DOI:
--
发表时间:
2017
期刊:
IEEE International Conference on Software Maintenance and Evolution
影响因子:
--
作者:
Fabio Palomba;A. Zaidman
通讯作者:
A. Zaidman
DOI:
--
发表时间:
2017
期刊:
影响因子:
--
作者:
John Micco
通讯作者:
John Micco