-
-
Notifications
You must be signed in to change notification settings - Fork 58
CodeCoverageProvider
rockbruno edited this page May 9, 2020
·
1 revision
Code coverage percentage. Requirements: Test logs generated by test targets that have code coverage reports enabled in the scheme.
public struct CodeCoverageProvider: InfoProvider
public typealias Arguments = Args
public init(percentageInt: Int)
let identifier: String
let tempFileName
var tempFile: URL
let description: String
let percentageInt: Int
public static func extract(fromApi api: SwiftInfo, args: Args?) throws -> CodeCoverageProvider
public static func getCodeCoverageJson(api: SwiftInfo) throws -> [String: Any]
private static func getCodeCoverageJson(reportFilePath _: String, command: String) throws -> [String: Any]
public static func getCodeCoverageXcode11JsonPath(fromLogs logs: String) -> String?
public static func getCodeCoverageLegacyJsonPath(fromLogs logs: String) -> String?
private static func getCodeCoverageJsonPath(fromLogs logs: String, regex: String) -> String?
static func removeTemporaryFileIfNeeded()
static func runShell(_ command: String)
public func summary(comparingWith other: CodeCoverageProvider?, args _: Args?) -> Summary
static func toPercentage(percentageInt: Int) -> Float
Generated at 2020-05-09T11:06:54+0000 using swift-doc 1.0.0-beta.2.
Types
- ArchiveDurationProvider
- ArchiveDurationProvider.Args
- BuildSystem
- CodeCoverageProvider
- CodeCoverageProvider.Args
- DLError
- DLHandle
- DLOpenFlags
- FileOpener
- FileUtils
- HTTPClient
- IPASizeProvider
- IPASizeProvider.Args
- LargestAssetCatalogProvider
- LargestAssetCatalogProvider.Args
- LargestAssetProvider
- LargestAssetProvider.Args
- LinesOfCodeProvider
- LinesOfCodeProvider.Args
- LongestTestDurationProvider
- LongestTestDurationProvider.Args
- Main
- OBJCFileCountProvider
- OBJCFileCountProvider.Args
- Output
- ProjectInfo
- Runner
- SKRequestDictionary
- SKResponse
- SKResponseDictionary
- SKResult
- SlackFormatter
- SourceKit
- Summary
- Summary.Style
- SwiftInfo
- SwiftInfoError
- TargetCountProvider
- TargetCountProvider.Args
- TargetCountProvider.Args.Mode
- TestCountProvider
- TestCountProvider.Args
- TotalAssetCatalogsSizeProvider
- TotalAssetCatalogsSizeProvider.Args
- TotalTestDurationProvider
- TotalTestDurationProvider.Args
- WarningCountProvider
- WarningCountProvider.Args
- XcodeprojPlistExtractor
- sourcekitd_keys
- sourcekitd_requests
- sourcekitd_values