[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.modeling.m2m] Re: [QVTO] Unit testing

Hi,

As for using EMF Compare to make comparisons for non-regression tests,
you can have a look in the ATL CVS where there is a plug-in that is
dedicated to non-regression tests using EMF Compare.

Regards
Stephane LACRAMPE
Obeo

Emmanuel.Leguy a écrit :
Hello,

I would like to make unit testing (like JUnit) on my qvto transformations. I want to do it at the mapping level. To do so, for each mapping, i could proceed as follows;
- manually build in and out models
- execution of the mapping with the in model
- comparison (with emf compare?) of the generated model with the manually build out model.
I am at the very begining and i am looking for some ways to do it.
A first idea is to make a java application using the qvto api to launch separatly the mappings. I don't know if it is possible? The best method?
Has anyone already worked on this?


Thank you,

Emmanuel.