Table of Contents

Class FailException

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

Exception thrown when Assert.Fail is called.

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

Methods

ForFailure(string?)

Creates a new instance of the FailException class to be thrown when the user calls Fail(string?).