Skip to content

LongestTestDurationProvider

rockbruno edited this page May 9, 2020 · 1 revision

LongestTestDurationProvider

The name and duration of the longest test. Requirements: Test logs.

public struct LongestTestDurationProvider: InfoProvider

Inheritance

InfoProvider

Nested Type Aliases

Arguments

public typealias Arguments = Args

Initializers

init(name:durationInt:)

public init(name: String, durationInt: Int)

Properties

identifier

let identifier: String

description

let description: String

name

let name: String

durationInt

let durationInt: Int

duration

var duration: Float

Methods

extract(fromApi:args:)

public static func extract(fromApi api: SwiftInfo, args _: Args?) throws -> LongestTestDurationProvider

allTests(api:)

public static func allTests(api: SwiftInfo) throws -> [(String, Float)]

summary(comparingWith:args:)

public func summary(comparingWith other: LongestTestDurationProvider?, args _: Args?) -> Summary
Clone this wiki locally