Table of Contents

Method ForSkip

Namespace
Xunit.Sdk
Assembly
xunit.v3.assert.dll

ForSkip(string)

Creates a new instance of the SkipException class to be thrown when a user wants to dynamically skip a test. Note that this only works in v3 and later of xUnit.net, as it requires runtime infrastructure changes.

public static SkipException ForSkip(string message)

Parameters

message string

Returns