TestOutcomeHelper Class

Definition

Provides helper methods for test outcomes.

public ref class TestOutcomeHelper abstract sealed
public static class TestOutcomeHelper
type TestOutcomeHelper = class
Public Class TestOutcomeHelper
Inheritance
TestOutcomeHelper

Methods

GetAggregationOutcome(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.

Applies to