-
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
Dont honour params specified in suite-file tag #2923
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The dtd file should be updated to be synch to the behavior
I would need help with that, because I have never done that. Also how do we go about publishing this ? |
I checked and confirm that the issue is in the dtd file:
According to the spec, The dtd files are hosted here: https://github.com/testng-team/testng-team.github.io |
@juherr - The DTD is fixed as part of this PR testng-team/testng-team.github.io#46 Can we go ahead with merging this PR ? |
0ac19c0
to
c8bfea8
Compare
Closes testng-team#581 TestNG does not have any logic that would honour parameter tags specified within suite-files tag. But due to a parsing bug, we end up reading parameters that were specified within `<suite-file>` tag. This tag by definition is NOT meant to have any child tags inside of it. Fixed this discrepancy by adding a warning when this anomaly is detected and skipping of reading the `<parameter>` tag inside it as if it were specified within `<suite>` tag.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Just be sure that the new dtd version works well together with the previous one
Closes #581
TestNG does not have any logic that would
honour parameter tags specified within suite-files tag. But due to a parsing bug, we end up reading
parameters that were specified within
<suite-file>
tag.This tag by definition is NOT meant to have any
child tags inside of it.
Fixed this discrepancy by adding a warning when
this anomaly is detected and skipping of reading
the
<parameter>
tag inside it as if it werespecified within
<suite>
tag.Fixes #581 .
Did you remember to?
CHANGES.txt
./gradlew autostyleApply
We encourage pull requests that:
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.