Registry / testing / specs2-scalacheck-2-13-0-m5

specs2-scalacheck-2-13-0-m5

JSON →
library4.5.1javamavenunverified

Integration of ScalaCheck property-based testing with the specs2 testing framework for Scala.

<dependency> <groupId>org.specs2</groupId> <artifactId>specs2-scalacheck_2.13.0-M5</artifactId> <version>4.5.1</version> </dependency>
INSTALL
IMPORT
SIG · SPECS2-SCALACHECK-
S
specs2-scalacheck-2-13-0-m5
testingjavav4.5.1
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.

ScalaCheck
org.specs2.scalacheck.ScalaCheck

Write a property-based test with specs2 and ScalaCheck

import org.specs2.scalacheck.ScalaCheck import org.scalacheck.Prop.forAll class ExampleSpec extends org.specs2.mutable.Specification with ScalaCheck { "addition" should { "be commutative" in prop { (a: Int, b: Int) => (a + b) mustEqual (b + a) } } }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
4.5.1latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
7 hits · last 30 days
node
6
Resources
specs2-scalacheck-2-13-0-m5 — mvn dependency:get specs2-scalacheck-2-13-0-m5 · libregistry