typelevel / discipline   0.11.1

MIT License Website GitHub

Flexible law checking for Scala

Scala versions: 2.12 2.11
Scala.js versions: 0.6


Join the chat at https://gitter.im/typelevel/discipline Continuous Integration Maven Central

Flexible law checking for Scala


This library is currently available for Scala binary versions 2.12, 2.13 and 3.1.

To use the latest version, include the following in your build.sbt:

libraryDependencies +=
  "org.typelevel" %% "discipline-core" % "1.5.0"

For a little more info see the "Law Enforcement using Discipline" blog post.

Binding to test frameworks

Discipline is built against ScalaCheck 1.16.x. There is also a published artifact for Scala.js 1.8 and Scala Native 0.4.4.

discipline-core is required early each Scala release cycle, so we have chosen to keep this repo minimal. Starting with v1.0.0, please find the framework bindings in their new locations:

Code of Conduct

See the Code of Conduct