-
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
beforeConfiguration() listener method should be invoked for skipped configurations as well #2729
Comments
Could confirm that the configuration method is not called? What is the state of ITestResult when the listener method is called? |
@bj-9527 - I am not quite sure I understand this issue. Here's what I see.
The ONLY discrepancy I see is that the Please feel free to chime in if I have misunderstood this issue. If this answers your question, please feel to close off this issue. |
@juherr -
The state of ITestResult is
|
@krmahadevan Looks good to me. |
@krmahadevan thanks for clarify. |
In 6.14.3, the result is the listener method for |
I made some pretty printing modifications to the listener and here's the output comparison across 7.5, 7.4.0 and 6.14.3 7.5
Analysis:
So now I would need to know what is this bug tracking ? Is this issue suggesting that If yes, please have this defect updated with the proper description and expectation. @juherr - I hope this adds clarity to your questions that you were asking for. |
@bj-9527 - Ok. I have updated the issue title and description to match the expectation. Please take a look |
Thanks a lot, it becomes more clear, I will try to raise PR later |
…onfigurations as well Fixes testng-team#2729
…onfigurations as well Fixes testng-team#2729
…onfigurations as well Fixes testng-team#2729
…onfigurations as well Fixes testng-team#2729
TestNG Version
7.5
Expected behavior
The TestNG listener method beforeConfiguration() should be invoked for skipped configurations as well.
Actual behavior
beforeConfiguration()
is currently NOT being invoked for skipped configuration methods.Is the issue reproducible on runner?
Test case sample
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.
The text was updated successfully, but these errors were encountered: