TestNG Version
7.10.2
Expected behavior
The correct number of ignored tests should be displayed in the XML results
Actual behavior
Ignored statistic shows count of retried tests:
testng-core/src/main/java/org/testng/reporters/AbstractXmlReporter.java
public void add(Count count) {
this.passed += count.passed;
this.failed += count.failed;
this.skipped += count.skipped;
this.retried += count.retried;
this.ignored += count.retried;
}
Is the issue reproducible on runner?
Test case sample
@Test
@Ignore
public void testIgnored() {
System.out.println("Ignored testcase");
}
Contribution guidelines
Incase you plan to raise a pull request to fix this issue, please make sure you refer our Contributing section for detailed set of steps.
TestNG Version
Expected behavior
The correct number of ignored tests should be displayed in the XML results
Actual behavior
Ignored statistic shows count of retried tests:
testng-core/src/main/java/org/testng/reporters/AbstractXmlReporter.java
Is the issue reproducible on runner?
Test case sample
Contribution guidelines
Incase you plan to raise a pull request to fix this issue, please make sure you refer our Contributing section for detailed set of steps.