Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 2.0 (2.2 plugin)
-
Fix Version/s: 2.3
-
Component/s: None
-
Labels:None
-
Environment:Maven 2.0.4
Surefire Plugin 2.2
TestNG 4.7 jdk15 (using annotations)
Sun JDK 1.5_06
Windows XP SP 2
-
Testcase included:yes
-
Number of attachments :
Description
Attachment contains 2 projects which are identical except for how the test cases are referenced. In one project they are referenced via a suite xml file. In the second they are referenced using the includes tag. I believe they should produce identical results.
Both projects find all 6 test classes, but only the one using a suite xml file actually executes the configuration methods and test methods. The project using an includes tag completely ignores the configuratiion methods and test methods.
Issue Links
- is duplicated by
-
SUREFIRE-205
TestNG tests are not run by Maven
-
-
SUREFIRE-208
Surefire doesn't work if testng is in the classpath and a suitexml isn't being used
-