JUnit and TestNG clash with each other
--------------------------------------
Key: SUREFIRE-532
URL: http://jira.codehaus.org/browse/SUREFIRE-532
Project: Maven Surefire
Issue Type: Bug
Components: classloading
Affects Versions: 2.4.3
Environment: Windows XP sp2, Maven 2.0.9, JUnit 4.x, TestNG 5.x
Reporter: Dominic Farr
Attachments: surefire-classload-issue.zip
I have a simple maven project with JUnit and TestNG as dependencies.
I only have JUnit tests using the @Test annotation.
But if TestNG is on the classpath the test class is picked up by surefire, but
the Test annotation is ignored.
I have not included a test, but a simple demo maven app.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira