This paper describes a rigorous method that investigates the suitability of formalspecifications written in object-Z specification language for testing object-oriented software implementation in a black-box fashion. ...
详细信息
This paper describes a rigorous method that investigates the suitability of formalspecifications 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 Storks 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 (C) 2001 John Wiley & Sons, Ltd.
This paper presents a diagrammatic logic framework that is suitable for use in formalspecification and for reasoning about and refining formal software models. We take a case study style approach to presenting the fr...
详细信息
This paper presents a diagrammatic logic framework that is suitable for use in formalspecification and for reasoning about and refining formal software models. We take a case study style approach to presenting the framework by developing, in some detail, an abstract model for a transparent configuration control platform. The model is built up by stages, corresponding to separate concerns of configuration control. Each successive level is a refinement of the previous level. We discuss the possibilities for developing tools to support the use of the diagrammatic logic, including automated diagram drawing and reasoning procedures. Our wider goal is to make a formalspecification easier for its clients to understand.
暂无评论