testng icon indicating copy to clipboard operation
testng copied to clipboard

JunitReports xml Generated by org.testng.reporters.JUnitReportReporter have issue that it doesn't show if the testcase was a config i.e, beforeTest, AfterTest etc

Open priyankasaini077 opened this issue 3 years ago • 0 comments

TestNG Version

Note: only the latest version is supported

Expected behavior

It should have a attribute if it is a config i.e, beforTest, AfterTest, BeforeMethod, @AfterMethod etc

Actual behavior

Currently if we run any test which have some config say beforTest, then two are populated for the making it impossible to recognise which one is config method and which is actual one. We can have is-config="true" attribute for these as we have in testNg report

Is the issue reproducible on runner?

  • [x] Shell
  • [ ] Maven
  • [ ] Gradle
  • [x] Ant
  • [x] Eclipse
  • [ ] IntelliJ
  • [ ] NetBeans

Test case sample

Please, share the test case (as small as possible) which shows the issue

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.

priyankasaini077 avatar Sep 26 '22 09:09 priyankasaini077