Annotate test functions and suites, and customize their behavior.
Pass built-in traits to test functions or suite types to comment, categorize,
classify, and modify the runtime behavior of test suites and test functions.
Implement the TestTrait
, and SuiteTrait
protocols to create your own
types that customize the behavior of your tests.
- doc:EnablingAndDisabling
- doc:LimitingExecutionTime
Trait/enabled(if:_:sourceLocation:)
Trait/enabled(_:sourceLocation:_:)
Trait/disabled(_:sourceLocation:)
Trait/disabled(if:_:sourceLocation:)
Trait/disabled(_:sourceLocation:_:)
Trait/timeLimit(_:)
- doc:Parallelization
Trait/serialized
- doc:AddingTags
- doc:AddingComments
- doc:AssociatingBugs
- doc:BugIdentifiers
Tag()
Trait/bug(_:_:)
Trait/bug(_:id:_:)-10yf5
Trait/bug(_:id:_:)-3vtpl
Trait
TestTrait
SuiteTrait
TestScoping
Bug
Comment
ConditionTrait
ParallelizationTrait
Tag
Tag/List
TimeLimitTrait