Paper record
W1991999918Efficient mutation testing by checking invariant violations
David Schüler, Valentin Dallmeier, Andreas Zeller
- Year
- 2009
- Venue
- ACM SIGSOFT International Symposium on Software Testing and Analysis (ISSTA)
- References
- 23
- Cited by
- 177
Details and counts from OpenAlex.
Abstract
Mutation testing measures the adequacy of a test suite by seeding artificial defects (mutations) into a program. If a mutation is not detected by the test suite, this usually means that the test suite is not adequate. However, it may also be that the mutant keeps the program's semantics unchanged-and thus cannot be detected by any test. Such equivalent mutants have to be eliminated manually, which is tedious. We assess the impact of mutations by checking dynamic invariants. In an evaluation of our JAVALANCHE framework on seven industrial-size programs, we found that mutations that violate invariants are significantly more likely to be detectable by a test suite. As a consequence, mutations with impact on invariants should be focused upon when improving test suites. With less than 3% of equivalent mutants, our approach provides an efficient, precise, and fully automatic measure of the adequacy of a test suite.