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 条
  • [11] Gogolla M, 2011, LECT NOTES COMPUT SC, V6698, P221, DOI 10.1007/978-3-642-21470-7_16
  • [12] Gonzalez Carlos A., 2012, Model Driven Engineering Languages and Systems. Proceedings 15th International Conference, MODELS 2012, P449, DOI 10.1007/978-3-642-33666-9_29
  • [13] Guana V, 2014, LECT NOTES COMPUT SC, V8568, P146
  • [14] Towards effective mutation testing for ATL
    Guerra, Esther
    Sanchez Cuadrado, Jesus
    de Lara, Juan
    [J]. 2019 ACM/IEEE 22ND INTERNATIONAL CONFERENCE ON MODEL DRIVEN ENGINEERING LANGUAGES AND SYSTEMS (MODELS 2019), 2019, : 78 - 88
  • [15] Specification-driven model transformation testing
    Guerra, Esther
    Soeken, Mathias
    [J]. SOFTWARE AND SYSTEMS MODELING, 2015, 14 (02) : 623 - 644
  • [16] Engineering model transformations with transML
    Guerra, Esther
    de Lara, Juan
    Kolovos, Dimitrios S.
    Paige, Richard F.
    dos Santos, Osmar Marchi
    [J]. SOFTWARE AND SYSTEMS MODELING, 2013, 12 (03) : 555 - 577
  • [17] Automated verification of model transformations based on visual contracts
    Guerra, Esther
    de Lara, Juan
    Wimmer, Manuel
    Kappel, Gerti
    Kusel, Angelika
    Retschitzegger, Werner
    Schoenboeck, Johannes
    Schwinger, Wieland
    [J]. AUTOMATED SOFTWARE ENGINEERING, 2013, 20 (01) : 5 - 46
  • [18] Testing models and model transformations using classifying terms
    Hilken, Frank
    Gogolla, Martin
    Burgueno, Loli
    Vallecillo, Antonio
    [J]. SOFTWARE AND SYSTEMS MODELING, 2018, 17 (03) : 885 - 912
  • [19] ATL:: A model transformation tool
    Jouault, Frederic
    Allilaire, Freddy
    Bezivin, Jean
    Kurtev, Ivan
    [J]. SCIENCE OF COMPUTER PROGRAMMING, 2008, 72 (1-2) : 31 - 39
  • [20] Kolovos DS, 2008, LECT NOTES COMPUT SC, V5063, P46, DOI 10.1007/978-3-540-69927-9_4