Registry / testing / kotest-assertions-core-jvm

kotest-assertions-core-jvm

JSON →
library6.1.11javamavenunverified

Core assertion library for the Kotest testing framework on the JVM.

<dependency> <groupId>io.kotest</groupId> <artifactId>kotest-assertions-core-jvm</artifactId> <version>6.1.11</version> </dependency>
INSTALL
IMPORT
SIG · KOTEST-ASSERTIONS-
K
kotest-assertions-core-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.

shouldBe
io.kotest.assertions.shouldBe

Write a simple test using Kotest's shouldBe assertion.

import io.kotest.assertions.shouldBe import io.kotest.core.spec.style.StringSpec class MyTest : StringSpec({ "length should return size of string" { "hello".length shouldBe 5 } })
Debug
Known issues
gotchaKotest assertions use infix functions; ensure you import the correct extension functions.
fix
Use 'import io.kotest.matchers.shouldBe' for matcher-based assertions.
affects: all
Upgrade
Version history
6.1.11latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
7 hits · last 30 days
node
6
Resources
kotest-assertions-core-jvm — mvn dependency:get kotest-assertions-core-jvm · libregistry