C# Class NUnit.Framework.RetryAttribute

Inheritance: PropertyAttribute, IWrapSetUpTearDown
Show file Open project: nunit/nunit

Public Methods

Method Description
RetryAttribute ( int count ) : System

Construct a RepeatAttribute

Wrap ( NUnit.Framework.Internal.Commands.TestCommand command ) : NUnit.Framework.Internal.Commands.TestCommand

Wrap a command and return the result.

Method Details

RetryAttribute() public method

Construct a RepeatAttribute
public RetryAttribute ( int count ) : System
count int The number of times to run the test
return System

Wrap() public method

Wrap a command and return the result.
public Wrap ( NUnit.Framework.Internal.Commands.TestCommand command ) : NUnit.Framework.Internal.Commands.TestCommand
command NUnit.Framework.Internal.Commands.TestCommand The command to be wrapped
return NUnit.Framework.Internal.Commands.TestCommand