Compositional Specifications for ioco Testing

04/15/2019
by   Przemyslaw Daca, et al.
0

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.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
05/13/2021

Feature Interactions on Steroids: On the Composition of ML Models

The lack of specifications is a key difference between traditional softw...
research
07/07/2023

Compositionality in Model-Based Testing

Model-based testing (MBT) promises a scalable solution to testing large ...
research
10/03/2022

Testing by Dualization

Software engineering requires rigorous testing to guarantee the product'...
research
11/23/2018

IntegrationDistiller: Automating Integration Analysis and Testing of Object-Oriented Applications

Software systems typically consist of various interacting components and...
research
04/07/2020

Compositional Formal Analysis Based on Conventional Engineering Models

Applications of formal methods for state space exploration have been suc...
research
05/01/2023

Composite metamorphic relations for integration testing

Metamorphic testing is a testing method for problems without test oracle...
research
06/07/2021

Verifiable and Compositional Reinforcement Learning Systems

We propose a novel framework for verifiable and compositional reinforcem...

Please sign up or login with your details

Forgot password? Click here to reset