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
MongoDB Atlas runs apps anywhere
MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of ScalaCheck!