-
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
Specifying dataProvider and successPercentage causes test to always pass #3170
Comments
Note that this behaviour changed in TestNG 7. In TestNG 6.14.3, for the tests above, only This changes again at TestNG 6.8.15. AT TestNG 6.8.17, |
It seems like when using a data provider and successPercentage, TestNG is reporting all failed tests as When running this:
all tests report |
TestNG Version
7.10.2
Expected behavior
Expected that the following tests fail because 75% of the tests fail but successPercentage is 99.
Actual behavior
All tests pass.
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: