C# Class NUnit.Framework.RetryAttribute.RetryCommand

The test command for the RetryAttribute
Inheritance: NUnit.Framework.Internal.Commands.DelegatingTestCommand
Exibir arquivo Open project: nunit/nunit

Public Methods

Method Description
Execute ( TestExecutionContext context ) : TestResult

Runs the test, saving a TestResult in the supplied TestExecutionContext.

RetryCommand ( NUnit.Framework.Internal.Commands.TestCommand innerCommand, int retryCount ) : System

Initializes a new instance of the RetryCommand class.

Method Details

Execute() public method

Runs the test, saving a TestResult in the supplied TestExecutionContext.
public Execute ( TestExecutionContext context ) : TestResult
context NUnit.Framework.Internal.TestExecutionContext The context in which the test should run.
return TestResult

RetryCommand() public method

Initializes a new instance of the RetryCommand class.
public RetryCommand ( NUnit.Framework.Internal.Commands.TestCommand innerCommand, int retryCount ) : System
innerCommand NUnit.Framework.Internal.Commands.TestCommand The inner command.
retryCount int The number of repetitions
return System