-
Notifications
You must be signed in to change notification settings - Fork 15
Description
Expected Behavior
Executing a suite.xml using ExtentITestListenerClassAdapter should report each method call a single time.

Current Behavior
Executing a suite.xml using ExtentITestListenerClassAdapter reports each method call several times.

Steps to Reproduce
- Download testng-sample
- Add the following suite.xml (rename from .txt to .xml): TestSuite.txt
- Execute suite.
Alternatively download updated example from this branch and execute TestSuite.xml: https://github.com/mtorres10/examples/tree/feature/UpdateReportsVersionTo5
Additional Information
It seems listener behaves differently when using suites. This behavior does not happens when using surefire without suites (using includes and excludes). This issue is present on previous versions of the adapter as well. Using adapter 1.0.6 and reports 4.0.6 behaves the same way.
Attaching both reports for comparison
SparkReport using xml suite.zip
SparkReport.zip