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
Add Retry for failed tests only #1828
Comments
NUnit includes a |
This is working only for tests without parameters. Is there any why to pass a parameters when we are using retry? |
If it isn't working for a particular use case we can reopen this issue. Please provide an example. |
This is the documentation on https://github.com/nunit/docs/wiki/Retry-Attribute : |
@meijin007 Thanks for reminding me of that restriction, which I had forgotten. I'll reopen this and take a closer look. |
The documentation statement was a hold-over from NUnit 2 and is not correct. I have added a test to verify that Retry works on Test Cases. Note that the retry applies to each test case when used this way. |
Hi @CharliePoole , I am facing a problem with Retry Attribute. NUnit is retaining the previous Failed value in [TearDown] |
@ammark1 This specific issue was fixed and has been closed for a while. If you have a new problem, it's best to file a new issue. |
@CharliePoole New ticket created: #2619 |
Hi , By using Retry functionality, is it possible to rerun all failed tests at the end instead of immediately after the failed test? |
Not currently, no. |
Is it possible somehow?
The text was updated successfully, but these errors were encountered: