Adaptive Random Test Case Prioritization

被引:148
作者
Jiang, Bo [2 ]
Zhang, Zhenyu [2 ]
Chan, W. K. [1 ]
Tse, T. H. [2 ]
机构
[1] City Univ Hong Kong, Dept Comp Sci, Tat Chee Ave, Hong Kong, Hong Kong, Peoples R China
[2] Univ Hong Kong, Pokfulam, Hong Kong, Peoples R China
来源
2009 IEEE/ACM INTERNATIONAL CONFERENCE ON AUTOMATED SOFTWARE ENGINEERING, PROCEEDINGS | 2009年
基金
澳大利亚研究理事会;
关键词
Adaptive random testing; test case prioritization;
D O I
10.1109/ASE.2009.77
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Regression testing assures changed programs against unintended amendments. Rearranging the execution order of test cases is a key idea to improve their effectiveness. Paradoxically, many test case prioritization techniques resolve tie cases using the random selection approach, and yet random ordering of test cases has been considered as ineffective. Existing unit testing research unveils that adaptive random testing (ART) is a promising candidate that may replace random testing (RT). In this paper, we not only propose a new family of coverage-based ART techniques, but also show empirically that they are statistically superior to the RT-based technique in detecting faults. Furthermore, one of the ART prioritization techniques is consistently comparable to some of the best coverage-based prioritization techniques (namely, the "additional" techniques) and yet involves much less time cost.
引用
收藏
页码:233 / 244
页数:12
相关论文
共 28 条
[1]  
Chan KP, 2002, LECT NOTES COMPUT SC, V2349, P321
[2]   Quasi-random testing [J].
Chen, Tsong Yueh ;
Merkel, Robert .
IEEE TRANSACTIONS ON RELIABILITY, 2007, 56 (03) :562-568
[3]   An upper bound on software testing effectiveness [J].
Chen, Tsong Yueh ;
Merkel, Robert .
ACM TRANSACTIONS ON SOFTWARE ENGINEERING AND METHODOLOGY, 2008, 17 (03)
[4]   Adaptive Random Testing: The ART of test case diversity [J].
Chen, Tsong Yueh ;
Kuo, Fei-Ching ;
Merkel, Robert G. ;
Tse, T. H. .
JOURNAL OF SYSTEMS AND SOFTWARE, 2010, 83 (01) :60-66
[5]  
Chen TY, 2004, LECT NOTES COMPUT SC, V3321, P320
[6]  
CIUPA I, 2006, P 1 INT WORKSH RAND, P55
[7]  
Ciupa I., 2007, P 2007 INT S SOFTWAR, P84, DOI [10.1145/1273463.1273476, DOI 10.1145/1273463.1273476]
[8]  
Ciupa I, 2008, ICSE'08 PROCEEDINGS OF THE THIRTIETH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING, P71, DOI 10.1145/1368088.1368099
[9]   Prioritizing JUnit test cases: An empirical assessment and cost-benefits analysis [J].
Do, H ;
Rothermel, G ;
Kinneer, A .
EMPIRICAL SOFTWARE ENGINEERING, 2006, 11 (01) :33-70
[10]   Supporting controlled experimentation with testing techniques: An infrastructure and its potential impact [J].
Do, HS ;
Elbaum, S ;
Rothermel, G .
EMPIRICAL SOFTWARE ENGINEERING, 2005, 10 (04) :405-435