|
Selected publications by date
Selected publications by category
|
|   |
Selecting Regression Tests for Object-Oriented Software
International Conference on Software Maintenance
September 1994, pp. 14-25
Gregg Rothermel and Mary Jean Harrold
Abstract
Regression testing is an important but expensive software
maintenance activity aimed at providing confidence in
modified software. Selective retest methods
reduce the cost of regression testing by selecting tests
for a modified program from a previously existing test suite.
Many researchers have addressed the selective retest
problem for procedural-language software,
but few have addressed the problem for object-oriented software.
In this paper, we present a new technique
for selective retest, that handles object-oriented
software. Our algorithm constructs dependence
graphs for classes and applications programs, and
uses these graphs to determine which tests in an
existing test suite can cause a modified class
or program to produce different output than the original.
Unlike previous selective retest techniques,
our method applies to modified and derived classes,
as well as to applications programs that use
modified classes. Our technique is strictly
code-based, and makes no assumptions about
methods used to specify or test the software
initially.
|