2017 ACM/IEEE 20th International Conference on Model Driven Engineering Languages and Systems (MODELS) (2017)
Austin, Texas, United States
Sept. 17, 2017 to Sept. 22, 2017
Model transformations are used to automate model manipulation in Model-Driven Engineering (MDE). In particular, model-to-model transformations produce target models (conformant to a target meta-model) from source ones (conformant to a source meta-model). While transformation correctness is crucial in MDE, developing transformations is error-prone due to the difficulty in testing them. This problem is further aggravated if the source and target meta-models contain OCL integrity constraints, as every transformed source model should satisfy the target integrity constraints.In order to attack this problem, we present a novel method that translates target OCL constraints to the source meta-model using the transformation definition. This way, if a source model satisfies the advanced constraint, the transformed model will satisfy the target constraint. The method has been implemented for the ATL transformation language and integrated with the anATLyzer tool. We show its benefits in combination with model finders, and the promising results of its validation using mutation techniques and transformations developed by third parties.
Production facilities, Petri nets, Analytical models, Generators, Context modeling, Model driven engineering, Testing
Jesus Sanchez Cuadrado, Esther Guerra, Juan de Lara, Robert Clariso, Jordi Cabot, "Translating Target to Source Constraints in Model-to-Model Transformations", 2017 ACM/IEEE 20th International Conference on Model Driven Engineering Languages and Systems (MODELS), vol. 00, no. , pp. 12-22, 2017, doi:10.1109/MODELS.2017.12