TestOutcomeHelper Class
This API supports the product infrastructure and is not intended to be used directly from your code.
Provides helper methods for test outcomes.
Assembly: Microsoft.VisualStudio.QualityTools.Common (in Microsoft.VisualStudio.QualityTools.Common.dll)
| Name | Description | |
|---|---|---|
![]() ![]() | GetAggregationOutcome(array<TestResult^>^) | Returns the test outcome that represents the lowest numeric value for the outcome of each test result in the provided array. |
![]() ![]() | IsAbort(TestOutcome) | Returns a value that indicates whether the test was aborted. |
![]() ![]() | IsFail(TestOutcome) | Returns a value that indicates whether the test failed. |
![]() ![]() | IsPass(TestOutcome) | Returns a value that indicates whether the test passed. |
![]() ![]() | IsTerminal(TestOutcome) | Returns a value that indicates whether the test passed or failed. |
![]() ![]() | IsWarning(TestOutcome) | Returns a value that indicates whether the outcome is a warning. |
![]() ![]() | Localize(TestOutcome) | Returns the localized outcome message. |
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

