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

TestState

public enum TestState
The ResultState enum indicates the result of running a test

The test was cancelled by the user

Error = 6

The test encountered an unexpected exception

Failure = 5

The test failed

Ignored = 3

The test has been ignored.

The result is inconclusive

The test was not runnable.

Skipped = 2

The test has been skipped.

Success = 4

The test succeeded