TapsHarness
public struct TapsHarness
A TapsHarness handles all TapsOutput emitted by Taps.
This Harness is optimizes for Taps, whereas TestHarness supports all TAP compatible output.
sourcery: default-init
-
Creates a
TapsHarnessusing aTapsOutputhandler.Parameter
Parameter report: Contains the logic of the harness.Declaration
Swift
public init(report: @escaping (TapsOutput) -> Void)Parameters
reportContains the logic of the harness.
-
A
TapsHarness, that prints out allTapOutputas TAP13.Declaration
Swift
public static var printHarness = tapsHarnessFrom(test: .printHarness())
-
Converts a
TestHarnessinto aTapsHarness.Declaration
Swift
public static func tapsHarnessFrom(test harness: TestHarness) -> TapsHarnessParameters
harnessA
TestHarnessshall support theTapsOutput.
View on GitHub
Install in Dash
TapsHarness Struct Reference