FREEDOM251

Freedom251 › Compare

Side by side

scalaprops vs SwiftCheck

Both stand on property-based testing tools. Which one you can start free with, which one lets you read the code, and what each costs once you pay.

scalaprops

Free plan Linux

Choose scalaprops if your Scala tests need generated properties, reproducible failure seeds, or Scalaz law support. Look elsewhere if parallel test execution is required.

Visit scalaprops

SwiftCheck

Free plan iPhoneMac

SwiftCheck focuses on generated property tests, with shrinking to make failures easier to inspect. Its Swift, XCTest, and multiple installation options fit developers building Apple-platform tests.

Visit SwiftCheck

The facts

scalapropsSwiftCheck
Free planYesYes
Open sourceNot publishedNot published
Runs onLinuxiPhone, Mac
Lowest paid planFree or on requestNot published
Plans published1None
MakerNot publishedNot published
Websitegithub.comgithub.com
On property-based testing tools#21 of 28#25 of 28

scalaprops: what it does well

  • Generates non-constant scala.FunctionN values through Cogen.
  • Supports per-test parameter settings and flexible law checking.
  • Reports failure seeds for repeatable runs.
  • Includes Scalaz laws and Gen and Cogen instances.
  • Offers sbt test selection by class, method, and parameter.

What to know first

  • Parallel test execution is currently unsupported.
  • The listed platform is Linux, despite stated Scala.js and Scala Native support.

SwiftCheck: what it does well

  • Automatically generates random test data
  • Shrinks failures toward minimal counterexamples
  • Supports most Swift standard-library types
  • Works with XCTest properties
  • Several installation methods are listed

What to know first

  • No free trial is listed
  • Requires Swift development knowledge
  • Listed systems are OS X 10.9+ and iOS 7.0+

Alternatives to scalaprops Alternatives to SwiftCheck The whole list