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

AssertionResult

public class 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