C# 클래스 Xunit.Skip

Static methods for dynamically skipping tests identified with the SkippableFactAttribute.
파일 보기 프로젝트 열기: AArnott/Xunit.SkippableFact 1 사용 예제들

공개 메소드들

메소드 설명
If ( bool condition, string reason = null ) : void

Throws an exception that results in a "Skipped" result for the test.

IfNot ( bool condition, string reason = null ) : void

Throws an exception that results in a "Skipped" result for the test.

메소드 상세

If() 공개 정적인 메소드

Throws an exception that results in a "Skipped" result for the test.
public static If ( bool condition, string reason = null ) : void
condition bool The condition that must evaluate to true for the test to be skipped.
reason string The explanation for why the test is skipped.
리턴 void

IfNot() 공개 정적인 메소드

Throws an exception that results in a "Skipped" result for the test.
public static IfNot ( bool condition, string reason = null ) : void
condition bool The condition that must evaluate to false for the test to be skipped.
reason string The explanation for why the test is skipped.
리턴 void