# Compositional Specifications for ioco Testing

**Authors:** Przemyslaw Daca, Thomas A. Henzinger, Willibald Krenn, Dejan Nickovic

arXiv: 1904.07083 · 2019-04-16

## TL;DR

This paper introduces a compositional approach to IOCO-based model testing that reduces integration testing effort by inferring system correctness from component testing, leveraging new composition and hiding operations.

## Contribution

It proposes novel composition and hiding operations inspired by contract-based design, enabling more efficient and effective component-based testing in asynchronous systems.

## Key findings

- Preserves behaviors compatible under composition and hiding.
- Reduces integration testing by inferring correctness from component tests.
- Detects potential weaknesses in specifications.

## Abstract

Model-based testing is a promising technology for black-box software and hardware testing, in which test cases are generated automatically from high-level specifications. Nowadays, systems typically consist of multiple interacting components and, due to their complexity, testing presents a considerable portion of the effort and cost in the design process. Exploiting the compositional structure of system specifications can considerably reduce the effort in model-based testing. Moreover, inferring properties about the system from testing its individual components allows the designer to reduce the amount of integration testing.   In this paper, we study compositional properties of the IOCO-testing theory. We propose a new approach to composition and hiding operations, inspired by contract-based design and interface theories. These operations preserve behaviors that are compatible under composition and hiding, and prune away incompatible ones. The resulting specification characterizes the input sequences for which the unit testing of components is sufficient to infer the correctness of component integration without the need for further tests. We provide a methodology that uses these results to minimize integration testing effort, but also to detect potential weaknesses in specifications. While we focus on asynchronous models and the IOCO conformance relation, the resulting methodology can be applied to a broader class of systems.

## Full text

_Full body text omitted from this summary view._ Fetch the complete paper as Markdown: https://tomesphere.com/paper/1904.07083/full.md

## Figures

18 figures with captions in the complete paper: https://tomesphere.com/paper/1904.07083/full.md

## References

17 references — full list in the complete paper: https://tomesphere.com/paper/1904.07083/full.md

---
Source: https://tomesphere.com/paper/1904.07083