Static detection of equivalent mutants in real-time model-based mutation testing An Empirical Evaluation

被引:7
|
作者
Basile, Davide [1 ]
ter Beek, Maurice H. [1 ]
Lazreg, Sami [2 ]
Cordy, Maxime [2 ]
Legay, Axel [3 ]
机构
[1] ISTI CNR, Via G Moruzzi 1, I-56124 Pisa, Italy
[2] Univ Luxembourg, SnT, Esch Sur Alzette, Luxembourg
[3] Catholic Univ Louvain, Ottignies, Belgium
关键词
Software product line; mutation-based testing; real-time system; STRATEGIES; DESIGN;
D O I
10.1007/s10664-022-10149-y
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Model-based mutation testing has the potential to effectively drive test generation to reveal faults in software systems. However, it faces a typical efficiency issue since it could produce many mutants that are equivalent to the original system model, making it impossible to generate test cases from them. We consider this problem when model-based mutation testing is applied to real-time system product lines, represented as timed automata. We define novel, time-specific mutation operators and formulate the equivalent mutant problem in the frame of timed refinement relations. Further, we study in which cases a mutation yields an equivalent mutant. Our theoretical results provide guidance to system engineers, allowing them to eliminate mutations from which no test case can be produced. Our empirical evaluation, based on a proof-of-concept implementation and a set of benchmarks from the literature, confirms the validity of our theory and demonstrates that in general our approach can avoid the generation of a significant amount of the equivalent mutants.
引用
收藏
页数:55
相关论文
共 50 条
  • [1] Static detection of equivalent mutants in real-time model-based mutation testingAn Empirical Evaluation
    Davide Basile
    Maurice H. ter Beek
    Sami Lazreg
    Maxime Cordy
    Axel Legay
    [J]. Empirical Software Engineering, 2022, 27
  • [2] Model-based Mutation Testing of Synchronous and Asynchronous Real-Time Systems
    Lorber, Florian
    [J]. 2015 IEEE 8TH INTERNATIONAL CONFERENCE ON SOFTWARE TESTING, VERIFICATION AND VALIDATION (ICST), 2015,
  • [3] Model-Based Mutation Testing of Real-Time Systems via Model Checking
    Lorber, Florian
    Larsen, Kim G.
    Nielsen, Brian
    [J]. 2018 IEEE 11TH INTERNATIONAL CONFERENCE ON SOFTWARE TESTING, VERIFICATION AND VALIDATION WORKSHOPS (ICSTW), 2018, : 59 - 68
  • [4] Model-Based Testing of Real-Time Distributed Systems
    Vain, Jueri
    Halling, Evelin
    Kanter, Gert
    Anier, Aivo
    Pal, Deepak
    [J]. DATABASES AND INFORMATION SYSTEMS, DB&IS 2016, 2016, 615 : 272 - 286
  • [5] Model-based Real-time Testing of Drone Autopilots
    Patelli, Andrea
    Mottola, Luca
    [J]. DRONET'16: PROCEEDINGS OF THE 2ND WORKSHOP ON MICRO AERIAL VEHICLE NETWORKS, SYSTEMS, AND APPLICATIONS FOR CIVILIAN USE, 2016, : 11 - 16
  • [6] Model-Based Real-Time Testing of Embedded Automotive Systems
    Skruch, Pawel
    Buchala, Gabriel
    [J]. SAE INTERNATIONAL JOURNAL OF PASSENGER CARS-ELECTRONIC AND ELECTRICAL SYSTEMS, 2014, 7 (02): : 337 - 344
  • [7] Real-Time Model-Based Fault Detection and Isolation for UGVs
    A. Monteriù
    P. Asthana
    K. P. Valavanis
    S. Longhi
    [J]. Journal of Intelligent and Robotic Systems, 2009, 56
  • [8] Real-Time Model-Based Fault Detection and Isolation for UGVs
    Monteriu, A.
    Asthana, P.
    Valavanis, K. P.
    Longhi, S.
    [J]. JOURNAL OF INTELLIGENT & ROBOTIC SYSTEMS, 2009, 56 (04) : 425 - 439
  • [9] Model-based testing of a real-time adaptive motion planning system
    Abdelgawad, Mahmoud
    McLeod, Sterling
    Andrews, Anneliese
    Xiao, Jing
    [J]. ADVANCED ROBOTICS, 2017, 31 (22) : 1159 - 1176
  • [10] Model-based Testing of Real-time Adaptive Motion Planning (RAMP)
    Abdelgawad, Mahmoud
    McLeod, Sterling
    Andrews, Anneliese
    Xiao, Jing
    [J]. 2016 IEEE INTERNATIONAL CONFERENCE ON SIMULATION, MODELING, AND PROGRAMMING FOR AUTONOMOUS ROBOTS (SIMPAR), 2016, : 162 - 169