D e F laker: automatically detecting flaky tests
Open accessThe DOI matches its Crossref record; 38 of the 38 references it cites were found in a registry or an index.
Abstract
Developers often run tests to check that their latest changes to a code repository did not break any previously working functionality. Ideally, any new test failures would indicate regressions caused by the latest changes. However, some test failures may not be due to the latest changes but due to non-determinism in the tests, popularly called flaky tests. The typical way to detect flaky tests is to rerun failing tests repeatedly. Unfortunately, rerunning failing tests can be costly and can slow down the development cycle.
Overview
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Citations
Cites
Regression testing minimization, selection and prioritization: a survey
Yoo, S., & Harman, M. (2012) · Software Testing, Verification and Reliability · doi:10.1002/stv.430 · Cited by 1,322
A safe, efficient regression test selection technique
Rothermel, G., & Harrold, M. J. (1997) · ACM Transactions on Software Engineering and Methodology · doi:10.1145/248233.248262 · Cited by 712 · cited 1×
“In contrast, a regression test-selection tool [34, 39, 45, 66, 70]”
Software Change Impact Analysis
Arnold, R. S. (1996) · Medical Entomology and Zoology · Cited by 665
An empirical analysis of flaky tests
Luo, Q., Hariri, F., Eloussi, L., & Marinov, D. (2014) · Proceedings of the 22nd ACM SIGSOFT International Symposium on Foundations of Software Engineering · doi:10.1145/2635868.2635920 · Cited by 450 · cited 4×
“We also consulted a prior study of flaky tests [61], selecting from it 10 flaky tests (from 5 projects) that we could build and run.”
BackgroundMethodInfluentialSelf-citationChianti: a tool for change impact analysis of java programs
Ren, X., Shah, F., Tip, F., Ryder, B. G., & Chesley, O. (2004) · Proceedings of the 19th annual ACM SIGPLAN conference on Object-oriented programming, systems, languages, and applications · doi:10.1145/1028976.1029012 · Cited by 382 · cited 7×
“Change-impact analysis (CIA) techniques aim to determine the effects of source code changes, using static, dynamic, or combined analysis [31, 69, 71].”
BackgroundMethodInfluentialA systematic review on regression test selection techniques
Engström, E., Runeson, P., & Skoglund, M. (2010) · Information and Software Technology · doi:10.1016/j.infsof.2009.07.001 · Cited by 311 · cited 1×
“In contrast, a regression test-selection tool [34, 39, 45, 66, 70]”
Practical regression test selection with dynamic file dependencies
Gligoric, M., Eloussi, L., & Marinov, D. (2015) · Proceedings of the 2015 International Symposium on Software Testing and Analysis · doi:10.1145/2771783.2771784 · Cited by 216 · cited 11×
“More recent work has shown that in some contexts it can bemore cost-effective to model these changes more coarsely, greatly reducing the cost of the analysis, at the cost of some loss in precision [39].”
BackgroundMethodResultInfluentialSelf-citationTrade-offs in continuous integration: assurance, security, and flexibility
Hilton, M., Nelson, N., Tunnell, T., Marinov, D., & Dig, D. (2017) · Proceedings of the 2017 11th Joint Meeting on Foundations of Software Engineering · doi:10.1145/3106237.3106270 · Cited by 207 · cited 1×
“Similarly, Pivotal developers estimate that half of their build failures involve flaky tests [49], Labuschagne et al.”
BackgroundSelf-citationTravisTorrent: Synthesizing Travis CI and GitHub for Full-Stack Research on Continuous Integration
Beller, M., Gousios, G., & Zaidman, A. (2017) · 2017 IEEE/ACM 14th International Conference on Mining Software Repositories (MSR) · doi:10.1109/msr.2017.24 · Cited by 190 · cited 11×
“The live environment ran on the TravisCI platform.”
InfluentialMaximal sound predictive race detection with control flow abstraction
Huang, J., Meredith, P. O., & Rosu, G. (2014) · Proceedings of the 35th ACM SIGPLAN Conference on Programming Language Design and Implementation · doi:10.1145/2594291.2594315 · Cited by 183 · cited 1×
“We thank Traian Şerbănuţă and Grigore Roşu for help in debugging flaky tests using RV-Predict [50], and Alex Gyori for help in debugging flaky tests using NonDex [72].”
MethodEmpirically revisiting the test independence assumption
Zhang, S., Jalali, D., Wuttke, J., Muşlu, K., Lam, W., Ernst, M. D., & Notkin, D. (2014) · Proceedings of the 2014 International Symposium on Software Testing and Analysis · doi:10.1145/2610384.2610404 · Cited by 154 · cited 2×
“This approach is safe: it always detects the use of type T in the absence of test-order dependencies [25, 26, 43, 85], similar to the regression-test selection tool Ekstazi [39].”
MethodUnderstanding myths and realities of test-suite evolution
Pinto, L. S., Sinha, S. K., & Orso, A. (2012) · ACM Joint European Software Engineering Conference and Symposium on the Foundations of Software Engineering (ESEC/FSE) · doi:10.1145/2393596.2393634 · Cited by 154 · cited 1×
“This evaluationmethodology is common in recent studies on regression testing [26, 32, 39, 41, 59, 60, 68, 73].”
MethodResidual test coverage monitoring
Pavlopoulou, C., & Young, M. (1999) · Proceedings/Proceedings - International Conference on Software Engineering · doi:10.1145/302405.302637 · Cited by 153 · cited 1×
“In some ways, DeFlaker is an extension of residual coverage, a high-level approach to reduce the overhead of program coverage tracking by only tracking code that has not-yet been covered [67].”
BackgroundEfficient instrumentation for code coverage testing
Tikir, M. M., & Hollingsworth, J. K. (2002) · ACM SIGSOFT Software Engineering Notes · doi:10.1145/566171.566186 · Cited by 138
Regression Test Selection Techniques: A Survey
Biswas, S., Mall, R., Satpathy, M., & Sukumaran, S. (2011) · Informatica · Cited by 136
A differencing algorithm for object-oriented programs
Apiwattanapong, T., Orso, A., & Harrold, M. J. (2004) · Automated Software Engineering · doi:10.1109/ase.2004.5 · Cited by 132
An extensive study of static regression test selection in modern software evolution
Legunsen, O., Hariri, F., Shi, A., Lu, Y., Zhang, L., & Marinov, D. (2016) · ACM Joint European Software Engineering Conference and Symposium on the Foundations of Software Engineering (ESEC/FSE) · doi:10.1145/2950290.2950361 · Cited by 131 · cited 1×
“This evaluationmethodology is common in recent studies on regression testing [26, 32, 39, 41, 59, 60, 68, 73].”
MethodSelf-citationHybrid regression test selection
Zhang, L. (2018) · ACM/IEEE International Conference on Software Engineering: Companion Proceedings (ICSE-Companion) · doi:10.1145/3180155.3180198 · Cited by 128 · cited 1×
“DeFlaker takes a hybrid approach (similar to recent work in hybrid regression test selection [83]), benefiting from the low upfront analysis cost of class-level coverage, while often still achieving”
MethodAn empirical study of bugs in test code
Vahabzadeh, A., Fard, A. M., & Mesbah, A. (2015) · IEEE International Conference on Software Maintenance (ICSM) · doi:10.1109/icsm.2015.7332456 · Cited by 123 · cited 1×
“Flaky tests are frequent in most large software, and create problems in development, as described by many researchers and practitioners [1, 25, 26, 36, 37, 43, 44, 48, 51, 54, 56–58, 61, 62, 65, 76, 80, 82, 85].”
BackgroundNotice of Retraction: Does Refactoring of Test Smells Induce Fixing Flaky Tests?
Palomba, F., & Zaidman, A. (2017) · IEEE International Conference on Software Maintenance (ICSM) · doi:10.1109/icsme.2017.12 · Cited by 121 · cited 2×
“Flaky tests are frequent in most large software, and create problems in development, as described by many researchers and practitioners [1, 25, 26, 36, 37, 43, 44, 48, 51, 54, 56–58, 61, 62, 65, 76, 80, 82, 85].”
BackgroundMethodLocalizing failure-inducing program edits based on spectrum information
Zhang, L., Kim, M., & Khurshid, S. (2011) · 2011 27th IEEE International Conference on Software Maintenance (ICSM) · doi:10.1109/icsm.2011.6080769 · Cited by 110 · cited 3×
“Traditional approaches—e.g., JDiff [23], Chianti [69], DejaVOO [66], and FaultTracer [84]—model the dynamic dispatch behavior of the JVM to infer the exact semantics of each change.”
BackgroundHow does regression test prioritization perform in real-world software evolution?
Lu, Y., Lou, Y., Cheng, S., Zhang, L., Hao, D., Zhou, Y., & Zhang, L. (2016) · Proceedings of the 38th International Conference on Software Engineering · doi:10.1145/2884781.2884874 · Cited by 109 · cited 1×
“This evaluationmethodology is common in recent studies on regression testing [26, 32, 39, 41, 59, 60, 68, 73].”
MethodReliable testing: detecting state-polluting tests to prevent test dependency
Gyori, A., Shi, A., Hariri, F., & Marinov, D. (2015) · International Symposium on Software Testing and Analysis · doi:10.1145/2771783.2771793 · Cited by 107 · cited 2×
“This approach is safe: it always detects the use of type T in the absence of test-order dependencies [25, 26, 43, 85], similar to the regression-test selection tool Ekstazi [39].”
BackgroundMethodSelf-citationEmpirical evaluations of regression test selection techniques: a systematic review
Engström, E., Skoglund, M., & Runeson, P. (2008) · Proceedings of the Second ACM-IEEE international symposium on Empirical software engineering and measurement · doi:10.1145/1414004.1414011 · Cited by 103 · cited 1×
“have been proposed [35, 40, 45–47, 70, 86] and are summarized in two literature reviews [30, 81].”
BackgroundAutomated Behavioral Regression Testing
Jin, W., Orso, A., & Xie, T. (2010) · IEEE International Conference on Software Testing, Verification and Validation (ICST) · doi:10.1109/icst.2010.64 · Cited by 95 · cited 1×
“Similarly, reporting when a change is not covered may help test augmentation [55].”
BackgroundPractical Test Dependency Detection
Gambi, A., Bell, J., & Zeller, A. (2018) · IEEE International Conference on Software Testing, Verification and Validation (ICST) · doi:10.1109/icst.2018.00011 · Cited by 85 · cited 1×
“, can become flaky tests), and then repair those tests proactively [26, 38, 43, 72].”
BackgroundSelf-citationUnit test virtualization with VMVM
Bell, J., & Kaiser, G. E. (2014) · Proceedings/Proceedings - International Conference on Software Engineering · doi:10.1145/2568225.2568248 · Cited by 84 · cited 5×
“Bell and Kaiser [25] propose an approach to tolerate the effects of order-dependent tests by isolating them in the same JVM.”
BackgroundMethodInfluentialSelf-citationEfficient dependency detection for safe Java test acceleration
Bell, J., Kaiser, G. E., Melski, E., & Dattatreya, M. (2015) · ACM Joint European Software Engineering Conference and Symposium on the Foundations of Software Engineering (ESEC/FSE) · doi:10.1145/2786805.2786823 · Cited by 78 · cited 4×
“This approach is safe: it always detects the use of type T in the absence of test-order dependencies [25, 26, 43, 85], similar to the regression-test selection tool Ekstazi [39].”
BackgroundMethodInfluentialSelf-citationContribute, O. C. A. I. W. T. (2017) · Cited by 73
Jiang, H., Li, X., Yang, Z., & Xuan, J. (2017) · ACM/IEEE International Conference on Software Engineering: Companion Proceedings (ICSE-Companion) · doi:10.1109/icse.2017.71 · Cited by 70 · cited 2×
“When a test fails, developers need automated techniques that can help determine whether the failure is due to a flaky test or to a recently introduced regression [48, 54].”
BackgroundImproving oracle quality by detecting brittle assertions and unused inputs in tests
Huo, C., & Clause, J. (2014) · ACM Joint European Software Engineering Conference and Symposium on the Foundations of Software Engineering (ESEC/FSE) · doi:10.1145/2635868.2635917 · Cited by 70 · cited 1×
“Huo and Clause propose another technique that can detect such tests [51], although their technique was originally proposed to detect brittle assertions (that may cause non-deterministic failures).”
BackgroundKilling the Gatekeeper: Introducing a Continuous Integration System
Lacoste, F. J. (2009) · Agile Conference · doi:10.1109/agile.2009.35 · Cited by 64
Applying regression test selection for COTS-based applications
Zheng, J., Robinson, B., Williams, L. A., & Smiley, K. J. (2006) · ACM/IEEE International Conference on Software Engineering: Companion Proceedings (ICSE-Companion) · doi:10.1145/1134285.1134357 · Cited by 64 · cited 1×
“have been proposed [35, 40, 45–47, 70, 86] and are summarized in two literature reviews [30, 81].”
BackgroundZiftci, C., & Reardon, J. (2017) · IEEE/ACM International Conference on Software Engineering: Software Engineering in Practice (ICSE-SEIP) · doi:10.1109/icse-seip.2017.13 · Cited by 57 · cited 1×
“Even Google, with its vast compute resources, does not rerun all (failing) tests on every commit [64, 87] but reruns only those suspected to be flaky, and only outside of peak test execution times [64].”
BackgroundEmpirically detecting false test alarms using association rules
Herzig, K., & Nagappan, N. (2015) · doi:10.5555/2819009.2819018 · Cited by 49
Regression test selection across JVM boundaries
Çelik, A., Vasić, M., Milicevic, A., & Gligoric, M. (2017) · ACM Joint European Software Engineering Conference and Symposium on the Foundations of Software Engineering (ESEC/FSE) · doi:10.1145/3106237.3106297 · Cited by 43 · cited 2×
“This limitation is not fundamental, and indeed, DeFlaker could track more detailed dependencies between tests and external resources using approaches from regression test-selection work [26, 32].”
MethodFinding bugs by isolating unit tests
Muşlu, K., Soran, B., & Wuttke, J. (2011) · ACM Joint European Software Engineering Conference and Symposium on the Foundations of Software Engineering (ESEC/FSE) · doi:10.1145/2025113.2025202 · Cited by 41 · cited 1×
“Even when (re)running fewer tests, any Rerun strategy aside from Maven’s Rerun will incur the high computational cost of isolating tests in their own JVM as documented by prior work [25], or more if employing stronger isolation similar to our Reboot strategy [65].”
MethodAutomated testing of GUI applications: models, tools, and controlling flakiness
Memon, A. M., & Cohen, M. B. (2013) · doi:10.5555/2486788.2487046 · Cited by 38 · cited 1×
“Flaky tests are frequent in most large software, and create problems in development, as described by many researchers and practitioners [1, 25, 26, 36, 37, 43, 44, 48, 51, 54, 56–58, 61, 62, 65, 76, 80, 82, 85].”
Background
Cited by
Giray, G. (2021) · Journal of Systems and Software · doi:10.1016/j.jss.2021.111031 · Cited by 187
Understanding flaky tests: the developer’s perspective
Eck, M., Palomba, F., Castelluccio, M., & Bacchelli, A. (2019) · Proceedings of the 2019 27th ACM Joint Meeting on European Software Engineering Conference and Symposium on the Foundations of Software Engineering · doi:10.1145/3338906.3338945 · Cited by 169
A large-scale longitudinal study of flaky tests
Lam, W., Winter, S., Wei, A., Xie, T., Marinov, D., & Bell, J. (2020) · Proceedings of the ACM on Programming Languages · doi:10.1145/3428270 · Cited by 64
“Several projects have proposed techniques for detecting flaky tests [Bell et al. 2018; Gambi et al. 2018; Pinto et al. 2020; Terragni et al. 2020; Zhang et al. 2014].”
MethodSelf-citation
Metadata
- Authors
- Bell, J., Legunsen, O., Hilton, M., Eloussi, L., Yung, T., & Marinov, D.
- Venue
- Proceedings of the 40th International Conference on Software Engineering
- Publisher
- ACM
- Published
- 2018-05-27
- Pages
- 433-444
- ISSN
- 0270-5257 (ISSN-L)
- OpenAlex
- W2794756405
- Cited by
- 170
- References
- 38
- FWCI
- 14.92
- Type
- conference paper
- Language
- en
- Open access
- bronze
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.