Towards interactive, test-driven development of model transformations

被引:3
作者
Sanchez Cuadrado, Jesus [1 ]
机构
[1] Univ Murcia, Murcia, Spain
来源
JOURNAL OF OBJECT TECHNOLOGY | 2020年 / 19卷 / 03期
关键词
Model transformation; Test-driven development; Model finding; USE Model Validator; VERIFICATION;
D O I
10.5381/jot.2020.19.3.a18
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Developing model transformations is a complex task because it requires a deep knowledge of the semantics of the input and output meta-models. Many times this knowledge is refined as the transformation is developed. A simple approach to encode this knowledge is in the form of test cases, consisting of pairs of input models and expected output models. However, creating these test cases is a time consuming and error-prone activity and it is barely used. Moreover, there is little tool support for refining a transformation interactively at the same time that the test suite is created. This paper explores an approach for test-driven development of model transformations based on creating test cases using a model finder in an interactive manner. The synthesis of the input models of the test cases is driven by the results of static analysis with respect to the coverage of the transformation, with the goal of instantiating input models which are not yet handled by the transformation. The expected models are automatically derived using an instrumented transformation, and the user is in charge of inspecting the result to validate them. The approach has been implemented for ATL and integrated into AnATLyzer using USE Model Validator as the backend model finder.
引用
收藏
页码:1 / 12
页数:12
相关论文
共 35 条
  • [1] Arendt T, 2010, LECT NOTES COMPUT SC, V6394, P121
  • [2] Barriers to Systematic Model Transformation Testing
    Baudry, Benoit
    Ghosh, Sudipto
    Fleurey, Franck
    France, Robert
    Le Traon, Yves
    Mottu, Jean-Marie
    [J]. COMMUNICATIONS OF THE ACM, 2010, 53 (06) : 139 - 143
  • [3] A Systematic Approach to Generate Diverse Instantiations for Conceptual Schemas
    Burgueno, Loli
    Cabot, Jordi
    Clariso, Robert
    Gogolla, Martin
    [J]. CONCEPTUAL MODELING, ER 2019, 2019, 11788 : 513 - 521
  • [4] Static Fault Localization in Model Transformations
    Burgueno, Loli
    Troya, Javier
    Wimmer, Manuel
    Vallecillo, Antonio
    [J]. IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2015, 41 (05) : 490 - 506
  • [5] A Deductive Approach for Fault Localization in ATL Model Transformations
    Cheng, Zheng
    Tisi, Massimo
    [J]. FUNDAMENTAL APPROACHES TO SOFTWARE ENGINEERING, FASE 2017, 2017, 10202 : 300 - 317
  • [6] Cuadrado J. S., 2020, 16 EUR C MOD FDN APP, P1
  • [7] Developing a model-driven reengineering approach for migrating PL/SQL triggers to Java']Java: A practical experience
    Fernandez Candel, Carlos Javier
    Garcia Molina, Jesus
    Bermudez Ruiz, Francisco Javier
    Hoyos Barcelo, Jose Ramon
    Sevilla Ruiz, Diego
    Cuesta Viera, Benito Jose
    [J]. JOURNAL OF SYSTEMS AND SOFTWARE, 2019, 151 : 38 - 64
  • [8] Validation in model-driven engineering: Testing model transformations
    Fleurey, F
    Steel, J
    Baudry, B
    [J]. SIVOES-MODEVA 2004, PROCEEDINGS, 2004, : 29 - 40
  • [9] Gerking C., 2015, 6TH INTERNATIONAL WO, P1
  • [10] Achieving model quality through model validation, verification and exploration
    Gogolla, Martin
    Hilken, Frank
    Khanh-Hoang Doan
    [J]. COMPUTER LANGUAGES SYSTEMS & STRUCTURES, 2018, 54 : 474 - 511