TapsOutput

public enum TapsOutput: Equatable

The output emitted by Taps. It can be translated into TestOutput using TapsHarnessFromTest or interpreted by TapsHarness.

  • Marks the begin of a test case. See Tape.test.

    Parameter

    Parameter title: The title of the test case.

    Parameter

    Parameter directive: The directive for the test case.

    Declaration

    Swift

    case testCase(String, directive: Directive?)

    Parameters

    title

    The title of the test case.

    directive

    The directive for the test case.

  • Emitted when a test has emitted a TestPoint.

    Parameter

    Parameter testPoint: The TestPoint.

    Parameter

    Parameter count: All counts for passed and failed tests.

    Parameter

    Parameter directive: The directive for the test point.

    Declaration

    Swift

    case testPoint(TestPoint, count: TestCount, directive: Directive?)

    Parameters

    testPoint

    The TestPoint.

    count

    All counts for passed and failed tests.

    directive

    The directive for the test point.

  • Emitted when all Tests have been processed. This is the last TapsOutput.

    Parameter

    Parameter count: All counts for passed and failed tests.

    Declaration

    Swift

    case finished(TestCount)

    Parameters

    count

    All counts for passed and failed tests.

  • Emitted when a test has crashed and Taps cannot proceed.

    Parameter

    Parameter message: The reason for the bail out.

    Declaration

    Swift

    case bailOut(String)

    Parameters

    message

    The reason for the bail out.