discipline
Flexible law checking for Scala
Usage
This library is currently available for Scala binary versions 2.10 and 2.11.
To use the latest version, include the following in your build.sbt
:
libraryDependencies +=
"org.typelevel" %% "discipline" % "0.3"
Binding to test frameworks
Discipline is built against Scalacheck 1.12.x.
There are bindings for Specs2 and ScalaTest. Since Discipline depends on them optionally, you have to add either one to your build explicitly:
libraryDependencies +=
"org.scalatest" %% "scalatest" % "2.2.5"
// or
"org.specs2" %% "specs2" % "3.6"