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 条
  • [1] A Model-Based Test Script Generation Framework for Embedded Software
    Zafar, Muhammad Nouman
    Afzal, Wasif
    Enoiu, Eduard Paul
    Stratis, Athanasios
    Sellin, Ola
    2021 IEEE INTERNATIONAL CONFERENCE ON SOFTWARE TESTING, VERIFICATION AND VALIDATION WORKSHOPS (ICSTW 2021), 2021, : 192 - 198
  • [2] Test Framework Generation for Model-Based Testing in Embedded Systems
    Iyenghar, Padma
    2011 37TH EUROMICRO CONFERENCE ON SOFTWARE ENGINEERING AND ADVANCED APPLICATIONS (SEAA 2011), 2011, : 267 - 274
  • [3] A measurement framework for evaluating model-based test generation tools
    Sinha, A.
    Williams, C. E.
    Santhanam, P.
    IBM SYSTEMS JOURNAL, 2006, 45 (03) : 501 - 514
  • [4] Model-based Automation of Test Script Generation Across Product Variants: a Railway Perspective
    Bucaioni, Alessio
    Di Silvestro, Fabio
    Singh, Inderjeet
    Saadatmand, Mehrdad
    Muccini, Henry
    Jochumsson, Thorvaldur
    2021 IEEE/ACM INTERNATIONAL CONFERENCE ON AUTOMATION OF SOFTWARE TEST (AST 2021), 2021, : 20 - 29
  • [5] Industrial Evaluation of Test Suite Generation Strategies for Model-Based Testing
    Blom, Johan
    Jonsson, Bengt
    Nystrom, Sven-Olof
    2016 IEEE NINTH INTERNATIONAL CONFERENCE ON SOFTWARE TESTING, VERIFICATION AND VALIDATION WORKSHOPS (ICSTW), 2016, : 209 - 218
  • [6] Threat Model-based Security Test Case Generation Framework and Tool
    Fu, Chang-Lan
    Zhang, He
    Li, Feng-Long
    Kuang, Hong-Yu
    Ruan Jian Xue Bao/Journal of Software, 2024, 35 (10): : 4573 - 4603
  • [7] A New Approach to Model-Based Test Case Generation for Industrial Automation Systems
    Pinkal, Kevin
    Niggemann, Oliver
    2017 IEEE 15TH INTERNATIONAL CONFERENCE ON INDUSTRIAL INFORMATICS (INDIN), 2017, : 53 - 58
  • [8] Test Generation for Model-Based Diagnosis
    Provan, Gregory
    ECAI 2008, PROCEEDINGS, 2008, 178 : 199 - +
  • [9] A FRAMEWORK FOR HYPOTHESIS GENERATION IN MODEL-BASED DIAGNOSIS
    PURNA, YW
    YAMAGUCHI, T
    EXPERT SYSTEMS WITH APPLICATIONS, 1995, 9 (01) : 41 - 54
  • [10] Improving Model-Based Test Generation by Model Decomposition
    Arcaini, Paolo
    Gargantini, Angelo
    Riccobene, Elvinia
    2015 10TH JOINT MEETING OF THE EUROPEAN SOFTWARE ENGINEERING CONFERENCE AND THE ACM SIGSOFT SYMPOSIUM ON THE FOUNDATIONS OF SOFTWARE ENGINEERING (ESEC/FSE 2015) PROCEEDINGS, 2015, : 119 - 130