Skip to content

Releases: typelift/SwiftCheck

University

19 May 21:00
Compare
Choose a tag to compare
  • Unifies all targets under SwiftCheck.xcodeproj, thereby simplifying interaction with tooling.

Assertiveness Training

17 May 01:54
Compare
Choose a tag to compare
  • Integrates all SwiftCheck property declarations with the XCTest assert mechanism.
  • Adds a new option reportProperty that runs SwiftCheck without asserting anything.

Arbitrage

08 May 00:37
Compare
Choose a tag to compare
  • Updates and rewrites to support Swift 1.2
  • Removes dependence on Swiftx and Swiftz
  • More plentiful documentation
  • New modifiers for generation of higher-order types.
  • Fixes for crashes when generating arbitrary integers.

Check Mate

08 Feb 19:20
Compare
Choose a tag to compare

SwiftCheck is a Swift port of the QuickCheck testing library.

QuickCheck-style tests are created as properties of a program one expects to hold under a number of values of a given type. SwiftCheck will then attempt to generate as much data as it can to falsify that particular property. If all is well, nothing happens. But, if a test case fails, SwiftCheck will attempt to shrink down to a minimal failing example before the test case fails as a whole thus simplifying the process of debugging that property.