testTargets
Results for all the test targets that were run (filtered based on the input subset passed when running the test).
var testTargets: [TestTarget]
Results for all the test targets that were run (filtered based on the input subset passed when running the test).
var testTargets: [TestTarget]
s13PackagePlugin0A7ManagerV10TestResultV11testTargetsSayAE0D6TargetVGvp
What are these?2S3HW
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.
struct TestTarget
Represents the results of running some or all of the tests in a single test target.
var codeCoverageDataFileURL: URL?
Path of a generated .profdata
file suitable for processing using llvm-cov
, if enableCodeCoverage
was set in the test parameters.
var succeeded: Bool
Whether the test run succeeded or failed.
var codeCoverageDataFile: Path? { get }
Path of a generated .profdata
file suitable for processing using llvm-cov
, if enableCodeCoverage
was set in the test parameters.