Contents

TestTrait

A protocol describing a trait that you can add to a test function.

Declaration

protocol TestTrait : Trait

Overview

The testing library defines a number of traits that you can add to test functions. You can also define your own traits by creating types that conform to this protocol, or to the SuiteTrait protocol.

See Also

Creating custom traits