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
파일 보기 프로젝트 열기: BjRo/xunitbddextensions

공개 메소드들

메소드 설명
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