This repository was archived by the owner on Oct 17, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
BailOut
mattt edited this page Jan 8, 2021
·
2 revisions
An error that can be thrown from a test to stop the execution of further tests.
public struct BailOut: Error, LosslessStringConvertible
From the TAP specification:
As an emergency measure a test script can decide that further tests are useless (e.g. missing dependencies) and testing should stop immediately. In that case the test script prints the magic words
Bail out!
to standard output. Any message after these words must be displayed by the interpreter as the reason why testing must be stopped, as inBail out! MySQL is not running.
Error
, LosslessStringConvertible
public init(_ description: String = "")
let description: String
Generated at 2021-01-08T14:13:00+0000 using swift-doc 1.0.0-beta.5.