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 条
  • [41] AI-Based Enhancement of Test Models in an Industrial Model-Based Testing Tool
    Mohacsi, Stefan
    Felderer, Michael
    2021 IEEE INTERNATIONAL CONFERENCE ON SOFTWARE ANALYSIS, EVOLUTION AND REENGINEERING (SANER 2021), 2021, : 636 - 638
  • [42] Model-Based Generation of Safety Test-Cases for Onboard Systems
    Li Chenling
    Tang Tao
    Li KaiCheng
    Lv JiDong
    Huang Ling
    2013 IEEE INTERNATIONAL CONFERENCE ON INTELLIGENT RAIL TRANSPORTATION (ICIRT), 2013, : 192 - 197
  • [43] Model-based test case generation and prioritization: a systematic literature review
    Muhammad Luqman Mohd-Shafie
    Wan Mohd Nasir Wan Kadir
    Horst Lichter
    Muhammad Khatibsyarbini
    Mohd Adham Isa
    Software and Systems Modeling, 2022, 21 : 717 - 753
  • [44] Test generation with Satisfiability Modulo Theories solvers in model-based testing
    Cantenot, Jerome
    Ambert, Fabrice
    Bouquet, Fabrice
    SOFTWARE TESTING VERIFICATION & RELIABILITY, 2014, 24 (07): : 499 - 531
  • [45] Model-based test case generation and prioritization: a systematic literature review
    Mohd-Shafie, Muhammad Luqman
    Kadir, Wan Mohd Nasir Wan
    Lichter, Horst
    Khatibsyarbini, Muhammad
    Isa, Mohd Adham
    SOFTWARE AND SYSTEMS MODELING, 2022, 21 (02): : 717 - 753
  • [46] Model-Based Requirement Generation
    London, Brian
    Miotto, Piero
    2014 IEEE AEROSPACE CONFERENCE, 2014,
  • [47] Generation of Simulink Simulation Model Script Based on Architecture Model
    Su, Bing
    Dong, Yancen
    Wu, Ji
    PROCEEDINGS OF 2012 2ND INTERNATIONAL CONFERENCE ON COMPUTER SCIENCE AND NETWORK TECHNOLOGY (ICCSNT 2012), 2012, : 1340 - 1344
  • [48] Combining Model-Based and Risk-Based Testing for Effective Test Case Generation
    Gebizli, Ceren Sahin
    Metin, Duygu
    Sozer, Hasan
    2015 IEEE EIGHTH INTERNATIONAL CONFERENCE ON SOFTWARE TESTING, VERIFICATION AND VALIDATION WORKSHOPS (ICSTW), 2015,
  • [49] Development and deployment of a generative model-based framework for text to photorealistic image generation
    Pande, Sharad
    Chouhan, Srishti
    Sonavane, Ritesh
    Walambe, Rahee
    Ghinea, George
    Kotecha, Ketan
    NEUROCOMPUTING, 2021, 463 : 1 - 16
  • [50] Using model-based systems engineering as a framework for improving test and evaluation activities
    Bjorkman, Eileen A.
    Sarkani, Shahram
    Mazzuchi, Thomas A.
    SYSTEMS ENGINEERING, 2013, 16 (03) : 346 - 362