ScalaCheck is a library for property-based testing in Scala (and Java), inspired by Haskell’s QuickCheck. It automatically generates test inputs based on specifications, validating that properties hold across randomized scenarios, thereby enabling robust, declarative testing of edge cases and invariants.

Features

  • Declarative property definitions using Prop.forAll for randomized testing
  • Custom generators (Gen) for complex data types
  • Shrinking support to minimize failing test cases
  • Seamless integration with SBT, ScalaTest, Specs2, and standalone mode
  • No external dependencies beyond the Scala runtime
  • Support for Scala.js and Scala Native platforms

Project Samples

Project Activity

See All Activity >

Categories

Software Testing

License

BSD License

Follow ScalaCheck

ScalaCheck Web Site

Other Useful Business Software
Fully Managed MySQL, PostgreSQL, and SQL Server Icon
Fully Managed MySQL, PostgreSQL, and SQL Server

Automatic backups, patching, replication, and failover. Focus on your app, not your database.

Cloud SQL handles your database ops end to end, so you can focus on your app.
Try Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of ScalaCheck!

Additional Project Details

Operating Systems

Linux, Mac, Windows

Programming Language

Scala

Related Categories

Scala Software Testing Tool

Registered

2025-08-04