Automated class testing: methods and experience | IEEE Conference Publication | IEEE Xplore

Automated class testing: methods and experience


Abstract:

In contrast to the explosion of activity in object-oriented design and programming, little attention has been given to object testing. In our approach, a driver class and...Show More

Abstract:

In contrast to the explosion of activity in object-oriented design and programming, little attention has been given to object testing. In our approach, a driver class and an oracle class are developed for each class-under-test (CUT). The driver class is based on a test-graph which partially models the CUT as a state machine, but with vastly fewer states and transitions. The oracle class provides essentially the same operations as the CUT, but supports only the testgraph states and transitions. Surprisingly thorough testing is achievable with simple testgraphs and oracles. The key is designing the two together, to avoid tests for which input generation and output checking are unaffordable. We summarize recent experience with the testgraphs framework, including handling of operations on pairs of objects and the application of testgraphs to test part of the testgraphs implementation.<>
Date of Conference: 07-09 December 1994
Date Added to IEEE Xplore: 06 August 2002
Print ISBN:0-8186-6960-8
Conference Location: Tokyo, Japan

References

References is not available for this document.