Publication | Closed Access
A test strategy for object-oriented programs
63
Citations
12
References
2002
Year
Unknown Venue
Software MaintenanceEngineeringObject-oriented ModelingSoftware EngineeringObject OrientationSoftware AnalysisFormal VerificationModel-based TestingC++ Source CodeTest OracleObject Oriented ProgramSystem TestingComputer EngineeringComputer ScienceSoftware DesignTest StrategyProgram AnalysisSoftware TestingFormal MethodsObject-oriented ProgrammingObject Relation DiagramSystem Software
The complexity and interdependencies of an object oriented program makes testing of such programs difficult. We present a reverse engineering based model called Object Relation Diagram (ORD), which is generated from analyzing the C++ source code of an object oriented program. An ORD is a directed graph in which the vertices represent the object classes and the edges represent the relationships among the object classes. Based on the ORD, a test strategy, called test order, for unit testing and integration testing of object oriented programs is described. The test order algorithm uses topological sorting and clusters of strongly connected subgraphs of the ORD. It computes the optimal test order in the sense that the effort required to construct the test stubs to simulate the untested classes/member functions is minimum. We show the savings of the test strategy through statistics of the InterViews library.
| Year | Citations | |
|---|---|---|
Page 1
Page 1