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 条
  • [21] Combining algebraic and model-based test case generation
    Dan, L
    Aichernig, BK
    THEORETICAL ASPECTS OF COMPUTING - ICTAC 2004, 2005, 3407 : 250 - 264
  • [22] A model-based control framework for industrial batch crystallization processes
    Mesbah, A.
    Landlust, J.
    Huesman, A. E. M.
    Kramer, H. J. M.
    Jansens, P. J.
    Van den Hof, P. M. J.
    CHEMICAL ENGINEERING RESEARCH & DESIGN, 2010, 88 (9A): : 1223 - 1233
  • [23] DeviceVeri-A Graphical Programming Based Test Script Generation Framework for Measurement Devices
    Chandrika, K. R.
    Sarkar, Santonu
    Mohan, Devina
    Jetley, Raoul
    2023 IEEE 2ND INDUSTRIAL ELECTRONICS SOCIETY ANNUAL ON-LINE CONFERENCE, ONCON, 2023,
  • [24] The Practice of Test Script Generation Based on XML
    Jiao Hong-Ge
    Chen Wen
    Li Ze-Min
    Jiao Peng
    ISTM/2009: 8TH INTERNATIONAL SYMPOSIUM ON TEST AND MEASUREMENT, VOLS 1-6, 2009, : 379 - 382
  • [25] WinkFuzz: Model-based Script Synthesis for Fuzzing
    Liu, Zian
    Chen, Chao
    Ahmed, Ejaz
    Zhang, Jun
    Liu, Dongxi
    THIRD INTERNATIONAL WORKSHOP ON ADVANCED SECURITY ON SOFTWARE AND SYSTEMS, ASSS 2023, 2023,
  • [26] A model-based framework for automatic generation of a pattern language verifier
    Rouhi, Alireza
    Zamani, Bahman
    SOFTWARE-PRACTICE & EXPERIENCE, 2017, 47 (12): : 1945 - 1980
  • [27] A test framework for CORBA* component model-based software systems
    Batteram, HJ
    Romijn, WA
    BELL LABS TECHNICAL JOURNAL, 2003, 8 (03) : 15 - 29
  • [28] A novel approach to automatic model-based test case generation
    Rezaee, A.
    Zamani, B.
    SCIENTIA IRANICA, 2017, 24 (06) : 3132 - 3147
  • [29] Model-based test generation using extended symbolic grammars
    Hai-Feng Guo
    Mahadevan Subramaniam
    International Journal on Software Tools for Technology Transfer, 2014, 16 : 437 - 455
  • [30] Towards World Model-based Test Generation in Autonomous Systems
    Andrews, Anneliese
    Abdelgawad, Mahmoud
    Gario, Ahmed
    MODELSWARD 2015 PROCEEDINGS OF THE 3RD INTERNATIONAL CONFERENCE ON MODEL-DRIVEN ENGINEERING AND SOFTWARE DEVELOPMENT, 2015, : 165 - 176