QuickSwiftCheck

3.4.0

Interoperability between Quick, Nimble and SwiftCheck.
akashivskyy/quick-swift-check

What's New

3.4.0

2022-04-25T14:34:08Z

This release brings support for the latest version of Quick. Support for CocoaPods has been deprecated and will be removed in a future release. Also, this repository will only be using the main branch from now on.

QuickSwiftCheck

Interoperability between Quick, Nimble and SwiftCheck.

Requirements

QuickSwiftCheck supports iOS 9.0+, macOS 10.10+, tvOS 9.0+ and Linux.

Usage

QuickSwiftCheck adds sc_ variants to it, fit, xit, to and toNot functions, so that the original functions remain not overloaded. This means you can use it to create a regular test example and to to create a regular expectation:

it("integer addition is commutative") {
    expect(2 + 3).to(equal(3 + 2))
}
sc_it("integer addition is commutative") {
    forAll { (a: Int, b: Int) in
        expect(a + b).sc_to(equal(b + a))
    }
}

Installation

In Xcode, select File → Add Packages and use the on-screen UI to search for the following Package URL:

https://github.com/akashivskyy/quick-swift-check

If you're using Swift Package Manager directly, add the following dependency to your Package.swift:

.package(url: "https://github.com/akashivskyy/quick-swift-check", from: "X.Y.Z"),

Roadmap

Version 3.x

These minor releases will keep QuickSwiftCheck up-to-date with latest versions of Quick, Nimble, SwiftCheck and Swift itself.

About

This project is made and maintained with ♡ by Adrian Kashivskyy.

License

The project is licensed under the MIT License.

Description

  • Swift Tools 5.0.0
View More Packages from this Author

Dependencies

Last updated: Sun Oct 20 2024 03:40:48 GMT-0900 (Hawaii-Aleutian Daylight Time)