UnitTestOutcome Enum

Definition

unit test outcomes.

C++
public enum class UnitTestOutcome
Inheritance
UnitTestOutcome

Fields

Name Value Description
Failed 0

Test was executed, but there were issues. Issues may involve exceptions or failed assertions.

Inconclusive 1

Test has completed, but we can't say if it passed or failed. May be used for aborted tests.

Passed 2

Test was executed without any issues.

InProgress 3

Test is currently executing.

Error 4

There was a system error while we were trying to execute a test.

Timeout 5

The test timed out.

Aborted 6

Test was aborted by the user.

Unknown 7

Test is in an unknown state.

NotRunnable 8

Test cannot be executed.

NotFound 9

The specific test cannot be found.

Ignored 10

Test is marked as ignored.

Applies to

Proizvod Verzije
MSTest.TestFramework 1.1.18, 1.2.1, 1.3.2, 1.4.0, 2.2.0, 2.1.2, 2.2.10, 3.0.4, 3.1.1, 3.2.2, 3.3.1, 3.4.3, 3.5.1, 3.6.4, 3.7.3, 3.8.0