Computing Reviews
Today's Issue Hot Topics Search Browse Recommended My Account Log In
Review Help
Search
In black and white: an integrated approach to class-level testing of object-oriented programs
Chen H., Tse T., Chan F., Chen T. ACM Transactions on Software Engineering and Methodology7 (3):250-295,1998.Type:Article
Date Reviewed: Jul 1 1999

This paper is concerned with devising tests to help determine whether the implementation of an object satisfies its specification. A specification is assumed to follow the OBJ style of multisorted initial algebras, where the equations are understood as rewrite rules. An object in a given state consists of an anadic operator (creating the object) followed by a number of operations (changing the state of the object), possibly followed by another operator that returns part of the state.

The rewrite rules are used to convert the history into a canonical form. Tests determine whether the result of the history as determined by the implementation is the same as the result of the supposedly equivalent canonical form. This necessarily assumes that each method call, changing the state of the object, is completed before the next method call begins--that is, overlaps with possible interference among method calls are not allowed.

Implementation limits are not available from purely black-box descriptions. Therefore, in order to make the size of the test space reasonable, it is necessary to peek inside the implementation, leading to white-box testing. Given this, a prototype test case generator has been produced. The authors suggest that tests for combinations of objects may also be generated. The question of combinatorial explosions of test spaces is left for the future. The paper should interest those who care about automatic testing, and those who are worried about the scalability of model checking (because many of the same issues arise).

Reviewer:  C. M. Holt Review #: CR122146 (9907-0525)
Bookmark and Share
 
Languages (D.2.1 ... )
 
 
Object-Oriented Languages (D.3.2 ... )
 
 
Testing And Debugging (D.2.5 )
 
Would you recommend this review?
yes
no
Other reviews under "Languages": Date
An examination of requirements specification languages
Tse T., Pong L. The Computer Journal 34(2): 143-152, 1991. Type: Article
Apr 1 1992
Towards a formal basis for the formal development method and the Ina Jo specification language
Berry D. IEEE Transactions on Software Engineering SE-13(2): 184-201, 1987. Type: Article
Oct 1 1987
On the design of ANNA, a specification language for ADA
Luckham D.  Software validation: inspection-testing-verification-alternatives (, Darmstadt, West Germany,2271984. Type: Proceedings
May 1 1986
more...

E-Mail This Printer-Friendly
Send Your Comments
Contact Us
Reproduction in whole or in part without permission is prohibited.   Copyright 1999-2023 ThinkLoud®
Terms of Use
| Privacy Policy