3.8 Proceedings Paper

Towards a Workflow for Model-Based Testing of Embedded Systems

Publisher

ASSOC COMPUTING MACHINERY
DOI: 10.1145/3472672.3473956

Keywords

Domain-Specific Language; Model-Based Testing; Software-in-the-Loop

Funding

  1. European Union [871319, 957212]
  2. Swedish Innovation Agency (Vinnova) through the XIVT project
  3. ECSEL Joint Undertaking (JU) [101007350]

Ask authors/readers for more resources

Model-based testing (MBT) is used to validate embedded systems through a systematic process of creating a model, generating executable test scripts, and assessing test verdicts. This paper presents a three-phase tool-supported MBT workflow for testing embedded systems, starting with requirements specification and ending with test verdict assessment. This workflow includes the use of a Domain-Specific Language (DSL) for specifying requirements, extracting information about model elements, and developing an executable test script for simulation platform execution.
Model-based testing (MBT) has been previously used to validate embedded systems. However, (i) creation of a model conforming to the behavioural aspects of an embedded system, (ii) generation of executable test scripts and (iii) assessment of test verdict, requires a systematic process. In this paper, we have presented a three-phase tool-supported MBT workflow for the testing of an embedded system, that spans from requirements specification to test verdict assessment. The workflow starts with a simplistic, yet practical, application of a Domain-Specific Language (DSL) based on Gherkin-like style, which allows the requirements engineer to specify requirements and to extract information about model elements (i.e. states and transitions). This is done to assist the graphical modelling of the complete system under test (SUT). Later stages of the workflow generates an executable test script that runs on a domain-specific simulation platform. We have evaluated this tool-supported workflow by specifying the requirements, extracting information from the DSL and developing a model of a subsystem of the train control management system developed at Alstom Transport AB in Sweden. The C# test script generated from the SUT model is successfully executed at the Software-in-the-Loop (SIL) execution platform and test verdicts are visualized as a sequence of passed and failed test steps.

Authors

I am an author on this paper
Click your name to claim this paper and add it to your profile.

Reviews

Primary Rating

3.8
Not enough ratings

Secondary Ratings

Novelty
-
Significance
-
Scientific rigor
-
Rate this paper

Recommended

No Data Available
No Data Available