Skip to main content

A Method for the Automatic Generation of Test Suites from Object Models

Alessandra Cavarra‚ Charles Crichton and Jim Davies

Abstract

This paper shows how object-oriented specifications, written in the Unified Modeling Language (UML) can be translated into formal, behavioural descriptions and used as a basis for automatic test generation. The behavioural descriptions are written in a language of communicating state machines: the Intermediate Format (IF). The translation from UML to IF is based upon an earlier formal semantics, written in the Abstract State Machine (ASM) notation. Descriptions written in IF can be automatically explored; the results of these explorations are test trees, ready for input to a variety of testing packages.

Journal
Information & Software Technology
Number
5
Pages
309−314
Volume
46
Year
2004