A class testing technique based on data bindings
Hee-Chern Kim, Chisu Wu · 2002
The authors present a testing technique based on data bindings for testing a class. Data bindings can be used to measure the interface between the modules of a system and reflect the possibility of data interactions between modules. Their approach considers the correctness of a class with regard to data interactions of its member functions and is based on an adaptation of flow graph-based techniques for testing object-oriented classes. A class is fragmented into smaller pieces, called a slice-flow graph associated with each data member. Class testing approaches typically invoke sequences of methods in varying orders. Their approach can generate test cases by applying a flow graph-based class testing technique to each slice-flow graph. It is useful for determining which sequences of methods should be tested. Before applying a flow graph-based testing technique, they apply state-testing only to simple MM-paths which represents actual data bindings. The result is reflected in the next step to reduce efforts for generating test cases.