A Model-Based Test Script Generation Framework and Industrial Insight

被引:0
|
作者
Muhammad Nouman Zafar [1 ]
Wasif Afzal [1 ]
Eduard Paul Enoiu [1 ]
Zulqarnain Haider [2 ]
Inderjeet Singh [2 ]
机构
[1] Mälardalen University,
[2] Alstom Rail Sweden AB,undefined
关键词
Model-based testing; Test script generation; Case study; Industrial survey;
D O I
10.1007/s42979-025-03823-7
中图分类号
学科分类号
摘要
Model-based testing (MBT) generates test cases through a model representing the software under test (SUT). The generated abstract test cases need to be transformed into concrete or executable test scripts. Despite the benefits offered by MBT, its industrial adoption is slow. This paper aims to propose a Model-Based Test scrIpt GenEration fRamework (TIGER) based on GraphWalker (GW), an open-source MBT tool, to evaluate the accuracy of generated test scripts to reflect real-world scenarios defined by the model, and to report on the findings of an industrial survey on MBT adoption. We have validated the robustness of the TIGER using an industrial case study from Alstom Rail AB, Sweden. We have injected faults into 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 failing 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 them to analyze the behavior of the generated test scripts in comparison with manually written test scripts. The experimental results show that the generated test scripts are executable, provide 100% requirements coverage, and can be used to uncover faults at the software-in-the-loop simulation level of system testing. Additionally, the analysis of the survey data reveals that MBT can address most of the identified testing challenges, but there remain certain barriers to its adoption.
引用
下载
收藏
相关论文
共 50 条
  • [31] Utilizing an Enterprise Architecture Framework for Model-Based Industrial Systems Engineering
    Binder, Christoph
    Leiter, Werner
    Joebstl, Oliver
    Mair, Lukas
    Neureiter, Christian
    Lueder, Arndt
    2021 IEEE 19TH INTERNATIONAL CONFERENCE ON INDUSTRIAL INFORMATICS (INDIN), 2021,
  • [32] A Survey on Model-Based Testing Tools for Test Case Generation
    Li, Wenbin
    Le Gall, Franck
    Spaseski, Naum
    TOOLS AND METHODS OF PROGRAM ANALYSIS, 2018, 779 : 77 - 89
  • [33] Model-based test generation using extended symbolic grammars
    Guo, Hai-Feng
    Subramaniam, Mahadevan
    INTERNATIONAL JOURNAL ON SOFTWARE TOOLS FOR TECHNOLOGY TRANSFER, 2014, 16 (04) : 437 - 455
  • [34] Enhancing Acceptance Test-Driven Development with Model-based Test Generation
    Ramler, Rudolf
    Klammer, Claus
    2019 COMPANION OF THE 19TH IEEE INTERNATIONAL CONFERENCE ON SOFTWARE QUALITY, RELIABILITY AND SECURITY (QRS-C 2019), 2019, : 503 - 504
  • [35] An industrial investigation of similarity measures for model-based test case selection
    Simula Research Laboratory, Department of Informatics, University of Oslo, Norway
    Proc. Int. Symp. Softw. Reliab. Eng., (141-150):
  • [36] Identification test design for multivariable model-based control: An industrial perspective
    Darby, Mark L.
    Nikolaou, Michael
    CONTROL ENGINEERING PRACTICE, 2014, 22 : 165 - 180
  • [37] An empirical evaluation of the i* framework in a model-based software generation environment
    Estrada, Hugo
    Martinez Rebollar, Alicia
    Pastor, Oscar
    Mylopoulos, John
    ADVANCED INFORMATION SYSTEMS ENGINEERING, PROCEEDINGS, 2006, 4001 : 513 - 527
  • [38] Agent-based tool for model-based test case generation and execution
    Ramirez-Mendez, Jose
    Quesada-Lopez, Christian
    Jenkins, Marcelo
    V JORNADAS COSTARRICENSES DE INVESTIGACION EN COMPUTACION E INFORMATICA (JOCICI 2021), 2021,
  • [39] An EFSM-Based Test Data Generation Approach in Model-Based Testing
    Mohd-Shafie, Muhammad Luqman
    Kadir, Wan Mohd Nasir Wan
    Khatibsyarbini, Muhammad
    Isa, Mohd Adham
    Ghani, Israr
    Ruslai, Husni
    CMC-COMPUTERS MATERIALS & CONTINUA, 2022, 71 (03): : 4337 - 4354
  • [40] Evaluating System-Level Test Generation for Industrial Software: A Comparison between Manual, Combinatorial and Model-Based Testing
    Zafar, Muhammad Nouman
    Afzal, Wasif
    Enoiu, Eduard
    3RD ACM/IEEE INTERNATIONAL CONFERENCE ON AUTOMATION OF SOFTWARE TEST (AST 2022), 2022, : 148 - 159