<PackageReference Include="NUnit" Version="4.4.0-beta.2.1" />

AssertionResult

The AssertionResult class represents the result of a single assertion.
public string Message { get; }

The message produced by the assertion, or null

public FailureSite Site { get; }

Where did the failure occur.

public string StackTrace { get; }

The stack trace associated with the assertion, or null

public AssertionStatus Status { get; }

The pass/fail status of the assertion

public AssertionResult(AssertionStatus status, string message, string stackTrace)

Construct an AssertionResult

public AssertionResult(FailureSite site, AssertionStatus status, string message, string stackTrace)

Construct an AssertionResult

public bool Equals(AssertionResult other)

Indicates whether the current object is equal to another object of the same type.