We 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. Our 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 slice-flow graph associated with each data member. Class testing approaches typically invoke sequences of methods in varying orders. Our 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, we 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.
Index Terms:
Software testing, class testing, data binding
Citation:
Heechern Kim, Chisu Wu, "A Class Testing Technique Based on Data Bindings," apsec, pp.104, Third Asia-Pacific Software Engineering Conference (APSEC'96), 1996