Back to Quick

Classes

docs/docsets/Quick.docset/Contents/Resources/Documents/Classes.html

7.6.24.8 KB
Original Source

Classes

The following classes are available globally.

`

                AsyncBehavior
                `

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

`

                AsyncExampleGroup
                `

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

`

                AsyncSpec
                `

Undocumented

See more

Declaration

Swift

open class AsyncSpec : AsyncSpecBase
extension AsyncSpec: AsyncDSLUser

`

                Behavior
                `

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

`

                _CallsiteBase
                `

Undocumented

Declaration

Swift

@objcMembers
public class _CallsiteBase : NSObject

`

                _CallsiteBase
                `

- `

                Callsite
                `

An object encapsulating the file and line number at which a particular example is defined.

See more

Declaration

Swift

final public class Callsite : _CallsiteBase

`

                QCKConfiguration
                `

A configuration encapsulates various options you can use to configure Quick’s behavior.

See more

Declaration

Swift

final public class QCKConfiguration : NSObject

`

                QuickConfiguration
                `

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

`

                ExampleGroup
                `

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

`

                AsyncExample
                `

Undocumented

See more

Declaration

Swift

public class AsyncExample : ExampleBase

`

                _ExampleBase
                `

Undocumented

Declaration

Swift

@objcMembers
public class _ExampleBase : NSObject

`

                _ExampleBase
                `

- `

                ExampleBase
                `

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

`

                Example
                `

Undocumented

See more

Declaration

Swift

public class Example : ExampleBase

`

                _ExampleMetadataBase
                `

Undocumented

Declaration

Swift

@objcMembers
public class _ExampleMetadataBase : NSObject

`

                _ExampleMetadataBase
                `

- `

                ExampleMetadata
                `

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

`

                QuickTestSuite
                `

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

© 2025 Quick Contributors. All rights reserved. (Last updated: 2025-06-26)

Generated by jazzy ♪♫ v0.15.3, a Realm project.