A comparative study of coarse- and fine-grained safe regression test-selection techniques

被引:64
作者
Bible, J [1 ]
Rothermel, G
Rosenblum, DS
机构
[1] Oregon State Univ, Dept Comp Sci, Corvallis, OR 97331 USA
[2] Univ Calif Irvine, Irvine, CA 92697 USA
关键词
algorithms; verification; regression testing; regression test selection;
D O I
10.1145/367008.367015
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Regression test-selection techniques reduce the cost of regression testing by selecting a subset of an existing test suite to use in retesting a modified program. Over the past two decades, numerous regression test-selection techniques have been described in the literature. Initial empirical studies of some of these techniques have suggested that they can indeed benefit testers, but so far, few studies have empirically compared different techniques. In this paper, we present the results of a comparative empirical study of two safe regression test-selection techniques. The techniques we studied have been implemented as the tools DejaVu and TestTube; we compared these tools in terms of a cost model incorporating precision (ability to eliminate unnecessary test cases), analysis cost, and test execution cost. Our results indicate, that in many instances, despite its relative lack of precision, TestTube can reduce the time required for regression testing as much as the more precise DejaVu. In other instances, particularly where the time required to execute test cases is long, DejaVu's superior precision gives it a clear advantage over TestTube. Such variations in relative performance can complicate a tester's choice of which tool to use. Our experimental results suggest that a hybrid regression test-selection tool that combines features of TestTube and DejaVu may be an answer to these complications; we present an initial case study that demonstrates the potential benefit of such a tool.
引用
收藏
页码:149 / 183
页数:35
相关论文
共 26 条
[1]  
Agrawal H., 1993, Proceedings. Conference on Software Maintenance 1993. CSM-93 (Cat. No.93CH3360-5), P348, DOI 10.1109/ICSM.1993.366927
[2]   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
[3]  
BALL T, 1998, P 25 ACM SIGPLAN SIG, P134
[4]  
Benedusi P., 1988, Proceedings of the Conference on Software Maintenance - 1988 (IEEE Cat. No.88CH2615-3), P352, DOI 10.1109/ICSM.1988.10187
[5]   Semantics guided regression test cost reduction [J].
Binkley, D .
IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 1997, 23 (08) :498-516
[6]  
CHEN YF, 1994, PROC INT CONF SOFTW, P211
[7]  
Graves T., 1998, P 20 INT C SOFTW ENG
[8]  
Gupta R., 1992, P IEEE C SOFTW MAINT, P299
[9]  
HARROLD M, 1997, OSUCISRC397TR17 OH S
[10]  
Harrold M. J., 1988, Proceedings of the Conference on Software Maintenance - 1988 (IEEE Cat. No.88CH2615-3), P362, DOI 10.1109/ICSM.1988.10188