Table of Contents

Class SkipException

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

Exception thrown when Assert.Skip is called.

public class SkipException : XunitException, ISerializable, IAssertionException
Inheritance
SkipException
Implements
Inherited Members

Methods

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.