The object oriented (OO) paradigm is increasing its acceptance in the software industry. More and more systems will be developed using this new paradigm. Although the OO paradigm has visible benefits in the development cycle, testing and maintenance of OO programs have been considered challenging tasks by the research community. In this paper, we describe an OO testing and maintenance model and a supporting CASE environment. The model consists of three types of diagrams: the Object Relation Diagram (ORD), Block Branch Diagram (BBD), and Object State Diagram (OSD). An ORD depict the inheritance, aggregation, and association relationships between the classes of an OO program, a BBD presents the control flow graph of a function/method and its interfaces to other parts of the OO program, and an OSD displays the state dependent behavior of a class in terms of a hierarchy of state transition diagrams. These diagrams are generated from code using a reverse engienering approach and facilitates the understanding, test preparation, and maintenance of OO programs. Based on the model, tools for generating class test order, unit structure test cases and test data, state and transition test case and test data, and code change and impact identification as well as the application of the tools to the InterViews libary will be described.
展开▼