Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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)

public enum class TestOutcome

Member nameDescription
Aborted

The test framework aborted the test.

Completed

The test was completed without a qualitative measure of the results.

Disconnected

The test run was disconnected before it was completed.

Error

A system error occurred as the test run was being executed.

Failed

The test run was completed, but issues arose that might involve exceptions or failed assertions.

Inconclusive

The test run was completed with no indication of passing or failing. The test might have been aborted.

InProgress

The test run is executing.

Max

Represents the maximum value for this enumeration.

Min

Represents the minimum value for this enumeration.

NotExecuted

The test was not executed because of user action.

NotRunnable

Thetest had an opportunity to run but could not run.

Passed

The test was completed with no issues.

PassedButRunAborted

The test was completed without issues but was aborted.

Pending

The test is in the execution queue but has not yet started.

Timeout

The test timed out.

Warning

The test received a warning message as it was being executed, but the test did not fail.

Return to top
Show: