-
-
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: InfoProviderpublic typealias Arguments = Argspublic init(percentageInt: Int)let identifier: Stringlet tempFileNamevar tempFile: URLlet description: Stringlet percentageInt: Intpublic static func extract(fromApi api: SwiftInfo, args: Args?) throws -> CodeCoverageProviderpublic 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?) -> Summarystatic func toPercentage(percentageInt: Int) -> FloatGenerated 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