Registry / testing / scalacheck-2-11

scalacheck-2-11

JSON →
library1.15.2javamavenunverified

A library for property-based testing of Scala and Java code, automatically generating test cases from specifications.

<dependency> <groupId>org.scalacheck</groupId> <artifactId>scalacheck_2.11</artifactId> <version>1.15.2</version> </dependency>
INSTALL
IMPORT
SIG · SCALACHECK-2-11
S
scalacheck-2-11
testingjavav1.15.2
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 property that all strings have non-negative length and checks it.

import org.scalacheck.Prop; public class Example { public static void main(String[] args) { Prop prop = Prop.forAll((String s) -> s.length() >= 0); System.out.println(prop.check()); } }
Debug
Known issues
breakingScalaCheck 1.15.x is built for Scala 2.11; ensure compatibility with your Scala version.
fix
Use the correct Scala version suffix (e.g., scalacheck_2.12 for Scala 2.12).
affects: >=1.15.0
Upgrade
Version history
1.15.2latest on Maven
Audit
Dependencies

No dependency data recorded yet.

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