<PackageReference Include="NUnit" Version="3.0.0-alpha" />

ResultState

public class ResultState
The ResultState class represents the outcome of running a test. It contains two pieces of information. The Status of the test is an enum indicating whether the test passed, failed, was skipped or was inconclusive. The Label provides a more detailed breakdown for use by client runners.
public static readonly ResultState Cancelled

The test was cancelled by the user

public static readonly ResultState Error

The test encountered an unexpected exception

public static readonly ResultState Failure

The test failed

public static readonly ResultState Ignored

The test has been ignored.

public static readonly ResultState Inconclusive

The result is inconclusive

public static readonly ResultState NotRunnable

The test was not runnable.

public static readonly ResultState Skipped

The test has been skipped.

public static readonly ResultState Success

The test succeeded

public string Label { get; }

Gets the label under which this test resullt is categorized, if any.

public TestStatus Status { get; }

Gets the TestStatus for the test.

public ResultState(TestStatus status)

Initializes a new instance of the ResultState class.

public ResultState(TestStatus status, string label)

Initializes a new instance of the ResultState class.