Registry / testing / scalacheck-2-10

scalacheck-2-10

JSON →
library1.14.3javamavenunverified

ScalaCheck is a property-based testing library for Scala and Java, enabling automated specification-based testing.

<dependency> <groupId>org.scalacheck</groupId> <artifactId>scalacheck_2.10</artifactId> <version>1.14.3</version> </dependency>
INSTALL
IMPORT
SIG · SCALACHECK-2-10
S
scalacheck-2-10
testingjavav1.14.3
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Prop
org.scalacheck.Prop

Define a property-based test

import org.scalacheck.Prop; import org.scalacheck.Properties; public class StringProps extends Properties { public StringProps() { property("startsWith") = Prop.forAll((String s) -> s.startsWith(s.substring(0, 0))); } }
Debug
Known issues
breakingScalaCheck 1.14.x is for Scala 2.10; newer Scala versions require different artifacts.
fix
Use the correct artifact for your Scala version (e.g., scalacheck_2.13 for Scala 2.13).
affects: >=1.14.0 <1.15.0
Upgrade
Version history
1.14.3latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
9 hits · last 30 days
node
8
Resources
scalacheck-2-10 — mvn dependency:get scalacheck-2-10 · libregistry