Taming Google-scale continuous testing
Atif M. Memon, Zebao Gao, Bao Nguyen et al. · 2017
Growth in Google's code size and feature churn rate has seen increased reliance on continuous integration (CI) and testing to maintain quality. Even with enormous resources dedicated to testing, we are unable to regression test each code change individually, resulting in increased lag time between code check-ins and test result feedback to developers. We report results of a project that aims to reduce this time by: (1) controlling test workload without compromising quality, and (2) distilling test results data to inform developers, while they write code, of the impact of their latest changes on quality. We model, empirically understand, and leverage the correlations that exist between our code, test cases, developers, programming languages, and code-change and test-execution frequencies, to improve our CI and development processes. Our findings show: very few of our tests ever fail, but those that do are generally "closer" to the code they test, certain frequently modified code and certain users/tools cause more breakages, and code recently modified by multiple developers (more than 3) breaks more often.
Cited by 234 works. doi:10.1109/icse-seip.2017.16
Authors
References
- Prioritizing test cases for regression testing
- Who should fix this bug?
- Predicting fault incidence using software change history
- A safe, efficient regression test selection technique
- Test case prioritization: a family of empirical studies
- Predicting the location and number of faults in large software systems
- Search Algorithms for Regression Test Case Prioritization
- Predicting defects using network analysis on dependency graphs
- Investigating quality factors in object-oriented designs
- An empirical analysis of flaky tests