Registry / testing / kotest-property-jvm

kotest-property-jvm

JSON →
library6.1.11javamavenunverified

Kotlin Test Framework providing property-based testing support for JVM applications.

<dependency> <groupId>io.kotest</groupId> <artifactId>kotest-property-jvm</artifactId> <version>6.1.11</version> </dependency>
INSTALL
IMPORT
SIG · KOTEST-PROPERTY-JV
K
kotest-property-jvm
testingjavav6.1.11
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.

forAll
io.kotest.property.forAll

Runs a property-based test checking that adding zero to an integer returns the same integer.

import io.kotest.property.forAll import io.kotest.property.arbitrary.int fun test() { forAll(Arb.int()) { a -> a + 0 == a } }
Debug
Known issues
breakingKotest 6.x requires Kotlin 1.9+; older Kotlin versions may cause compilation errors.
fix
Upgrade Kotlin to 1.9 or later when using Kotest 6.x.
affects: >=6.0.0
Upgrade
Version history
6.1.11latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
3 hits · last 30 days
node
2
Amazon
1
Resources
kotest-property-jvm — mvn dependency:get kotest-property-jvm · libregistry