Global Functionswift-testing 6.0.2Testing
__swiftPMEntryPoint(passing:)
The entry point to the testing library used by Swift Package Manager.
SwiftPMEntryPoint.swift:80func __swiftPMEntryPoint(passing args: __CommandLineArguments_v0? = nil) async -> Never
Parameters
- args
A previously-parsed command-line arguments structure to interpret. If
nil
, a new instance is created from the command-line arguments to the current process.
This function examines the command-line arguments to the current process and then invokes available tests in the current process. When the tests complete, the process is terminated. If tests were successful, an exit code of EXIT_SUCCESS
is used; otherwise, a (possibly platform-specific) value such as EXIT_FAILURE
is used instead.