We recommend using Visual Studio 2017
This documentation is archived and is not being maintained.

TestOutcome Enumeration

Represents the outcome of a completed test.

Namespace:  Microsoft.TeamFoundation.TestManagement.Client
Assembly:  Microsoft.TeamFoundation.TestManagement.Client (in Microsoft.TeamFoundation.TestManagement.Client.dll)

public enum TestOutcome

Member nameDescription
UnspecifiedUsed only during an update to preserve the existing value.
NoneThe test has not been completed, or the test type does not report pass or failure.
PassedThe test was executed and had no issues.
FailedThe test was executed, but issues occurred that may involve exceptions or failed assertions.
InconclusiveThe test was completed, but may have been aborted, and had no indication of pass or fail.
TimeoutThe test timed out.
AbortedThe test was aborted. This was caused not by a user action but by the framework.
BlockedThe test was not executed because the ITestElement.IsRunnable property was set to false.
NotExecutedThe test was not executed because the user stopped the test.
WarningThe test generated a warning. This is not a failure.
ErrorA system error occurred during the test execution.
MaxValueRepresents the maximum value in this enumeration, which is Error.