Skip to content
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

Ignore Config skips in xml reports #2887

Merged
merged 1 commit into from
Mar 24, 2023

Conversation

krmahadevan
Copy link
Member

Closes #2886

TestNG by design excludes suite level configs
When there is inheritance involved and multiple
Children of the same base class are included in a suite. But when reporting the results as xml
TestNG is not excluding these configs from the reports.

Fixed this discrepancy.

Fixes #2886 .

Did you remember to?

  • Add test case(s)
  • Update CHANGES.txt
  • Auto applied styling via ./gradlew autostyleApply

We encourage pull requests that:

  • Add new features to TestNG (or)
  • Fix bugs in TestNG

If your pull request involves fixing SonarQube issues then we would suggest that you please discuss this with the
TestNG-dev before you spend time working on it.

Note: For more information on contribution guidelines please make sure you refer our Contributing section for detailed set of steps.

Closes testng-team#2886

TestNG by design excludes suite level configs 
When there is inheritance involved and multiple 
Children of the same base class are included in a suite. 
But when reporting the results as xml 
TestNG is not excluding these configs from the reports.

Fixed this discrepancy.
@krmahadevan
Copy link
Member Author

ping @juherr

@krmahadevan krmahadevan merged commit 2e0c8bd into testng-team:master Mar 24, 2023
@krmahadevan krmahadevan deleted the fix_2886 branch March 24, 2023 13:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

testng-results xml reports config skips from base classes as ignored
2 participants