Registry / testing / scalacheck-1-17-3

scalacheck-1-17-3

JSON →
library3.2.18.0javamavenunverified

ScalaCheck integration for ScalaTest, providing property-based testing support.

<dependency> <groupId>org.scalatestplus</groupId> <artifactId>scalacheck-1-17_3</artifactId> <version>3.2.18.0</version> </dependency>
INSTALL
IMPORT
SIG · SCALACHECK-1-17-3
S
scalacheck-1-17-3
testingjavav3.2.18.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.

ScalaCheckDrivenPropertyChecks
org.scalatestplus.scalacheck.ScalaCheckDrivenPropertyChecks

Uses ScalaCheck property-based testing with ScalaTest.

import org.scalatestplus.scalacheck.ScalaCheckDrivenPropertyChecks import org.scalatest.funsuite.AnyFunSuite class ExampleSuite extends AnyFunSuite with ScalaCheckDrivenPropertyChecks { test("addition is commutative") { forAll { (a: Int, b: Int) => assert(a + b == b + a) } } }
Debug
Known issues
breakingThis version is specifically for Scala 3; using with Scala 2 will cause compilation errors.
fix
Use the appropriate artifact for your Scala version (e.g., scalacheck-1-17_2.13).
affects: >=3.2.18.0
Upgrade
Version history
3.2.18.0latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
2 hits · last 30 days
node
2
Resources
scalacheck-1-17-3 — mvn dependency:get scalacheck-1-17-3 · libregistry