Table of Contents

Class FailAsserts

Namespace
Asserts
Assembly
xunit.v3.assert.dll
public class FailAsserts
Inheritance
FailAsserts
Inherited Members

Methods

Fail(string?)

Indicates that the test should immediately fail.

public static void Fail(string? message = null)

Parameters

message string

The optional failure message

Examples

Add an example for this method ?

Contribution guide.