English

Compositionality in Model-Based Testing

Software Engineering 2023-11-16 v1

Abstract

Model-based testing (MBT) promises a scalable solution to testing large systems, if a model is available. Creating these models for large systems, however, has proven to be difficult. Composing larger models from smaller ones could solve this, but our current MBT conformance relation uioco\textbf{uioco} is not compositional, i.e. correctly tested components, when composed into a system, can still lead to a faulty system. To catch these integration problems, we introduce a new relation over component models called mutual acceptance\textbf{mutual acceptance}. Mutually accepting components are guaranteed to communicate correctly, which makes MBT compositional. In addition to providing compositionality, mutual acceptance has benefits when retesting systems with updated components, and when diagnosing systems consisting of components.

Keywords

Cite

@article{arxiv.2307.03701,
  title  = {Compositionality in Model-Based Testing},
  author = {Gijs van Cuyck and Lars van Arragon and Jan Tretmans},
  journal= {arXiv preprint arXiv:2307.03701},
  year   = {2023}
}

Comments

To be published in ICTSS 2023 conference proceedings