isFailure
Whether or not this issue should cause the test it’s associated with to be considered a failure.
Declaration
var isFailure: Bool { get }Discussion
The value of this property is true for issues which have a severity level of Issue.Severity.error or greater and are not known issues via withKnownIssue(_:isIntermittent:sourceLocation:_:when:matching:). Otherwise, the value of this property is false.
Use this property to determine if an issue should be considered a failure, instead of directly comparing the value of the severity property.