<PackageReference Include="NUnit" Version="4.4.0" />

NUnit.Framework.RetryAttribute

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