TestOutcome 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.
public enum TestOutcome
type TestOutcome =
Public Enum TestOutcome
- Inheritance
-
TestOutcome
Fields
| Name | Value | Description |
|---|---|---|
| Unspecified | 0 | Only used during an update to preserve the existing value. |
| None | 1 | Test has not been completed, or the test type does not report pass/failure. |
| Passed | 2 | Test was executed w/o any issues. |
| Failed | 3 | Test was executed, but there were issues. Issues may involve exceptions or failed assertions. |
| Inconclusive | 4 | Test has completed, but we can't say if it passed or failed. May be used for aborted tests... |
| Timeout | 5 | The test timed out |
| Aborted | 6 | Test was aborted. This was not caused by a user gesture, but rather by a framework decision. |
| Blocked | 7 | Test had it chance for been executed but was not, as ITestElement.IsRunnable == false. |
| NotExecuted | 8 | Test was not executed. This was caused by a user gesture - e.g. user hit stop button. |
| Warning | 9 | To be used by Run level results. This is not a failure. |
| Error | 10 | There was a system error while we were trying to execute a test. |
| NotApplicable | 11 | Test is Not Applicable for execution. |
| Paused | 12 | Test is paused. |
| InProgress | 13 | Test is currently executing. Added this for TCM charts |
| MaxValue | 14 | |
| NotImpacted | 14 | Test is not impacted. Added fot TIA. |