Publication:
A Survey of Flaky Tests

dc.citation.epage74en_US
dc.citation.issue1en_US
dc.citation.spage1en_US
dc.citation.volume31en_US
dc.contributor.authorParry, Owain
dc.contributor.authorKapfhammer, Gregory M.
dc.contributor.authorHilton, Michael
dc.contributor.authorMcminn, Phil
dc.contributor.avlauthorKapfhammer, Gregory M.
dc.contributor.departmentComputer Scienceen_US
dc.date.accessioned2022-11-09T18:54:48Z
dc.date.available2022-11-09T18:54:48Z
dc.date.issued2022-01
dc.description.abstractTests 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 article, 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.en_US
dc.description.versionPublished articleen_US
dc.identifier.citationOwain Parry, Gregory M. Kapfhammer, Michael Hilton, and Phil McMinn. 2021. A Survey of Flaky Tests. ACM Trans. Softw. Eng. Methodol. 31, 1, Article 17 (January 2022), 74 pages. https://doi.org/10.1145/3476105en_US
dc.identifier.doi10.1145/3476105
dc.identifier.issn1049-331X
dc.identifier.issn1557-7392
dc.identifier.otherArticle No.:17
dc.identifier.urihttps://dspace.allegheny.edu/handle/10456/55842
dc.language.isoen_USen_US
dc.publisherAssociation for Computing Machineryen_US
dc.relation.ispartofACM Transactions on Software Engineering and Methodologyen_US
dc.relation.isversionofhttps://doi.org/10.1145/3476105en_US
dc.rightsPermission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from permissions@acm.org. © 2021 Association for Computing Machinery.en_US
dc.subjectFlaky testsen_US
dc.subjectSoftware testingen_US
dc.titleA Survey of Flaky Testsen_US
dspace.entity.typePublication

Files

Original bundle

Now showing 1 - 1 of 1
Thumbnail Image
Name:
2022_01_01_Kapfhammer_Survey.pdf
Size:
1.91 MB
Format:
Adobe Portable Document Format
Description:

License bundle

Now showing 1 - 1 of 1
Thumbnail Image
Name:
license.txt
Size:
61 B
Format:
Item-specific license agreed upon to submission
Description: