UnitTestOutcome Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
unit test outcomes
public enum class UnitTestOutcome
public enum UnitTestOutcome
type UnitTestOutcome =
Public Enum 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. |