Unit Testing of Model to Text Transformations.

Alessandro Tiso, Gianna Reggio, Maurizio Leotta · CINECA IRIS Institutial Research Information System (University of Genoa) · 2014

Assuring the quality of Model Transformations, the core of Model Driven Development, requires to solve novel and challenging problems.Indeed, testing a model transformation could require, for instance, to deal with a complex software artifact, which takes as input UML models describing Java applications and produces the executable source code for those applications.In this context, even creating the test cases input and checking the correctness of the output provided by the model transformation are not easy tasks.In this work, we focus on Model to Text Transformations and propose a general approach for testing them at the unit level.A case study concerning the unit testing of a transformation from UML models of ontologies into OWL code is also presented.

Read the paper · More papers on PaperTik