arrow
返回

Contrasting test selection, prioritization, and batch testing at scale

delete2024-11-29
delete0
PRE
AI
E
Emad Fallahzadeh *
P
Peter C. Rigby
B
Bram Adams
DOI:10.1007/s10664-024-10589-8delete
delete原文链接
delete原文求助
delete分享
delete收藏
摘要

摘要

En 中文
The effectiveness of software testing is crucial for successful software releases, and various test optimization techniques aim to enhance this process by reducing the number of test executions or prioritizing potential test failures. Although different families of techniques exist, each with its own evaluation criteria, few studies have compared these different lines of research. This study addresses this gap by empirically comparing Yaraghi et al.'s test prioritization approach, Zhu et al.'s cross-build test prioritization and its equivalent test selection technique, and our BatchAll test batching algorithm. To evaluate these test optimization approaches, we empirically analyze millions of test results from Google Chrome, along with pre- and post-commit test outcomes for a Google project, as well as the JMRI Travis CI dataset. Findings reveal that test selection can reduce actual median feedback time by up to 96% with the same number of machines but may miss up to 55% of failures. In contrast, batching achieves up to a 99% reduction in feedback time without missing any failures. Test selection cuts machine usage by up to 66%, while batching achieves up to an 88% reduction. For failure detection, the test selection is up to 62 minutes faster than the baseline, and the batching algorithm achieves up to a 63-minute median improvement without missing failures. Regarding test execution time, test selection saves up to 66%, whereas batching's saving can reach up to 98%, although its performance varies based on the machines used. The studied test prioritization algorithms significantly underperform compared to the test selection and batching algorithms. In conclusion, this study provides practical recommendations for selecting appropriate test optimization algorithms based on the testing environment and failure loss tolerance.
Keyword:
Test selection
Test prioritization
Test batching
Test optimization
Parallel testing
Chrome testing

期刊

Empirical Software Engineering 封面图
Empirical Software Engineering
IF:
3.6
论文数:
2.0K
被引数:
5.3K

机构

Q
queens university - canada
学者数:
1.8W
论文数: 1.7W
被引数: 29
C
concordia university - canada
学者数:
8.0K
论文数: 8.9K
被引数: 4
引用论文

引用论文

A Collaborative Dictionary Learning Model for Nasopharyngeal Carcinoma Segmentation on Multimodalities MR Sequences
err2020-08-28
err0
errOAAI
errHaiyan Wang; Guoqiang Han; Haojiang Li; Guihua Tao; Enhong Zhuo; Lizhi Liu; Hongmin Cai; Yangming Ou
err分享
err收藏
Microclimate Variations with Wall Configurations for Chinese Solar Greenhouses
err2013-02-13
err0
PREAI
errHui Xu; Lan Jie Zhao; Guo Hong Tong; Yi Qing Cui; Tian Lai Li
err分享
err收藏
Deletion of the sex-determining gene SXI1α enhances the spread of mitochondrial introns in Cryptococcus neoformans
err2018-07-17
err0
errOAAI
errZhun Yan; Zhimin Li; Li Yan; Yongting Yu; Yi Cheng; Jia Chen; Yunyun Liu; Chunsheng Gao; Liangbin Zeng; Xiangping Sun; Litao Guo; Jianping Xu
err分享
err收藏
On the propagation of low‐frequency fluctuations in the plasma sheet: 2. Characterization of the MHD eigenmodes and physical implications
err2004-03-24
err0
errOAAI
errG. Fruit; P. Louarn; E. Budnik; J. A. Sauvaud; C. Jacquey; D. Le Quéau; H. Rème; E. Lucek; A. Balogh; N. Cornilleau‐Wehrlin
err分享
err收藏
err
IF0
err
err0
PREAI
err
err分享
err收藏
err
IF0
err
err0
PREAI
err
err分享
err收藏
Green chemistry
err2017-12-14
err0
PREAI
errAvtar Matharu; Eduardo Melo; Joseph A. Houghton
err分享
err收藏
学者 查看更多内容