Registry / testing / scalatestplus-scalacheck-2-12

scalatestplus-scalacheck-2-12

JSON →
library3.1.0.0-RC2javamavenunverified

ScalaTestPlus ScalaCheck integrates ScalaCheck property-based testing with ScalaTest, enabling generative testing.

<dependency> <groupId>org.scalatestplus</groupId> <artifactId>scalatestplus-scalacheck_2.12</artifactId> <version>3.1.0.0-RC2</version> </dependency>
INSTALL
IMPORT
SIG · SCALATESTPLUS-SCAL
S
scalatestplus-scalacheck-2-12
testingjavav3.1.0.0-RC2
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.

ScalaCheckPropertyChecks
org.scalatestplus.scalacheck.ScalaCheckPropertyChecks

Minimal property-based test using ScalaCheck

import org.scalatestplus.scalacheck.ScalaCheckPropertyChecks import org.scalatest.funsuite.AnyFunSuite class MyPropertyTest extends AnyFunSuite with ScalaCheckPropertyChecks { test("string concat") { forAll { (a: String, b: String) => assert((a + b).length == a.length + b.length) } } }
Debug
Known issues
gotchaVersion 3.1.0.0-RC2 is a release candidate; use stable versions for production.
fix
Use scalatestplus-scalacheck_2.12 version 3.1.0.0 or later stable release.
affects: 3.1.0.0-RC2
Upgrade
Version history
3.1.0.0-RC2latest on Maven
Audit
Dependencies

No dependency data recorded yet.

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