Empirical studies of a safe regression test selection technique

被引:121
作者
Rothermel, G [1 ]
Harrold, MJ
机构
[1] Oregon State Univ, Dept Comp Sci, Corvallis, OR 97331 USA
[2] Ohio State Univ, Dept Comp & Informat Sci, Columbus, OH 43210 USA
基金
美国国家科学基金会;
关键词
software maintenance; regression testing; selective retest; regression test selection; empirical studies;
D O I
10.1109/32.689399
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Regression testing is an expensive testing procedure utilized to validate modified software. Regression test selection techniques attempt to reduce the cost of regression testing by selecting a subset of a program's existing test suite. Safe regression test selection techniques select subsets that, under certain well-defined conditions, exclude no tests (from the original test suite) that if executed would reveal faults in the modified software. Many regression test selection techniques, including several safe techniques, have been proposed, but few have been subjected to empirical validation. This paper reports empirical studies on a particular safe regression test selection technique, in which the technique is compared to the alternative regression testing strategy of running all tests. The results indicate that safe regression test selection can be cost-effective, but that its costs and benefits vary widely based on a number of factors. In particular, test suite design can significantly affect the effectiveness of test selection, and coverage-based test suites may provide test selection results superior to those provided by test suites that are not coverage-based.
引用
收藏
页码:401 / 419
页数:19
相关论文
共 41 条
[1]  
Agrawal H., 1993, Proceedings. Conference on Software Maintenance 1993. CSM-93 (Cat. No.93CH3360-5), P348, DOI 10.1109/ICSM.1993.366927
[2]  
[Anonymous], ELEMENTARY STAT
[3]   AUTOMATIC-GENERATION OF TEST SCRIPTS FROM FORMAL TEST SPECIFICATIONS [J].
BALCER, MJ ;
HASLING, WM ;
OSTRAND, TJ .
PROCEEDINGS OF THE ACM SIGSOFT 89: THIRD SYMPOSIUM ON SOFTWARE TESTING, ANALYSIS, AND VERIFICATION ( TAV 3 ), 1989, 14 :210-218
[4]  
Ball T., 1998, P INT S SOFTW TEST A
[5]  
BATES S, 1993, P 20 ACM S PRINC PRO
[6]  
Benedusi P., 1988, Proceedings of the Conference on Software Maintenance - 1988 (IEEE Cat. No.88CH2615-3), P352, DOI 10.1109/ICSM.1988.10187
[7]  
Binkely D., 1997, IEEE T SOFTWARE ENG, V23
[8]  
Binkley D., 1995, P C SOFTW MAINT OCT
[9]  
CHEN YF, 1994, PROC INT CONF SOFTW, P211
[10]  
EHERLUND B, 1991, C P QUALITY WEEK, P1