Regression Testing of Object-Oriented Programs Based on Backward-slicing Class Members

Zhang Da-fan · 2004

It is obvious that small changes made in a part of program can have major and non-local effects in object-oriented programs. Therefore, reducing the expense of regression testing is very important. Program slicing is an important method for program analysis and testing. Tip is the only known one that has put forward a method for slicing class hierarchies. It is a method that can slice class members of object-oriented programs and Tip's method is based on the Rossie-Friedman framework. However, its aim is to optimize object-oriented programs, thus not directly applicable to regression testing. Basing on the Rossie-Friedman framework, this paper presents a novel slicing method on class members, namely backward-slicing method. Furthermore, we present a regression testing strategy, using granularity at the class member level.

Read the paper · More papers on PaperTik