-
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
configfailurepolicy=continue only works for BeforeTest when using TestNG XML file #2731
Comments
@Wang-Meimei - Is this something that was broken in |
It seems this never worked. But from the document, it should work. So maybe need to update document? |
Yes, as we know now it is no a regression, we need to determine the expected behavior and fix the code or the doc. I think the issue is valid and the method should be run. |
I dont know if this is an issue @juherr . If there is a higher and lower order configuration, then we should not try to execute the lower order configuration. For .e.g, Lets say I have
In this case, we should not try to execute the So am not sure what the behaviour should be. @bj-9527 - Please note. |
IMO, the only difference between But when I see #2735 changes in tests, I wonder if the behavior change should not be configurable. |
It could be config by
For, this change, the |
TestNG Version
Expected behavior
if configfailurepolicy=continue and any BeforeXXX method fails, the remaining test method should execute not skip
Actual behavior
only BeforeTest fails, the remaining test method would execute
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: