Publication: A Survey of Flaky Tests
| dc.citation.epage | 74 | en_US |
| dc.citation.issue | 1 | en_US |
| dc.citation.spage | 1 | en_US |
| dc.citation.volume | 31 | en_US |
| dc.contributor.author | Parry, Owain | |
| dc.contributor.author | Kapfhammer, Gregory M. | |
| dc.contributor.author | Hilton, Michael | |
| dc.contributor.author | Mcminn, Phil | |
| dc.contributor.avlauthor | Kapfhammer, Gregory M. | |
| dc.contributor.department | Computer Science | en_US |
| dc.date.accessioned | 2022-11-09T18:54:48Z | |
| dc.date.available | 2022-11-09T18:54:48Z | |
| dc.date.issued | 2022-01 | |
| dc.description.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 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.version | Published article | en_US |
| dc.identifier.citation | Owain 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/3476105 | en_US |
| dc.identifier.doi | 10.1145/3476105 | |
| dc.identifier.issn | 1049-331X | |
| dc.identifier.issn | 1557-7392 | |
| dc.identifier.other | Article No.:17 | |
| dc.identifier.uri | https://dspace.allegheny.edu/handle/10456/55842 | |
| dc.language.iso | en_US | en_US |
| dc.publisher | Association for Computing Machinery | en_US |
| dc.relation.ispartof | ACM Transactions on Software Engineering and Methodology | en_US |
| dc.relation.isversionof | https://doi.org/10.1145/3476105 | en_US |
| dc.rights | Permission 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.subject | Flaky tests | en_US |
| dc.subject | Software testing | en_US |
| dc.title | A Survey of Flaky Tests | en_US |
| dspace.entity.type | Publication |