Skip to content

TestCountProvider

rockbruno edited this page May 9, 2020 · 1 revision

TestCountProvider

Sum of all test target's test count. Requirements: Test logs (if building with Xcode) or Buck build log (if building with Buck)

public struct TestCountProvider: InfoProvider

Inheritance

InfoProvider

Nested Type Aliases

Arguments

public typealias Arguments = Args

Initializers

init(count:)

public init(count: Int)

Properties

identifier

let identifier: String

description

let description: String

count

let count: Int

Methods

extract(fromApi:args:)

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

getCountFromXcode(_:)

static func getCountFromXcode(_ api: SwiftInfo) throws -> Int

getCountFromBuck(_:)

static func getCountFromBuck(_ api: SwiftInfo) throws -> Int

summary(comparingWith:args:)

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