Registry / testing / mockk
library1.14.9javamavenunverified

Mocking library for Kotlin with DSL support and coroutine mocking.

<dependency> <groupId>io.mockk</groupId> <artifactId>mockk</artifactId> <version>1.14.9</version> </dependency>
INSTALL
IMPORT
SIG · MOCKK
M
mockk
testingjavav1.14.9
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.

mockk
io.mockk.mockk

Creates a mock object using MockK's mockk function.

import io.mockk.mockk fun main() { val mock = mockk<MyClass>() println("Mock created: $mock") } class MyClass
Debug
Known issues
breakingMockK 1.14.x requires Kotlin 1.9+; older Kotlin versions cause compilation errors.
fix
Upgrade Kotlin to 1.9 or later.
affects: >=1.14.0
Upgrade
Version history
1.14.9latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
3 hits · last 30 days
node
2
Amazon
1
Resources
mockk — mvn dependency:get mockk · libregistry