Concepedia

Publication | Closed Access

Class firewall, test order, and regression testing of object-oriented programs

141

Citations

0

References

1995

Year

Abstract

: Regression testing is an important activity in software maintenance. Although a number of existing research results have addressed the problems and solutions in regression testing of traditional programs, no research results have focused on the issues and solutions in regression testing of object-oriented programs. In this paper, we present a method for identifying the affected classes when changes are made to an object-oriented program. An algorithm for generating a desirable order to test the affected classes also is described. The basic model we use is an object relation graph, which depicts the inheritance, aggregation, and association relations that exist in the object-oriented program to be maintained. The test order finding algorithm can be applied to acyclic as well as cyclic object relation graphs. The results of this paper has been implemented and applied to testing of many example applications, including the InterViews library. 1 Introduction Regression testing involves r...