• Home
  • Search
  • Mitigating the effects of flaky tests on mutation testing
  • Open Access IconOpen Access
  • Cite Icon59
  • https://doi.org/10.1145/3293882.3330568Copy DOI Icon

Mitigating the effects of flaky tests on mutation testing

  • Jul 10, 2019
  • August Shi +2 more
Show More
  • Abstract
  • Literature Map
  • References
  • Citations
  • Similar Papers
Abstract

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%.

Similar Papers
  • Research Article
  • Citations2

Toward Improving the Quality of Mutation Operator and Test Case Effectiveness in Higher-Order Mutation Testing

  • Jul 20, 2022
  • Vietnam Journal of Computer Science
  • Van-Nho Do +2
  • Conference Article
  • Citations18

Mutode: generic JavaScript and Node.js mutation testing tool

  • Jul 12, 2018
  • Diego Rodríguez-Baquero +1
  • Conference Article
  • Citations23

SuMo: A Mutation Testing Strategy for Solidity Smart Contracts

  • May 01, 2021
  • Morena Barboni +2
  • Research Article
  • Citations3

OUTRIDER: Optimizing the mUtation Testing pRocess In Distributed EnviRonments

  • Jan 01, 2017
  • Procedia Computer Science
  • Pablo C Cañizares +2
  • Research Article

Improving students’ testing skill through mutation testing with modified feedback and training

  • May 22, 2026
  • Computer Science Education
  • Rifat Sabbir Mansur +4
  • Conference Article
  • Citations14

Evaluating the Effects of Compiler Optimizations on Mutation Testing at the Compiler IR Level

  • Oct 01, 2016
  • Farah Hariri +4
  • Conference Article
  • Citations21

On the Impact of Flaky Tests in Automated Program Repair

  • Mar 01, 2021
  • Yihao Qin +4
  • Research Article
  • Citations2

Introduction to the special issue on Mutation Testing

  • Aug 01, 2015
  • Software Testing, Verification and Reliability
  • Yue Jia +2
  • Research Article
  • Citations62

On guiding the augmentation of an automated test suite via mutation analysis

  • Aug 21, 2008
  • Empirical Software Engineering
  • Ben H Smith +1
  • Conference Article
  • Citations60

Does Mutation Testing Improve Testing Practices?

  • May 01, 2021
  • Goran Petrović +3
  • Supplementary Content
  • Citations3

Assessing test quality

  • Jan 01, 2011
  • Publications of the UdS (Saarland University)
  • David Schüler
  • Research Article
  • Citations142

Predictive Mutation Testing

  • Sep 01, 2019
  • IEEE Transactions on Software Engineering
  • Jie Zhang +5
  • Book Chapter
  • Citations17

Higher Order Mutation Testing to Drive Development of New Test Cases: An Empirical Comparison of Three Strategies

  • Jan 01, 2016
  • Quang Vu Nguyen +1
  • Conference Article
  • Citations8

Mutation testing meets approximate computing

  • May 01, 2017
  • Milos Gligoric +3
  • Book Chapter
  • Citations2

Comparison and Validation of Mutation Testing Tools Based on Java Language

  • Jan 01, 2022
  • Manju Khari
Cactus Communications logo

Copyright 2026 Cactus Communications. All rights reserved.