disabled(_:sourceLocation:)
Constructs a condition trait that disables a test unconditionally.
Declaration
static func disabled(_ comment: Comment? = nil, sourceLocation: SourceLocation = #_sourceLocation) -> SelfParameters
- comment:
An optional comment that describes this trait.
- sourceLocation:
The source location of the trait.
Mentioned in
Return Value
An instance of ConditionTrait that always disables the test to which it is added.