• Home
  • Search
  • Executable Interface Specifications for Testing Asynchronous Creol Components
  • Open Access IconOpen Access
  • Cite Icon15
  • https://doi.org/10.1007/978-3-642-11623-0_19Copy DOI Icon

Executable Interface Specifications for Testing Asynchronous Creol Components

  • Jan 1, 2010
  • Immo Grabe +3 more
Show More
  • Abstract
  • Literature Map
  • References
  • Citations
  • Similar Papers
Abstract

We propose and explore a formal approach for black-box testing asynchronously communicating components in open environments. Asynchronicity poses a challenge for validating and testing components. We use Creol, a high-level, object-oriented language for distributed systems and present an interface specification language to specify components in terms of traces of observable behavior. The language enables a concise description of a component’s behavior, it is executable in rewriting logic and we use it to give test specifications for Creol components. In a specification, a clean separation between interaction under control of the component or coming from the environment is central, which leads to an assumption-commitment style description of a component’s behavior. The assumptions schedule the inputs, whereas the outputs as commitments are tested for conformance with the specification. The asynchronous nature of communication in Creol is respected by testing only up-to a notion of observability. The existing Creol interpreter is combined with our implementation of the specification language to obtain a specification-driven interpreter for testing.

Cactus Communications logo

Copyright 2026 Cactus Communications. All rights reserved.