Lune

Abstract

Software developers often rely on regression testing to ensure that recent changes made to the source code do not introduce bugs. Flaky tests, which non-deterministically pass or fail regardless of any change to the code, can negatively impact the effectiveness of the regression testing. While state-of-the-art is advancing the techniques for test-flakiness detection and mitigation, the community is missing a systematic approach for generating high-quality benchmarks of flaky tests to compare the effectiveness of such techniques. Inspired by the power of mutation testing in evaluating the fault-detection ability of tests, this paper proposes Croissant, a framework for injecting flakiness into the test suites to assess the effectiveness of test-flakiness detection tools in finding these tests. Croissant implements 18 flakiness-inducing mutation operators. We designed these operators to allow controlling the non-determinism involved in flakiness, i.e., making many mutants deterministically pass or fail to observe flaky behavior. Our extensive empirical evaluation of Croissant on the test suites of 15 real-world projects confirms the ability of designed mutation operators to generate high-quality mutants, and their effectiveness in challenging test-flakiness detection tools in revealing flaky tests.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

1 top-tier paper has cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • FlakeFlagger: Predicting Flakiness Without Rerunning Tests cites A large-scale longitudinal study of flaky tests
  • Preempting Flaky Tests via Non-Idempotent-Outcome Tests cites FlakeFlagger: Predicting Flakiness Without Rerunning Tests
  • Preempting Flaky Tests via Non-Idempotent-Outcome Tests cites A large-scale longitudinal study of flaky tests
  • Preempting Flaky Tests via Non-Idempotent-Outcome Tests cites Detecting flaky tests in probabilistic and machine learning applications
  • Preempting Flaky Tests via Non-Idempotent-Outcome Tests cites A study on the lifecycle of flaky tests
  • Detecting flaky tests in probabilistic and machine learning applications cites A study on the lifecycle of flaky tests
  • Test Flimsiness: Characterizing Flakiness Induced by Mutation to the Code Under Test cites FlakeFlagger: Predicting Flakiness Without Rerunning Tests
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers1

  1. Test Flimsiness: Characterizing Flakiness Induced by Mutation to the Code Under TestOwain Parry, Gregory M. Kapfhammer, Michael Hilton, Phil McMinnICSE 2026

Builds on7

  1. A study on the lifecycle of flaky testsWing Lam, Kivanç Muslu, Hitesh Sajnani, Suresh ThummalapentaICSE 2020 · 107 citations
  2. Detecting flaky tests in probabilistic and machine learning applicationsSaikat Dutta, August Shi, Rutvik Choudhary, Zhekun Zhang et al.ISSTA 2020 · 71 citations
  3. FlakeFlagger: Predicting Flakiness Without Rerunning TestsAbdulrahman Alshammari, Christopher Morris, Michael Hilton, Jonathan BellICSE 2021 · 63 citations
  4. A large-scale longitudinal study of flaky testsWing Lam, Stefan Winter, Anjiang Wei, Tao Xie et al.OOPSLA 2020 · 63 citations
  5. Preempting Flaky Tests via Non-Idempotent-Outcome TestsAnjiang Wei, Pu Yi, Zhengxi Li, Tao Xie et al.ICSE 2022 · 20 citations

Related papers

  1. FlakiMe: Laboratory-Controlled Test Flakiness Impact AssessmentMaxime Cordy, Renaud Rwemalika, Adriano Franci, Mike Papadakis et al.ICSE 2022 · 14 citations
  2. Detecting Flaky Tests by Controlling Nondeterministic API BehaviorHengchen Yuan, Jiefang Lin, August ShiOOPSLA 2026
  3. Ma11y: A Mutation Framework for Web Accessibility TestingMahan Tafreshipour, Anmol Vilas Deshpande, Forough Mehralian, Iftekhar Ahmed et al.ISSTA 2024 · 5 citations
  4. Do Automatic Test Generation Tools Generate Flaky Tests?Martin Gruber, Muhammad Firhard Roslan, Owain Parry, Fabian Scharnböck et al.ICSE 2024 · 12 citations
  5. Evolution-aware detection of order-dependent flaky testsChengpeng Li, August ShiISSTA 2022 · 12 citations
Dusk over the sea between two cliffs drawn in fine vertical lines