Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » my EMF model generated tests...
my EMF model generated tests... [message #892341] Wed, 27 June 2012 19:38
Sharon Snyder is currently offline Sharon SnyderFriend
Messages: 56
Registered: September 2010

I posted the same question in the EMF newsgroup as well, just to be sure someone who may have info would read it!


I am trying to finally get some Junit tests running on my EMF model. The EMF model was created and code was generated for an RCP application. The model plugin itself "should" be standalone - right?

Well, my question is this: I generated the test code from the .genmodel. It created a project with appropriately stubbed out code. I try to run one of the resulting files as Run As->Junit test .... and it fails to be able to load the class.

Is there a tutorial or information out there on doing this? I am just trying to test the model only - just create an object, or series of objects in my model, and verify that it is then providing the data I expect. This way we can create some automated tests that don't rely on the GUI display, and can test other aspects of the product.

I hope someone out there can help!

Previous Topic:How to Document MWE and XPT Files
Next Topic:Cannot create Migrator (Edapt/COPE)
Goto Forum:

Current Time: Fri Jun 22 07:59:28 GMT 2018

Powered by FUDForum. Page generated in 0.01185 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top