Class RepeatAttribute
RepeatAttribute may be applied to test case in order to run it multiple times.
[AttributeUsage(AttributeTargets.Method, AllowMultiple = false, Inherited = false)]
public class RepeatAttribute : PropertyAttribute, IApplyToTest, IWrapSetUpTearDown, ICommandWrapper
- Inheritance
-
RepeatAttribute
- Implements
- Inherited Members
Constructors
RepeatAttribute(int)
Construct a RepeatAttribute
public RepeatAttribute(int count)
Parameters
count
intThe number of times to run the test
Methods
Wrap(TestCommand)
Wrap a command and return the result.
public TestCommand Wrap(TestCommand command)
Parameters
command
TestCommandThe command to be wrapped
Returns
- TestCommand
The wrapped command