Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Duplicate
-
Affects Version/s: 2.4.3
-
Fix Version/s: None
-
Component/s: classloading
-
Labels:None
-
Environment:Windows XP sp2, Maven 2.0.9, JUnit 4.x, TestNG 5.x
-
Complexity:Intermediate
-
Number of attachments :
Description
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.
Issue Links
- duplicates
-
SUREFIRE-377
When JUnit and TestNG tests are in same project, only one set gets run
-
See
SUREFIRE-377