succeeded
Whether the test run succeeded or failed.
var succeeded: Bool
Whether the test run succeeded or failed.
var succeeded: Bool
import PackagePlugin
struct TestResult
Represents the result of running unit tests.
struct PackageManager
Provides specialized information and services from the Swift Package Manager or an IDE that supports Swift Packages. Different plugin hosts implement the functionality in whatever way is appropriate for them, but should preserve the same semantics described here.
@frozen struct Bool
A value type whose instances are either true
or false
.
var codeCoverageDataFileURL: URL?
Path of a generated .profdata
file suitable for processing using llvm-cov
, if enableCodeCoverage
was set in the test parameters.
var testTargets: [TestTarget]
Results for all the test targets that were run (filtered based on the input subset passed when running the test).
struct TestTarget
Represents the results of running some or all of the tests in a single test target.
var codeCoverageDataFile: Path? { get }
Path of a generated .profdata
file suitable for processing using llvm-cov
, if enableCodeCoverage
was set in the test parameters.