I'm trying to run JUnit4 tests in one of the modules of a project that uses
3.8.1
I have added the 4.4 version as dependency and configured the
maven-surefire-plugin to 2.3

When I run the test it seems that is not running JUnit4 tests, instead is
using the 3.8.1.
I have added the method oneTimeSetUp with the @BeforeClass annotation, and
is not being called.

Is Maven overriding the old version of JUnit that it's specified in the
parent project?
-- 
View this message in context: 
http://www.nabble.com/Junit4-and-oneTimeSetUp-tf4509797s177.html#a12861920
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to