<PackageReference Include="NUnit" Version="3.13.2" />

AssertionResult

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

The message produced by the assertion, or null

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 bool Equals(AssertionResult other)

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