Classes

The following classes are available globally.

  • A Behavior encapsulates a set of examples that can be re-used in several locations using the itBehavesLike function with a context instance of the generic type.

    See more

    Declaration

    Swift

    open class Behavior<Context>
  • Undocumented

    Declaration

    Swift

    @objcMembers
    public class _CallsiteBase : NSObject
  • An object encapsulating the file and line number at which a particular example is defined.

    See more

    Declaration

    Swift

    final public class Callsite : _CallsiteBase
  • A configuration encapsulates various options you can use to configure Quick’s behavior.

    See more

    Declaration

    Swift

    final public class QCKConfiguration : NSObject
  • Undocumented

    Declaration

    Swift

    @objcMembers
    public class _ExampleBase : NSObject
  • Examples, defined with the it function, use assertions to demonstrate how code should behave. These are like “tests” in XCTest.

    See more

    Declaration

    Swift

    final public class Example : _ExampleBase
  • Example groups are logical groupings of examples, defined with the describe and context functions. Example groups can share setup and teardown code.

    See more

    Declaration

    Swift

    final public class ExampleGroup : NSObject
  • Undocumented

    Declaration

    Swift

    @objcMembers
    public class _ExampleMetadataBase : NSObject
  • A class that encapsulates information about an example, including the index at which the example was executed, as well as the example itself.

    See more

    Declaration

    Swift

    final public class ExampleMetadata : _ExampleMetadataBase
  • A base class for a class cluster of Quick test suites, that should correctly build dynamic test suites for XCTest to execute.

    See more

    Declaration

    Swift

    public class QuickTestSuite : XCTestSuite