NUnit.Framework.RepeatAttribute
Specifies that a test should be run multiple times.
namespace NUnit.
Framework
{
public class RepeatAttribute :
PropertyAttribute,
IRepeatTest,
ICommandWrapper
{
public class RepeatedTestCommand :
DelegatingTestCommand
{
public RepeatedTestCommand(
TestCommand innerCommand,
int repeatCount,
bool stopOnFailure);
public RepeatedTestCommand(
TestCommand innerCommand,
int repeatCount,
bool stopOnFailure,
int requiredPassPercentage);
public RepeatedTestCommand(
TestCommand innerCommand,
int repeatCount,
bool stopOnFailure,
int requiredPassPercentage,
bool stopWhenOverallResultDetermined);
}
public bool StopOnFailure { get; set; }
public int RequiredPassPercentage { get; set; }
public bool StopWhenOverallResultDetermined { get; set; }
public RepeatAttribute(
int count);
public RepeatAttribute(
int count,
bool stopOnFailure);
public TestCommand Wrap(
TestCommand command);
}
}