Table of Contents

Class TrueException

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

Exception thrown when Assert.True fails.

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

Methods

ForNonTrueValue(string?, bool?)

Creates a new instance of the TrueException class to be thrown when a non-true value was provided.