But the problem with the test-model technique is that it tests the whole generation process, including the transformation from the metamodel to the files (when expected are compared to actual). But the methods of my DocumentationGenerator are to be called from inside the templates, so they take facades as parameters, so I need a way to get the metamodel generated thanks to the test-model. Do you see what I mean ?
That's why I was looking for a way to instantiate facades artificially inside my test and I managed to do so with MetafacadeImpls but then I realized that there are no setter on those facades I get so I can't set the comment. Well I need to find a way to build a metamodel for my tests so that they remain as specific as possible. -- Sébastien Arbogast _________________________________________________________ Reply to the post : http://galaxy.andromda.org/forum/viewtopic.php?p=2072#2072 Posting to http://forum.andromda.org/ is preferred over posting to the mailing list! ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Andromda-user mailing list Andromda-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/andromda-user