C# Класс Xunit.SpecificationCommand

A ITestCommand decorator which invokes methods on the specification class before and after the real test method executes. This requires the specification class to implement ISpecification.
Наследование: Xunit.Sdk.TestCommand
Показать файл Открыть проект

Открытые методы

Метод Описание
Execute ( object testClass ) : Xunit.Sdk.MethodResult

Executes the specified test class.

SpecificationCommand ( ITestCommand innerCommand, IMethodInfo testMethod ) : System

Initializes a new instance of the SpecificationCommand class.

Описание методов

Execute() публичный Метод

Executes the specified test class.
public Execute ( object testClass ) : Xunit.Sdk.MethodResult
testClass object The test class.
Результат Xunit.Sdk.MethodResult

SpecificationCommand() публичный Метод

Initializes a new instance of the SpecificationCommand class.
public SpecificationCommand ( ITestCommand innerCommand, IMethodInfo testMethod ) : System
innerCommand ITestCommand The inner command.
testMethod IMethodInfo The test method.
Результат System