I recently hosted an episode of Software Engineering Radio called "Eran Yahav on the Tabnine AI Coding Assistant"!

  • Home
  • Teaching
    • Overview
    • Data Abstraction
    • Operating Systems
  • Research
    • Overview
    • Papers
    • Presentations
  • Outreach
    • Software
    • Service
    • Blog
  • About
    • Biography
    • Schedule
    • Contact
    • Blog
    • Service
    • Papers
    • Presentations

A survey of flaky tests

flaky tests
literature review
program repair
Transactions on Software Engineering and Methodology, 31:1
Authors

Owain Parry

Gregory M. Kapfhammer

Michael Hilton

Phil McMinn

Published

2022

Abstract
Tests that fail inconsistently, without changes to the code under test, are described as flaky. Flaky tests do not give a clear indication of the presence of software bugs, and thus limit the reliability of the test suites that contain them. A recent survey of software developers found that 59% claimed to deal with flaky tests on a monthly, weekly or daily basis. As well as being detrimental to developers, flaky tests have also been shown to limit the applicability of useful techniques in software testing research. In general, one can think of flaky tests as being a threat to the validity of any methodology that assumes the outcome of a test only depends on the source code it covers. In this paper, we systematically survey the body of literature relevant to flaky test research, amounting to 76 papers. We split our analysis into four parts, addressing the causes of flaky tests, their costs and consequences, detection strategies, and approaches for their mitigation and repair. Our findings and their implications have consequences for how the software testing community deals with test flakiness, pertinent to practitioners and of interest to those wanting to familiarize themselves with the research area.
Details

Paper
flake-it/flaky-tests-bibliography

Reference
@article{Parry2022,
 author = {Owain Parry and Gregory M. Kapfhammer and Michael Hilton and Phil
McMinn},
 journal = {Transactions on Software Engineering and Methodology},
 number = {1},
 title = {A survey of flaky tests},
 volume = {31},
 year = {2022}
}

Return to Paper Listing

GMK

Top