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 15:38
Sharon Snyder is currently offline Sharon Snyder
Messages: 56
Registered: September 2010
Member

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

Hi,

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 XXXTest.java 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!

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


Current Time: Tue Jul 22 15:42:16 EDT 2014

Powered by FUDForum. Page generated in 0.01655 seconds