Structureswift-testing 6.0.2Testing
Runner
A type that runs tests according to a given configuration.
Runner.swift:13This declaration is gated by at least one @_spi attribute.
struct Runner
Citizens in Testing
Conformances
Types
Show system interfaces (1)
Hide system interfaces
struct Plan
A type describing a runner plan.
Type members
Show system interfaces (3)
Hide system interfaces
init(configuration: Configuration
) async Initialize an instance of this type that runs all tests found in the current process.
init(plan: Plan, configuration: Configuration
) Initialize an instance of this type that runs the tests in the specified plan.
init(testing: [Test], configuration: Configuration
) async Initialize an instance of this type that runs the specified series of tests.
Instance members
Show system interfaces (4)
Hide system interfaces
var configuration: Configuration
The runner’s configuration.
var plan: Plan
The plan to follow when running the associated tests.
var tests: [Test]
The set of tests this runner will run.
func run(
) async Run the tests in this runner’s plan.