github typelift/SwiftCheck v0.5.0
Harry Potter and the Half-Blood print()s

latest releases: 0.12.0, 0.11.0, 0.10.1...
8 years ago

⚠️ Breaking Changes Ahead ⚠️

For SwiftCheck's 5th birthday, we sped up all the insides and moved the furniture around a bit.

  • The insides of Gen move an order of magnitude quicker because of framework-wide simplifications.
  • We now match Swift's naming convention for some big combinators (esp. map and flatMap). Update your code accordingly!
  • Currying syntax has been removed framework-wide and labels have been made more semantically meaningful.
  • Gen.fromShufflingElementsOf is unbelievably fast now.
  • pseudo-Equatable instances for modifier types have been removed.
  • More things have been documented and what documentation there is has been improved.
  • Quantifiers and property binders have more informative @warn_unused_result messages.

Finally, for the pièce de résistance, cover has been made a first-class citizen of the framework. For those times when a particular property of a spec should hold a certain percentage of the time, you can ask SwiftCheck how well it's been covered. If we don't rise to meet your set goals, the test fails!

screen shot 2016-01-08 at 2 53 31 am

Don't miss a new SwiftCheck release

NewReleases is sending notifications on new releases.