From Object-Z specifications to ClassBench test suites

Citation
D. Carrington et al., From Object-Z specifications to ClassBench test suites, SOFTW TEST, 10(2), 2000, pp. 111-137
Citations number
38
Categorie Soggetti
Computer Science & Engineering
Journal title
SOFTWARE TESTING VERIFICATION & RELIABILITY
ISSN journal
09600833 → ACNP
Volume
10
Issue
2
Year of publication
2000
Pages
111 - 137
Database
ISI
SICI code
0960-0833(200006)10:2<111:FOSTCT>2.0.ZU;2-E
Abstract
This paper describes a method for specification-based class testing that in corporates test case generation, execution, and evaluation based on formal specifications. This work builds on previous achievements in the areas of s pecification-based testing and class testing by integrating the two within a single framework, The initial step of the method is to generate test temp lates for individual operations from a specification written in the Object- Z specification language, These test templates are combined to produce a fi nite state machine for the class that is used as the basis for test case ex ecution using the ClassBench test execution framework. An oracle derived fr om the Object-Z specification is used to evaluate the outputs. The method i s explained using a simple example and its application to a more substantia l case study is also discussed Copyright (C) 2000 John Whey & Sons, Ltd.