ICST 2021
Mon 12 - Fri 16 April 2021
Mon 12 Apr 2021 15:45 - 16:15 at Maracaípe - A-MOST IV Chair(s): Florian Lorber

The abstract test cases generated through model-based testing (MBT) need to be concretized to make them executable on the software under test (SUT). Multiple researchers proposed different solutions, e.g., by utilizing adapters for concretization of abstract test cases and generation of test scripts. In this paper, we propose our Model-Based Test scrIpt GenEration fRamework (TIGER) based on GraphWalker, an open source MBT tool. The framework is capable of generating test scripts for embedded software controlling functions of a cyber physical system such as passenger trains developed at Bombardier Transportation AB. The framework follows some defined mapping rules for the concretization of abstract test cases. We have evaluated the generated test scripts using an industrial case study in terms of fault detection. We have induced faults in the model of the SUT based on three mutation operators to generate faulty test scripts. The aim of generating faulty test scripts is to produce failed test steps and to guarantee the absence of faults in the SUT. Moreover, we have also generated the test scripts using the correct version of the model and executed it to analyse the behaviour of the generated test scripts in comparison with manually-written test scripts. The results show that the test scripts generated by GW using the proposed framework are executable, provide 100% requirements coverage and can be used to uncover faults at software-in-the-loop simulation level of sub-system testing.

Mon 12 Apr

Displayed time zone: Brasilia, Distrito Federal, Brazil change

15:45 - 16:15
A-MOST IVA-MOST at Maracaípe
Chair(s): Florian Lorber Aalborg University
15:45
30m
Paper
A Model-Based Test Script Generation Framework for Embedded Software
A-MOST
Wasif Afzal Mälardalen University, Eduard Paul Enoiu Mälardalen University