-
Notifications
You must be signed in to change notification settings - Fork 1k
Closed
Milestone
Description
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?
- Shell
- Maven
- Gradle
- Ant
- Eclipse
- IntelliJ
- NetBeans
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.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels