Instance Property

continueAfterFailure

A Boolean value indicating whether the test case should continue running after a failure occurs.

Declaration

var continueAfterFailure: Bool { get set }

Discussion

The default is true. Set this property to false within a test method to end test execution as soon as a failure occurs.