Test Case Prioritization for Continuous Regression Testing: An Industrial Case Study

被引:117
作者
Marijan, Dusica [1 ]
Gotlieb, Arnaud [1 ]
Sen, Sagar [1 ]
机构
[1] Certus Software V&V Ctr, Simula Res Lab, Lysaker, Norway
来源
2013 29TH IEEE INTERNATIONAL CONFERENCE ON SOFTWARE MAINTENANCE (ICSM) | 2013年
关键词
software testing; continuous integration; regression testing; test case prioritization; history-based prioritization;
D O I
10.1109/ICSM.2013.91
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Regression testing in continuous integration environment is bounded by tight time constraints. To satisfy time constraints and achieve testing goals, test cases must be efficiently ordered in execution. Prioritization techniques are commonly used to order test cases to reflect their importance according to one or more criteria. Reduced time to test or high fault detection rate are such important criteria. In this paper, we present a case study of a test prioritization approach ROCKET (Prioritization for Continuous Regression Testing) to improve the efficiency of continuous regression testing of industrial video conferencing software. ROCKET orders test cases based on historical failure data, test execution time and domain-specific heuristics. It uses a weighted function to compute test priority. The weights are higher if tests uncover regression faults in recent iterations of software testing and reduce time to detection of faults. The results of the study show that the test cases prioritized using ROCKET (1) provide faster fault detection, and (2) increase regression fault detection rate, revealing 30% more faults for 20% of the test suite executed, comparing to manually prioritized test cases.
引用
收藏
页码:540 / 543
页数:4
相关论文
共 9 条
[1]   Test suite prioritization by cost-based combinatorial interaction coverage [J].
Bryce, Renee C. ;
Sampath, Sreedevi ;
Pedersen, Jan B. ;
Manchester, Schuyler .
INTERNATIONAL JOURNAL OF SYSTEM ASSURANCE ENGINEERING AND MANAGEMENT, 2011, 2 (02) :126-134
[2]  
Do H., 2008, P 16 INT S FDN SOFTW
[3]  
Do H., 2008, ISTTA
[4]   Incorporating varying test costs and fault severities into test case prioritization [J].
Elbaum, S ;
Malishevsky, A ;
Rothermel, G .
PROCEEDINGS OF THE 23RD INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING, 2001, :329-338
[5]  
Orso A., 2003, Software Engineering Notes, V28, P128, DOI 10.1145/949952.940089
[6]  
Sherriff M., 2007, P 18 IEEE INT S SOFT
[7]  
Srikanth H., 2009, ISRE
[8]  
Srivastava A., 2002, INT S SOFT TEST AN
[9]  
Walcott K. R., 2006, ISSTA