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.
The test was cancelled by the user
A suite failed because one or more child tests failed or had errors
The test encountered an unexpected exception
The test was skipped because it is explicit
The test failed
The test has been ignored.
The result is inconclusive
The test was not runnable.
A suite had an unexpected exception in its OneTimeSetUp
A suite failed in its OneTimeSetUp
The test has been skipped.
The test succeeded
A suite had an unexpected exception in its OneTimeDown
Gets the label under which this test result is
categorized, if any.
Gets the stage of test execution in which
the failure or other result took place.
Gets the TestStatus for the test.
Initializes a new instance of the ResultState class.
Initializes a new instance of the ResultState class.
Initializes a new instance of the ResultState class.
Initializes a new instance of the ResultState class.
Get a new ResultState, which is the same as the current
one but with the FailureSite set to the specified value.