Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.16
-
None
Description
I have some code automation around TestNG listeners. And I notice different behaviour of maven-surefire-plugin 2.15 and 2.16.
In 2.15 In method org.testng.TestNG.run during execution contains 1-XmlTestSuite with 1-XmlTest with 2 XmlClass inside.
I've also checked InteliJ org.testng.RemoteTestNG he has the same state during execution.
But in 2.16 we have 2-XmlTestSuite with 1-XmlTest with 1 XmlClass inside.
As a result TestNG initialise two IInvokedMethodListener instead of one.
Is this expected behaviour?
Example of test code I put here
Attachments
Issue Links
- is duplicated by
-
SUREFIRE-1045 Separate of each test class into 1 suite causes problem with setUp embedded DBs and testNG dependsOnGroup
- Closed
- is related to
-
SUREFIRE-739 preserve-order attribute is ignored with Surefire plugin 2.8.1
- Closed
-
SUREFIRE-1012 runOrder doesn't seem to have an effect at all for TestNG tests
- Closed
- relates to
-
SUREFIRE-1038 Regression: Method depends on nonexistent group
- Closed