HybridCISave: A Combined Build and Test Selection Approach in Continuous Integration
dc.contributor.author | Jin, Xianhao | en |
dc.contributor.author | Servant, Francisco | en |
dc.date.accessioned | 2023-01-24T20:22:12Z | en |
dc.date.available | 2023-01-24T20:22:12Z | en |
dc.date.issued | 2023 | en |
dc.date.updated | 2023-01-23T15:13:21Z | en |
dc.description.abstract | Continuous integration (CI) is a popular practice in modern software engineering. Unfortunately, it is also a high cost practice --- Google and Mozilla estimate their CI systems in millions of dollars. To reduce the computational cost in CI, researchers developed approaches to selectively execute builds or tests that are likely to fail (and skip those likely to pass). In this paper, we present a novel hybrid technique (HybridCISave) to improve on the limitations of existing techniques: to provide higher cost savings and higher safety. To provide higher cost savings, HybridCISave combines techniques to predict and skip executions of both full builds that are predicted to pass and partial ones (only the tests in them predicted to pass). To provide higher safety, HybridCISave combines the prediction of multiple techniques to obtain stronger certainty before it decides to skip a build or test. We evaluated HybridCISave by comparing its effectiveness with the existing build selection techniques over 100 projects, and found that it provided higher cost savings at the highest safety. We also evaluated each design decision in HybridCISave and found that skipping both full and partial builds increased its cost savings and that combining multiple test selection techniques made it safer. | en |
dc.description.version | Accepted version | en |
dc.format.mimetype | application/pdf | en |
dc.identifier.doi | https://doi.org/10.1145/3576038 | en |
dc.identifier.uri | http://hdl.handle.net/10919/113407 | en |
dc.language.iso | en | en |
dc.publisher | ACM | en |
dc.rights | In Copyright | en |
dc.rights.holder | The author(s) | en |
dc.rights.uri | http://rightsstatements.org/vocab/InC/1.0/ | en |
dc.title | HybridCISave: A Combined Build and Test Selection Approach in Continuous Integration | en |
dc.type | Article - Refereed | en |
dc.type.dcmitype | Text | en |