Sat 28 Aug 2021 05:10 - 05:20 - Testing—Test Prioritization and Selection Chair(s): Michalis Famelis
Large-scale services depend on Continuous Integration/Continuous Deployment (CI/CD) processes to maintain their agility and code-quality. Change-based testing plays an important role in finding bugs, but testing after every change is prohibitively expensive at a scale where thousands of changes are committed every hour. Test selection models deal with this issue by running a subset of tests for every change.
In this paper, we present a generic, language-agnostic and lightweight statistical model for test selection. Unlike existing techniques, the proposed model does not require complex feature extraction techniques. Consequently, it scales to hundreds of repositories of varying characteristics while capturing more than $99%$ of buggy pull requests. Additionally, to better evaluate test selection models, we propose application-specific metrics that capture both a reduction in resource cost and a reduction in pull-request turn-around time. By evaluating our model on 22 large repositories at Microsoft, we find that we can save $15%-30%$ of compute time while reporting back more than $\approx99%$ of buggy pull requests.
Fri 27 AugDisplayed time zone: Athens change
17:00 - 18:00 | Testing—Test Prioritization and SelectionIndustry Papers / Journal First / Research Papers +12h Chair(s): Wing Lam University of Illinois at Urbana-Champaign, Myra Cohen Iowa State University | ||
17:00 10mPaper | A Multi-Armed Bandit Approach for Test Case Prioritization in Continuous Integration Environments Journal First Jackson A. Prado Lima Federal University of Paraná, Silvia Regina Vergilio Federal University of Paraná Link to publication DOI Pre-print Media Attached | ||
17:10 10mPaper | Data-Driven Test Selection at Scale Industry Papers Sonu Mehta Microsoft Research, Farima Farmahinifarahani University of California at Irvine, Ranjita Bhagwan Microsoft Research, Suraj Guptha Microsoft, Sina Jafari Microsoft, Rahul Kumar Microsoft Research, Vaibhav Saini Microsoft, Anirudh Santhiar Microsoft DOI | ||
17:20 10mPaper | Automating System Test Case Classification and Prioritization for Use Case-Driven Testing in Product Lines Journal First Ines Hajri University of Luxembourg, Arda Goknil SINTEF Digital, Fabrizio Pastore University of Luxembourg, Lionel Briand University of Ottawa, Canada / University of Luxembourg, Luxembourg | ||
17:30 30mLive Q&A | Q&A (Testing—Test Prioritization and Selection) Research Papers |