Automated inference of likely metamorphic relations for model transformations

被引:27
|
作者
Troya, Javier [1 ,2 ]
Segura, Sergio [1 ]
Ruiz-Cortes, Antonio [1 ]
机构
[1] Univ Seville, Dept Comp Languages & Syst, Seville, Spain
[2] Univ Seville, ETS Ingn Informat, Room E0-40-A,Avda Reina Mercedes S-N, E-41012 Seville, Spain
关键词
Model-Driven engineering; Metamorphic testing; Metamorphic relations; Model transformations; Automatic inference; Generic approach; SOFTWARE; VALIDATION; ATL;
D O I
10.1016/j.jss.2017.05.043
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Model transformations play a cornerstone role in Model-Driven Engineering (MDE) as they provide the essential mechanisms for manipulating and transforming models. Checking whether the output of a model transformation is correct is a manual and error-prone task, referred to as the oracle problem. Metamorphic testing alleviates the oracle problem by exploiting the relations among different inputs and outputs of the program under test, so-called metamorphic relations (MRs). One of the main challenges in metamorphic testing is the automated inference of likely MRs. This paper proposes an approach to automatically infer likely MRs for ATL model transformations, where the tester does not need to have any knowledge of the transformation. The inferred MRs aim at detecting faults in model transformations in three application scenarios, namely regression testing, incremental transformations and migrations among transformation languages. In the experiments performed, the inferred likely MRs have proved to be quite accurate, with a precision of 96.4% from a total of 4101 true positives out of 4254 MRs inferred. Furthermore, they have been useful for identifying mutants in regression testing scenarios, with a mutation score of 93.3%. Finally, our approach can be used in conjunction with current approaches for the automatic generation of test cases. (C) 2017 Elsevier Inc. All rights reserved.
引用
收藏
页码:188 / 208
页数:21
相关论文
共 50 条
  • [21] Automated Benchmark Model Generators for Model-Based Diagnostic Inference
    Provan, Gregory
    Wang, Jun
    [J]. 20TH INTERNATIONAL JOINT CONFERENCE ON ARTIFICIAL INTELLIGENCE, 2007, : 513 - 518
  • [22] Towards an Automated Test Generation for the Verification of Model Transformations
    Lamari, Maher
    [J]. APPLIED COMPUTING 2007, VOL 1 AND 2, 2007, : 998 - 1005
  • [23] Most Likely Transformations: The mlt Package
    Hothorn, Torsten
    [J]. JOURNAL OF STATISTICAL SOFTWARE, 2020, 92 (01): : 1 - 68
  • [24] Automated model transformations using the C.C language
    Merunka, Vojtech
    Nouza, Oldrich
    Brozek, Jiri
    [J]. ADVANCES IN ENTERPRISE ENGINEERING I, PROCEEDINGS, 2008, 10 : 137 - +
  • [25] Automated Feature Model-based Generation of Refinement Transformations
    Kapova, Lucia
    Goldschmidt, Thomas
    [J]. 2009 35TH EUROMICRO CONFERENCE ON SOFTWARE ENGINEERING AND ADVANCED APPLICATIONS, PROCEEDINGS, 2009, : 141 - +
  • [26] Automated Reuse of Model Transformations through Typing Requirements Models
    De Lara, Juan
    Guerra, Esther
    Di Ruscio, Davide
    Di Rocco, Juri
    Sanchez Cuadrado, Jesus
    Iovino, Ludovico
    Pierantonio, Alfonso
    [J]. ACM TRANSACTIONS ON SOFTWARE ENGINEERING AND METHODOLOGY, 2019, 28 (04)
  • [27] Automated Middleware QoS Configuration Techniques using Model Transformations
    Kavimandan, Amogh
    Gokhale, Aniruddha
    [J]. 2007 11TH IEEE INTERNATIONAL ENTERPRISE DISTRIBUTED OBJECT COMPUTING CONFERENCE WORKSHOPS, 2007, : 20 - 27
  • [28] Automated Formal Verification of Model Transformations Using the Invariants Mechanism
    Ulitin, Boris
    Babkin, Eduard
    Babkina, Tatiana
    Vizgunov, Arsenii
    [J]. PERSPECTIVES IN BUSINESS INFORMATICS RESEARCH, BIR 2019, 2019, 365 : 59 - 73
  • [29] Application of transformations in parametric inference
    Brownstein, Naomi
    Pensky, Marianna
    [J]. JOURNAL OF STATISTICS EDUCATION, 2008, 16 (01):
  • [30] INFERENCE FOR DOMINANCE RELATIONS*
    Bennett, Christopher J.
    [J]. INTERNATIONAL ECONOMIC REVIEW, 2013, 54 (04) : 1309 - 1328