SuiteTrait

    A protocol describing traits that can be added to a test suite.

    Trait.swift:58
    protocol SuiteTrait : Trait
    Browse conforming types

    The testing library defines a number of traits that can be added to test suites. Developers can also define their own traits by creating types that conform to this protocol and/or to the TestTrait protocol.

    Supertypes

    Requirements

    Instance members

    • var isRecursive: Bool

      Whether this instance should be applied recursively to child test suites and test functions or should only be applied to the test suite to which it was directly added.

    See also

    • protocol Trait

      A protocol describing traits that can be added to a test function or to a test suite.

    • protocol TestTrait

      A protocol describing traits that can be added to a test function.

    Citizens in Testing

    Instance members