Practical regression test selection with dynamic file dependencies
The DOI matches its Crossref record; 19 of the 19 references it cites were found in a registry or an index.
Abstract
Regression testing is important but can be time-intensive. One approach to speed it up is regression test selection (RTS), which runs only a subset of tests. RTS was proposed over three decades ago but has not been widely adopted in practice. Meanwhile, testing frameworks, such as JUnit, are widely adopted and well integrated with many popular build systems. Hence, integrating RTS in a testing framework already used by many projects would increase the likelihood that RTS is adopted. We propose a new, lightweight RTS technique, called Ekstazi, that can integrate well with testing frameworks. Ekstazi tracks dynamic dependencies of tests on files, and unlike most prior RTS techniques, Ekstazi requires no integration with version-control systems. We implemented Ekstazi for Java and JUnit, and evaluated it on 615 revisions of 32 open-source projects (totaling almost 5M LOC) with shorter- and longer-running test suites. The results show that Ekstazi reduced the end-to-end testing time 32% on average, and 54% for longer-running test suites, compared to executing all tests. Ekstazi also has lower end-to-end time than the existing techniques, despite the fact that it selects more tests. Ekstazi has been adopted by several popular open source projects, including Apache Camel, Apache Commons Math, and Apache CXF.
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
(1998) · PDCA/Test · doi:10.1201/9781420048131.axh · Cited by 1,900
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
Test case prioritization: a family of empirical studies
Elbaum, S., Malishevsky, A. G., & Rothermel, G. (2002) · IEEE Transactions on Software Engineering · doi:10.1109/32.988497 · Cited by 943 · cited 1×
“Elbaum et al. [19] and Di Nardo et al. [44] compared different granularity levels (e.g., statement vs. function) for test prioritization techniques.”
BackgroundSoftware testing techniques (2nd ed.)
Beizer, B. (1990) · Cited by 744
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 3×
“Orso et al. [45] present an RTS technique that combines class firewall and dangerous edges [50].”
MethodAn 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 1×
“If a test passes and fails for the same code revision, it is often called a “flaky test” [39].”
BackgroundSelf-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 1×
“The second pass can be started in parallel with the first or can be performed sequentially later.”
BackgroundTechniques for improving regression testing in continuous integration development environments
Elbaum, S., Rothermel, G., & Penix, J. (2014) · Proceedings of the 22nd ACM SIGSOFT International Symposium on Foundations of Software Engineering · doi:10.1145/2635868.2635910 · Cited by 327 · cited 2×
“Researchers have proposed many RTS techniques (e.g., [23, 27, 31–33, 50, 62]); En-gstr¨om et al. [22] present a survey of RTS, and Yoo and Harman [59] present a survey of regression testing including RTS.”
BackgroundMethodA 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 3×
“While RTS was proposed over three decades ago [22, 59], it has not been widely adopted in practice, except for the substantial success of the Google TAP system [20, 55, 57].”
BackgroundMethodTillmann, N., & Schulte, W. (2005) · Proceedings of the 10th European software engineering conference held jointly with 13th ACM SIGSOFT international symposium on Foundations of software engineering · doi:10.1145/1081706.1081749 · Cited by 213 · cited 1×
“Parameterized Tests: Recent versions of JUnit support parameterized unit tests [56].”
Method
Cited by
Usage, costs, and benefits of continuous integration in open-source projects
Hilton, M., Tunnell, T., Huang, K., Marinov, D., & Dig, D. (2016) · Proceedings of the 31st IEEE/ACM International Conference on Automated Software Engineering · doi:10.1145/2970276.2970358 · Cited by 342
Self-citationTaming Google-scale continuous testing
Memon, A., Gao, Z., Nguyen, B., Dhanda, S., Nickell, E., Siemborski, R., & Micco, J. (2017) · 2017 IEEE/ACM 39th International Conference on Software Engineering: Software Engineering in Practice Track (ICSE-SEIP) · doi:10.1109/icse-seip.2017.16 · Cited by 234
“Some recent studies show that better results can be achieved by selecting tests at a coarser (class-level) compared to a finer (method-level) granularity [17][19].”
BackgroundTrade-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
“While this can be done manually, developers should consider using advanced test selection/minimization approaches [4, 12, 16, 20, 54].”
BackgroundSelf-citationD e F laker: automatically detecting flaky tests
Bell, J., Legunsen, O., Hilton, M., Eloussi, L., Yung, T., & Marinov, D. (2018) · Proceedings of the 40th International Conference on Software Engineering · doi:10.1145/3180155.3180164 · Cited by 170
“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-citationA model for detecting faults in build specifications
Sotiropoulos, T., Chaliasos, S., Mitropoulos, D., & Spinellis, D. (2020) · Proceedings of the ACM on Programming Languages · doi:10.1145/3428212 · Cited by 17
Metadata
- Authors
- Gligoric, M., Eloussi, L., & Marinov, D.
- Venue
- Proceedings of the 2015 International Symposium on Software Testing and Analysis
- Publisher
- ACM
- Published
- 2015-07-13
- Pages
- 211-222
- OpenAlex
- W1985896931
- Cited by
- 216
- References
- 19
- FWCI
- 13.71
- Type
- conference paper
- Language
- en
- Open access
- closed
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.