-
Notifications
You must be signed in to change notification settings - Fork 157
Retry Attribute
CharliePoole edited this page Oct 19, 2016
·
5 revisions
RetryAttribute is used on a test method to specify that it should be rerun if it fails, up to a maximum number of times.
Notes:
-
It is not currently possible to use RetryAttribute on a TestFixture or any other type of test suite. Only single tests may be repeated.
-
If a test has an unexpected exception, an error result is returned and it is not retried. Only assertion failures can trigger a retry. To convert an unexpected exception into an assertion failure, see the ThrowsConstraint.
Copyright (c) 2018 The NUnit Project - Licensed under CC BY-NC-SA 4.0
-
NUnit
-
Release Notes
-
License
- Getting Started
- Writing Tests
- Running Tests
- Extending NUnit
- Technical Notes
-
Release Notes
- NUnit Xamarin Runners
- VS Test Adapter
- VS Test Generator
- NUnit Analyzers