ACM Home Page
Please provide us with feedback. Feedback
Testing the C set++ collection class library
Full text PdfPdf (209 KB)
Source IBM Centre for Advanced Studies Conference archive
Proceedings of the 1994 conference of the Centre for Advanced Studies on Collaborative research table of contents
Toronto, Ontario, Canada
Page: 26  
Year of Publication: 1994
Authors
Daniel Hoffman  Department of Computer Science, University of Victoria, P.O. Box 3055, Victoria, B.C., Canada V8W 3P6
Xianhong Fang  Department of Computer Science, University of Victoria, P.O. Box 3055, Victoria, B.C., Canada V8W 3P6
Sponsors
NRC : National Research Council - Canada
: Natural Sciences and Engineering Research Council
: Industry Canada
IBM Canada : IBM Canada
Publisher
IBM Press 
Bibliometrics
Downloads (6 Weeks): 0,   Downloads (12 Months): 6,   Citation Count: 1
Additional Information:

abstract   references   cited by   index terms   collaborative colleagues  

Tools and Actions: Review this Article  

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-undertest (CUT). The driver class is based on a testgraph that 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. This paper describes the adaptation of this approach to the C Set++ Collection Class Library. The key problems and solution strategies are described. Templates, iterators, and scaling-up issues are addressed.


REFERENCES

Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.

 
1
 
2
{2} T.S. Chow. Testing software design modeled by finite-state machines. IEEE Trans. Soft. Eng., SE-4(3):178-187, May 1978.
3
 
4
{4} S.P. Fiedler. Object-oriented unit testing. Hewlett-Packard Journal, pages 69-74, April 1989.
 
5
{5} P.G. Frankl. Tools for testing object-oriented programs. In Proc. Pacific North-west Software Quality Conf., pages 309-324, 1990.
6
7
 
8
{8} D.M. Hoffman. A CASE study in module testing. In Proc. Conf. Software Maintenance , pages 100-105. IEEE Computer Society, October 1989.
 
9
 
10
{10} D.M. Hoffman and P.A. Strooper. Graph-based class testing. In Proc. 7th Australian Software Engineering Conf., pages 85-91, 1993.
 
11
{11} W.E. Howden. Reliability of the path analysis testing strategy. IEEE Trans. Soft. Eng., SE-2(3):208-215, September 1976.
 
12
{12} G. Murphy and P. Wong. Object-oriented systems testing methodology: An overview. Technical Report TR92-0656, MPR Teltech Ltd., October 1992.
 
13
{13} D.J. Panzl. A language for specifying software tests. In Proc. AFIPS Natl. Comp. Conf., pages 609-619. AFIPS, 1978.
 
14
 
15
{15} G.D. Schultz, D.B. Rose, C.H. West, and J.P. Gray. Executable description and validation of sna. IEEE Transactions on Communications , COM-28(4), April 1980.
 
16
 
17
 
18
{18} C.D. Turner, and D.J. Robson. The testing of object-oriented programs. Technical Report TR-13/92, University of Durham, 1992.
 
19
{19} P. Wong. Automated class exerciser (ACE) user's guide. Technical Report TR92-0655, MPR Teltech Ltd., September 1992.


Collaborative Colleagues:
Daniel Hoffman: colleagues
Xianhong Fang: colleagues