Regression test selection for Java software

Citation
Mj. Harrold et al., Regression test selection for Java software, ACM SIGPL N, 36(11), 2001, pp. 312-326
Citations number
34
Categorie Soggetti
Computer Science & Engineering
Journal title
ACM SIGPLAN NOTICES
ISSN journal
15232867 → ACNP
Volume
36
Issue
11
Year of publication
2001
Pages
312 - 326
Database
ISI
SICI code
1523-2867(200111)36:11<312:RTSFJS>2.0.ZU;2-R
Abstract
Regression testing is applied to modified software to provide confidence th at the changed parts behave as intended and that the unchanged parts have n ot been adversely affected by the modifications. To reduce the cost of regr ession testing, test cases are selected from the test suite that was used t o test the original version of the software this process is called regressi on test selection. A safe regression-test-selection algorithm selects every test case in the test suite that may reveal a fault in the modified softwa re. Safe regression-test-selection techniques can help to reduce the time r equired to perform regression testing because they select only a portion of the test suite for use in the testing but guarantee that the faults reveal ed 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 te chnique that, based on the use of a suitable representation, handles the fe atures of the Java language. Unlike other safe regression test selection te chniques, the presented technique also handles incomplete programs. The tec hnique can thus be safely applied in the (very common) case of Java softwar e that uses external libraries or components; the analysis of the external code is not required for the technique to select test cases for such softwa re. The paper also describes RETEST, a regression-test-selection system tha t 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.