Registry / testing / kotlintest

kotlintest

JSON →
library2.0.7javamavenunverified

Kotlin Test Framework

<dependency> <groupId>io.kotlintest</groupId> <artifactId>kotlintest</artifactId> <version>2.0.7</version> </dependency>
INSTALL
IMPORT
SIG · KOTLINTEST
K
kotlintest
testingjavav2.0.7
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.

StringSpec
io.kotlintest.specs.StringSpec

Defines a simple test using StringSpec with a shouldBe assertion.

import io.kotlintest.specs.StringSpec import io.kotlintest.shouldBe class MyTest : StringSpec({ "length should return size of string" { "hello".length shouldBe 5 } })
Debug
Known issues
breakingKotlinTest is deprecated; use Kotest instead.
fix
Migrate to io.kotest:kotest-runner-junit5 and update imports.
affects: >=2.0.0
Upgrade
Version history
2.0.7latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
2 hits · last 30 days
node
2
Resources
kotlintest — mvn dependency:get kotlintest · libregistry