A rigorous method for test templates generation from object‐oriented specifications
K. Periyasamy, Vasu S. Alagar · Software Testing Verification and Reliability · 2001
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.