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 AsyncBehavior<Context>
    extension AsyncBehavior: AsyncDSLUser
  • 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 AsyncExampleGroup : CustomStringConvertible
  • Undocumented

    See more

    Declaration

    Swift

    open class AsyncSpec : AsyncSpecBase
    extension AsyncSpec: AsyncDSLUser
  • 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>
    extension Behavior: SyncDSLUser
  • 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
  • Subclass QuickConfiguration and override the configure(_:) class method in order to configure how Quick behaves when running specs, or to define shared examples that are used across spec files.

    See more
  • 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, Filterable
  • Undocumented

    See more

    Declaration

    Swift

    public class AsyncExample : ExampleBase
  • Undocumented

    Declaration

    Swift

    @objcMembers
    public class _ExampleBase : NSObject
  • The common superclass of both Example and AsyncExample. This is mostly used for determining filtering (focusing or pending) and other cases where we want to apply something to any kind of example.

    See more

    Declaration

    Swift

    public class ExampleBase : _ExampleBase
  • Undocumented

    See more

    Declaration

    Swift

    public class Example : ExampleBase
  • 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

    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