Registry / testing / kotlinx-coroutines-test-jvm

kotlinx-coroutines-test-jvm

JSON →
library1.10.2javamavenunverified

Coroutines support libraries for Kotlin, providing testing utilities for coroutines on the JVM.

<dependency> <groupId>org.jetbrains.kotlinx</groupId> <artifactId>kotlinx-coroutines-test-jvm</artifactId> <version>1.10.2</version> </dependency>
INSTALL
IMPORT
SIG · KOTLINX-COROUTINES
K
kotlinx-coroutines-test-jvm
testingjavav1.10.2
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.

runTest
kotlinx.coroutines.test.runTest

Run a coroutine test using runTest.

import kotlinx.coroutines.test.runTest @Test fun testCoroutine() = runTest { // coroutine test code }
Debug
Known issues
breakingVersion 1.10.2 may have breaking changes in test APIs compared to earlier versions.
fix
Check migration guide for changes in runTest and TestScope.
affects: >=1.10.0
Upgrade
Version history
1.10.2latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
kotlinx-coroutines-test-jvm — mvn dependency:get kotlinx-coroutines-test-jvm · libregistry