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
Categories
Software TestingLicense
BSD LicenseFollow ScalaCheck
Other Useful Business Software
$300 in Free Credit Towards Top Cloud Services
Start your project in minutes. After credits run out, 20+ products include free monthly usage. Only pay when you're ready to scale.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of ScalaCheck!