A rigorous method for test templates generation from object-oriented specifications |
| |
Authors: | K Periyasamy V S Alagar |
| |
Affiliation: | 1. Department of Computer Science, University of Wisconsin—La Crosse, 1725 State Street, La Crosse, WI 54601, U.S.A.;2. Department of Computer Science, Concordia University, 1455 de Maisonneuve Blvd. West, Montreal, PQ H3G 1M8, Canada |
| |
Abstract: | This paper describes a rigorous method that investigates the suitability of formal specifications written in Object-Z specification language for testing object-oriented software implementation in a black-box fashion. The insight gained in the formalization of a model, the inherent abstractions, and formally specified intended behaviours and exceptions lead to the generation of test templates that are free from any implementation bias. The method described in this paper is an extension of the one proposed by Stocks and Carrington. In particular, the focus of the paper is on generating test templates for composite operations in an Object-Z specification. The method is illustrated using the specification for an electronic mail system. The specification and the test templates generated for the electronic mail system show several interesting properties of the application that require considerable attention during testing. Copyright © 2001 John Wiley & Sons, Ltd. |
| |
Keywords: | specification-based testing testing composite operations object-oriented formal specification Object-Z test templates generation |
|
|