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 条
[21]  
Rothermel G., 1997, ACM Transactions on Software Engineering and Methodology, V6, P173, DOI 10.1145/248233.248262
[22]  
ROTHERMEL G, 1996, THESIS CLEMSON U CLE
[23]   Empirical evaluation of the textual differencing regression testing technique [J].
Vokolos, FI ;
Frankl, PG .
INTERNATIONAL CONFERENCE ON SOFTWARE MAINTENANCE, PROCEEDINGS, 1998, :44-53
[24]  
VOKOLOS FI, 1997, IFIP TC5 WG5 4 3 INT, P3
[25]  
WHITE L, 1992, P INT C SOFTW MAINT, P262
[26]  
White L. J., 1993, Proceedings. Conference on Software Maintenance 1993. CSM-93 (Cat. No.93CH3360-5), P338, DOI 10.1109/ICSM.1993.366928