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
Aborted The tester stopped the test run.
Completed The test was completed without a qualitative measure of the results.
Disconnected The test run was disconnected before it was completed.
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.
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 The test 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 or the test run timed out.
Warning The test received a warning message as it was being executed, but the test did not fail.

See Also

Reference

Microsoft.VisualStudio.TestTools.Common Namespace

RunInfo

TestOutcomeHelper