A Black-Box and Contract-Based Verification
of Model Transformations
Meriem Lahrouni1,2,
Eric Cariou2, and Abdelaziz El Fazziki1
1Computer
Science Department, University Cadi Ayyad, Morocco
2Computer Science Laboratory,
University of Pau and Pays de l’Adour, France
Abstract: The main goal of Model-Driven Engineering (MDE) is to manipulate
productive models to build software. In this context, model transformation is a
common way to automatically manipulate models. It is then required to ensure
that transformation has been correctly processed. In this paper, we propose a
contract-based method to verify that a target model is a valid result of a
source model with respect to the transformation specification. The verification
is made in a black-box mode, independently of the implementation and the
execution of the transformation. The method allows the contract to be written
in any constraint language. In association with this method, we have
implemented a tool that partially generates contracts written in OCL and
manages their evaluation for both endogenous and exogenous transformations.
Keywords: MDE, model transformation, contract, verification.
Received
October 26, 2015; accepted July 19, 2017