NUnit.Framework.RetryAttribute public class RetryAttribute : NUnitAttribute, IRepeatTest, ICommandWrapper Specifies that a test method should be rerun on failure up to the specified maximum number of times. Documentation Code namespace NUnit.Framework { public class RetryAttribute : NUnitAttribute, IRepeatTest, ICommandWrapper { public class RetryCommand : DelegatingTestCommand { public RetryCommand(TestCommand innerCommand, int tryCount); public RetryCommand(TestCommand innerCommand, int tryCount, Type[] retryExceptions); } public Type[] RetryExceptions { get; set; } public RetryAttribute(int tryCount); public TestCommand Wrap(TestCommand command); } }