- Home
- Property-Based Testing Tools
- ScalaCheck
ScalaCheck
What it is
ScalaCheck is a free Scala library for automated property-based testing of Scala and Java programs. Developers specify properties, and the library checks them against randomized input parameters. When a property fails, ScalaCheck reports the arguments that triggered it. It supports parameterized cases and parallel execution, and it can also run independently with its built-in test runner. For sbt projects, the project site gives a test-dependency declaration. ScalaCheck is also integrated with ScalaTest, specs2, and LambdaTest. It has no external dependencies beyond the Scala runtime. Build artifacts are published in the Central Repository, and the site links to a user guide and API documentation. The listed release is version 1.19.0, released September 6, 2025. The project identifies its license as BSD-3-Clause and lists a security policy. Its README says the Gradle plugin supports ScalaCheck for Scala.js and Scala Native. The site names the Scala compiler and Akka among projects that use it.
For and against
For
- Reports arguments that cause a property to fail.
- Runs standalone with a built-in test runner.
- Integrates with sbt, ScalaTest, specs2, and LambdaTest.
- Has no external dependencies beyond the Scala runtime.
Against
- Requires the Scala runtime.
- The listed release is dated September 6, 2025.
The verdict
ScalaCheck provides randomized property checks with integrations for several Scala testing workflows. Its free BSD-3-Clause license and standalone runner may suit projects that want to add property-based testing.
Who it suits
ScalaCheck suits Scala and Java developers who want to check program properties using randomized cases. It is relevant to sbt users and teams working with ScalaTest, specs2, or LambdaTest.
Plans and prices
ScalaCheck
open-source library · BSD-3-Clause license
Read 8 Oct 2026 · github.com
On the record
- Build integration
- The site says ScalaCheck works with sbt and shows adding it as a test dependency.scalacheck.org · read 7 Oct 2026
- Compatibility
- The project README says ScalaCheck is supported by the Gradle plugin for Scala.js and Scala Native.github.com · read 7 Oct 2026
- Dependencies
- ScalaCheck has no external dependencies other than the Scala runtime.scalacheck.org · read 8 Oct 2026
- Distribution
- Build artifacts are published in the Central Repository, and the download page gives an sbt dependency declaration.scalacheck.org · read 7 Oct 2026
- Documentation
- The site links to a continuously developed user guide and API documentation for the latest release.scalacheck.org · read 8 Oct 2026
- Installation
- The site recommends adding org.scalacheck %% scalacheck % 1.19.0 % test as an sbt dependency.scalacheck.org · read 8 Oct 2026
- Integrations
- The site says ScalaCheck works with sbt and is integrated with ScalaTest, specs2 and LambdaTest.scalacheck.org · read 8 Oct 2026
- Latest listed release
- The site lists ScalaCheck 1.19.0, released on September 6, 2025.scalacheck.org · read 7 Oct 2026
- License
- The project build identifies its license as BSD-3-Clause.github.com · read 8 Oct 2026
- Maintainer
- The project build lists Rickard Nilsson as a developer.github.com · read 8 Oct 2026
- Notable usage
- The site names the Scala compiler and Akka as projects that use ScalaCheck.scalacheck.org · read 7 Oct 2026
- Purpose
- ScalaCheck is a Scala library for automated property-based testing of Scala or Java programs.scalacheck.org · read 8 Oct 2026
- Security
- The GitHub repository page lists a security policy.github.com · read 8 Oct 2026
- Security and license
- The project repository lists a security policy and identifies its license as BSD-3-Clause.github.com · read 7 Oct 2026
- Standalone use
- ScalaCheck can run standalone with its built-in test runner.scalacheck.org · read 8 Oct 2026
- Support
- The documentation page links to GitHub bug reports, a mailing list and Stack Overflow.scalacheck.org · read 8 Oct 2026
- Support channels
- The documentation page links to bug reports, a mailing list, and ScalaCheck on Stack Overflow.scalacheck.org · read 7 Oct 2026
- Supported targets
- The project build defines JVM, Scala.js and Scala Native platforms.github.com · read 8 Oct 2026