Share via


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)

Syntax

'Declaration
Public Enumeration TestOutcome
public enum TestOutcome
public enum class TestOutcome
type TestOutcome
public enum TestOutcome

Members

Member name Description
Unspecified Used only during an update to preserve the existing value.
None The test has not been completed, or the test type does not report pass or failure.
Passed The test was executed and had no issues.
Failed The test was executed, but issues occurred that may involve exceptions or failed assertions.
Inconclusive The test was completed, but may have been aborted, and had no indication of pass or fail.
Timeout The test timed out.
Aborted The test was aborted. This was caused not by a user action but by the framework.
Blocked The test was not executed because the ITestElement.IsRunnable property was set to false.
NotExecuted The test was not executed because the user stopped the test.
Warning The test generated a warning. This is not a failure.
Error A system error occurred during the test execution.
MaxValue Represents the maximum value in this enumeration, which is Error.

See Also

Reference

Microsoft.TeamFoundation.TestManagement.Client Namespace

ITestElement.IsRunnable