C# Class NUnit.Framework.RetryAttribute.RetryCommand

The test command for the RetryAttribute
Inheritance: NUnit.Framework.Internal.Commands.DelegatingTestCommand
Afficher le fichier Open project: nunit/nunit

Méthodes publiques

Méthode 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 méthode

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.
Résultat TestResult

RetryCommand() public méthode

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
Résultat System