Table of Contents

Class DynamicSkipToken

Namespace
Xunit.v3
Assembly
xunit.v3.core.dll

Container class for token used to dynamically skip tests.

public static class DynamicSkipToken
Inheritance
DynamicSkipToken
Inherited Members

Fields

Value

The contract for exceptions which indicate that something should be skipped rather than failed is that exception message should start with this, and that any text following this will be treated as the skip reason (for example, "$XunitDynamicSkip$This code can only run on Linux") will result in a skipped test with the reason of "This code can only run on Linux".

public const string Value = "$XunitDynamicSkip$"

Field Value

string