Class SkipException
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.
public static SkipException ForSkip(string message)
Parameters
messagestring