Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Epsilon » Problem using Epsilon Unit Testing Framework (Unit test must failed)
Problem using Epsilon Unit Testing Framework [message #870266] Mon, 07 May 2012 10:03 Go to previous message
JM Gauthier is currently offline JM Gauthier
Messages: 25
Registered: June 2011
Junior Member
Hello,

I am trying to use EUnit in order to write unit tests for ATL transformation. I have checkout the example (org.eclipse.epsilon.eunit.examples.atl) available on the svn.

This one works fine and the following is shown in the console:

Test compareModel {} passed [cpu: 375 ms, wallclock: 687 ms]
Test root {} passed [cpu: 375 ms, wallclock: 875 ms]
Global result: SUCCESS


But when I modify the file graph-expected.model by adding nodes or changing attributes value, the test is still SUCCESS. This is a problem because I want the oracle and the target model file to be equal in order to have a successfull test.

So, how can I configure .eunit file or eunit.xml to avoid this problem ?

Thanks!

Regards.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic:Forcing an new line EGL
Next Topic:Method 'satisfiesOne' not found for ...
Goto Forum:
  


Current Time: Sun May 19 18:15:41 EDT 2013

Powered by FUDForum. Page generated in 0.04768 seconds