Towards a workflow for model-based testing of embedded systems
2021 (English)In: A-TEST 2021 - Proceedings of the 12th International Workshop on Automating TEST Case Design, Selection, and Evaluation, co-located with ESEC/FSE 2021, Association for Computing Machinery, Inc , 2021, p. 33-40Conference paper, Published paper (Refereed)
Abstract [en]
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, re-quires 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.
Place, publisher, year, edition, pages
Association for Computing Machinery, Inc , 2021. p. 33-40
Keywords [en]
Domain-Specific Language, Model-Based Testing, Software-in-the-Loop, Computer aided software engineering, Digital subscriber lines, Embedded systems, Information management, Model checking, Problem oriented languages, Testing, Behavioural aspects, Domain specific languages, Extract informations, Extracting information, Requirements specifications, Software in the loop(SIL), States and transitions, Train control management systems, Software testing
National Category
Embedded Systems
Identifiers
URN: urn:nbn:se:mdh:diva-55833DOI: 10.1145/3472672.3473956ISI: 000765262200005Scopus ID: 2-s2.0-85113836207ISBN: 9781450386234 (print)OAI: oai:DiVA.org:mdh-55833DiVA, id: diva2:1592682
Conference
12th International Workshop on Automating TEST Case Design, Selection, and Evaluation, A-TEST 2021, co-located with the ACM Joint European Software Engineering Conference and Symposium on the Foundations of Software Engineering, ESEC/FSE 2021, 23 August 2021 through 24 August 2021
2021-09-092021-09-092022-03-30Bibliographically approved