Matala 2025: Model-based Testing of Systems in Context

report
Testing of complex cyber-physical systems, and in particular systems-of-systems (SoS), is increasingly challenged by growing system complexity, configuration variability, and limited availability of expert knowledge. In current industrial practice, testing relies heavily on manually designed scenarios derived from informal specifications, risk analysis, and domain expertise. Although approaches such as Behaviour-Driven Development (BDD) facilitate collaboration between stakeholders, they do not scale to the combinatorial complexity of modern SoS. As a result, test coverage remains limited, while the effort required to create and maintain test suites continues to grow. This report addresses the central research question: How can model-based testing (MBT) be applied in industry to improve the efficiency and effectiveness of Systems Integration Testing, while lowering the barrier for adoption by reusing existing tools and workflows? As answer to this question, the report presents the OfflineMBT with BPMN4S methodology,a model-based testing approach tailored to address the challenges of industrial SoS testing. The methodology introduces BPMN4S, a formally defined extension of the BPMN 2.0 standard, which enables the collaborative specification of both system behaviour and operational context using a notation accessible to both technical and non-technical stakeholders. BPMN4S models combine control flow, data, and configuration variability in a single formal representation, allowing for simulation, analysis, and automated test generation. Based on BPMN4S specifications and explicitly defined test purposes capturing risks, priorities, and usage scenarios, the methodology has developed novel test generation techniques to automatically derive abstract symbolic test cases, which are subsequently concretized into executable test scripts compatible with widely used test automation frameworks such as BDD frameworks (e.g. Cucumber, SpecFlow, Robot), JUnit, and GTest Framework. The approach is supported by an open and extensible tool chain that integrates modelling, simulation, test generation, and test concretization, with a formal foundation while remaining compatible with existing industrial testing infrastructures. The methodology has been evaluated in an industrial case study at ASML, focusing on SoS interoperability testing in the Virtual Fab context. The evaluation demonstrates improvements along three key dimensions:
• Efficiency: BPMN4S models can be constructed and understood by stakeholders after a short introduction, significantly reducing the effort required for test design compared to manual approaches.
• Effectiveness: Automatically generated test suites achieve substantially higher coverage than manually created tests and are capable of revealing complex crossproduct and cross-process defects that are infeasible to detect using traditional methods.
• Practical applicability: The generated test cases are executable within existing testing frameworks, and the methodology integrates with current ways of working, supporting incremental adoption in practice. Overall, the results show that the proposed approach enables a shift from manually crafting a limited set of test scenarios towards systematic exploration of system behaviour based on formal models. This shift provides improved coverage, better insight into tested behaviour, and reduced dependency on scarce expert knowledge, thereby improving both the efficiency and effectiveness of testing processes. The report concludes that OfflineMBT with BPMN4S provides a viable and scalable foundation for industrial SoS testing, and outlines future work towards further automation, improved tool support, and large-scale adoption.
TNO Identifier
1037015
Publisher
TNO
Collation
7 p.
Place of publication
Eindhoven
Pages
5