TestOutcome Enumeration

Describes the outcome of a test run.

Namespace:  Microsoft.VisualStudio.TestTools.Common
Assembly:  Microsoft.VisualStudio.QualityTools.Common (in Microsoft.VisualStudio.QualityTools.Common.dll)

Syntax

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

Members

Member name Description
Error An error was generated while the test ran.
Failed The test run was completed, but issues arose that might involve exceptions or failed assertions.
Timeout The test or the test run timed out.
Aborted The tester stopped the test run.
Inconclusive The test run was completed with no indication of passing or failing. The test might have been aborted.
PassedButRunAborted The test was completed without issues but was aborted.
NotRunnable The test had an opportunity to run but could not run.
NotExecuted The test was not executed because of user action.
Disconnected The test run was disconnected before it was completed.
Warning The test received a warning message as it was being executed, but the test did not fail.
Passed The test was completed with no issues.
Completed The test was completed without a qualitative measure of the results.
InProgress The test run is executing.
Pending The test is in the execution queue but has not yet started.
Min Represents the minimum value for this enumeration.
Max Represents the maximum value for this enumeration.

See Also

Reference

Microsoft.VisualStudio.TestTools.Common Namespace

RunInfo

TestOutcomeHelper