my EMF model generated tests... [message #892341] |
Wed, 27 June 2012 19:38 |
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.02583 seconds