Registry / testing / scalacheck-2-12

scalacheck-2-12

JSON →
library1.19.0javamavenunverified

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

<dependency> <groupId>org.scalacheck</groupId> <artifactId>scalacheck_2.12</artifactId> <version>1.19.0</version> </dependency>
INSTALL
IMPORT
SIG · SCALACHECK-2-12
S
scalacheck-2-12
testingjavav1.19.0
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

Defines a simple property-based test using ScalaCheck.

import org.scalacheck.Prop; import org.scalacheck.Properties; public class Example { public static void main(String[] args) { Properties props = new Properties("String"); props.property("startsWith", Prop.forAll((String s) -> s.startsWith(s.substring(0, 0)))); System.out.println("Property defined"); } }
Debug
Known issues
breakingScalaCheck 1.19.x requires Scala 2.12 or 2.13; ensure compatibility with your Scala version.
fix
Use the appropriate artifact for your Scala version (e.g., scalacheck_2.13).
affects: >=1.19.0
Upgrade
Version history
1.19.0latest on Maven
Audit
Dependencies

No dependency data recorded yet.

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