Regression test selection for Java']Java software

被引:101
作者
Harrold, MJ [1 ]
Jones, JA
Li, TY
Liang, DL
Orso, A
Pennings, M
Sinha, S
Spoon, SA
Gujarathi, A
机构
[1] Georgia Inst Technol, Coll Comp, Atlanta, GA 30332 USA
[2] Citrix Syst Inc, Ft Lauderdale, FL USA
基金
美国国家科学基金会;
关键词
regression testing; testing; test selection; software evolution; software maintenance;
D O I
10.1145/504311.504305
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Regression testing is applied to modified software to provide confidence that the changed parts behave as intended and that the unchanged parts have not been adversely affected by the modifications. To reduce the cost of regression testing, test cases are selected from the test suite that was used to test the original version of the software this process is called regression test selection. A safe regression-test-selection algorithm selects every test case in the test suite that may reveal a fault in the modified software. Safe regression-test-selection techniques can help to reduce the time required to perform regression testing because they select only a portion of the test suite for use in the testing but guarantee that the faults revealed by this subset will be the same as those revealed by running the entire test suite. This paper presents the first safe regression-test-selection technique that, based on the use of a suitable representation, handles the features of the Java language. Unlike other safe regression test selection techniques, the presented technique also handles incomplete programs. The technique can thus be safely applied in the (very common) case of Java software that uses external libraries or components; the analysis of the external code is not required for the technique to select test cases for such software. The paper also describes RETEST, a regression-test-selection system that implements our technique, and a set of empirical studies that demonstrate that the regression-test-selection algorithm can be effective in reducing the size of the test suite.
引用
收藏
页码:312 / 326
页数:15
相关论文
共 36 条
  • [1] [Anonymous], P 10 ANN SOFTW QUAL
  • [2] [Anonymous], 1989, ACM COMPUT SURV, V21, P593, DOI DOI 10.1145/76894.76897
  • [3] [Anonymous], P ICSE
  • [4] BALL T, 1998, ACM INT S SOFTW TEST, P134
  • [5] A comparative study of coarse- and fine-grained safe regression test-selection techniques
    Bible, J
    Rothermel, G
    Rosenblum, DS
    [J]. ACM TRANSACTIONS ON SOFTWARE ENGINEERING AND METHODOLOGY, 2001, 10 (02) : 149 - 183
  • [6] BIBLE J, 1999, 996011 OR STAT U
  • [7] Design and evaluation of a wide-area event notification service
    Carzaniga, A
    Rosenblum, DS
    Wolf, AL
    [J]. ACM TRANSACTIONS ON COMPUTER SYSTEMS, 2001, 19 (03): : 332 - 383
  • [8] CHEATHAM TJ, 1990, P 1990 COMP SCI C, P161
  • [9] CHEN YF, 1994, PROC INT CONF SOFTW, P211
  • [10] Cooper B. F., PROFBUILDER PACKAGE