-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Different results in the reports #1830
Comments
@diegolovison - Can you please check if this library that I built works for you ? https://github.com/RationaleEmotions/junitreport |
Hi @krmahadevan Well, no. I generated the report as you can see here https://github.com/diegolovison/testng-reporter/blob/rationale-emotions/target/surefire-reports/Surefire%20suite/Surefire%20test.xml The "junitreports" https://github.com/diegolovison/testng-reporter/tree/rationale-emotions/target/surefire-reports/junitreports shows what I am expecting. What is your opinion? |
@diegolovison - I didn't quite understand. So are you saying that |
@krmahadevan, no. In your report, where I can see that the method c in FooTest skipped? <testcase name="c" classname="com.github.diegolovison.testngreporter.FooTest">
<skipped/>
</testcase> |
@diegolovison - I am not sure if |
Well, the info above related with What I would like to address in this issue is keep console, JUnitXMLReporter and JUnitReportReporter consistent. Today they have different results what cause confusion. |
@diegolovison - Let me see what I can do. Do you think you could help quickly share a sample that can be used to reproduce the problem ? That way its easy to get to the bottom of this issue. |
@krmahadevan yes. It is described on the issue :) |
TestNG Version
6.14.3
Description
We have 3 tests:
We have the following configuration in pom.xml
In this case, 2 tests are supposed to be running and 1 should be skipped.
In the console we have:
In JUnitXMLReporter ( https://github.com/diegolovison/testng-reporter/blob/master/target/surefire-reports/Surefire%20suite/Surefire%20test.xml ) we have:
In JUnitReportReporter ( https://github.com/diegolovison/testng-reporter/blob/master/target/surefire-reports/junitreports/TEST-com.github.diegolovison.testngreporter.FooTest.xml ) we have:
No mention about FooTest:a
Expected behavior
I would like to have the same result in console, JUnitXMLReporter and JUnitReportReporter
Actual behavior
Different value in all reports
Is the issue reproductible on runner?
Test case sample
https://github.com/diegolovison/testng-reporter
The text was updated successfully, but these errors were encountered: