Skip to content
This repository has been archived by the owner on Oct 17, 2021. It is now read-only.
Mattt edited this page Apr 18, 2020 · 2 revisions

Report

A summary of test results in TAP format.

public struct Report

Inheritance

CustomStringConvertible

Initializers

init(results:)

Creates a new report with the specified test results.

public init(results: [Result<Outcome, BailOut>])

Parameters

  • results: The test results.

Properties

version

The TAP version number.

let version: Int

From the TAP v13 specification:

The version

To indicate that this is TAP13 the first line must be

TAP version 13

results

The test results.

let results: [Result<Outcome, BailOut>]

description

var description: String

Methods

consolidation(of:)

Creates a new report that consolidates the test results of other reports.

public static func consolidation(of reports: [Report]) -> Report

Parameters

  • reports: The reports whose test results are consolidated.

Returns

A consolidated report of test results.

Clone this wiki locally