Scala
Fetching latest commit…
Cannot retrieve the latest commit at this time.

README.md

scalaprops

Build Status Scala.js scaladoc

property based testing library for Scala

features

latest stable version

please use sbt plugin because there are some convenient features.

setup without sbt plugin
testFrameworks += new TestFramework("scalaprops.ScalapropsFramework")

parallelExecution in Test := false // currently, does not support parallel execution

libraryDependencies += "com.github.scalaprops" %% "scalaprops" % "0.5.5" % "test"
libraryDependencies += "com.github.scalaprops" %% "scalaprops-scalazlaws" % "0.5.5" % "test"

snapshot version

setup without sbt plugin
resolvers += Opts.resolver.sonatypeSnapshots

testFrameworks += new TestFramework("scalaprops.ScalapropsFramework")

parallelExecution in Test := false

libraryDependencies += "com.github.scalaprops" %% "scalaprops" % "0.5.6-SNAPSHOT" % "test"
libraryDependencies += "com.github.scalaprops" %% "scalaprops-scalazlaws" % "0.5.6-SNAPSHOT" % "test"

screencast

deterministic testing

Scalaprops emitting which seed it started with during a failing test, and providing an interface --seed=<value> for re-running the failing test with the same seed.

deterministic-testing

for scalaz 7.1.x

https://github.com/scalaprops/scalaprops/tree/0.1.x