M. Wimmer, L. Burgueño: Testing M2T/T2M Transformations, Vortrag: ACM/IEEE 16th International Conference on Model Driven Engineering Languages and Systems, Miami, September 29 - October 4, 2013, Proceedings of the 16th International Conference on Model Driven Engineering Languages and Systems (MODELS), Springer (2013), pages 1 - 17. Doi: 10.1007/978-3-642-41533-3_13
Testing model-to-model (M2M) transformations is becoming a prominent topic in the current Model-driven Engineering landscape. Current approaches for transformation testing, however, assume having explicit model representations for the input domain and for the output domain of the transformation. This excludes other important transformation kinds, such as model-to-text (M2T) and text-to-model (T2M) transformations, from being properly tested since adequate model representations are missing either for the input domain or for the output domain. The contribution of this paper to overcome this gap is extending Tracts, a M2M transformation testing approach, for M2T/T2M transformation testing. The main mechanism we employ for reusing Tracts is to represent text within a generic metamodel. By this, we transform the M2T/T2M transformation specification problems into equivalent M2M transformation specification problems. We demonstrate the applicability of the approach by two examples and present how the approach is implemented for the Eclipse Modeling Framework (EMF). Finally, we apply the approach to evaluate code generation capabilities of several existing UML tools.