mockk
https://github.com/mockk/mockk
Kotlin
mocking library for Kotlin
Triage Issues!
When you volunteer to triage issues, you'll receive an email each day with a link to an open issue that needs help in this project. You'll also receive instructions on how to triage issues.
Triage Docs!
Receive a documented method or class from your favorite GitHub repos in your inbox every day. If you're really pro, receive undocumented methods or classes and supercharge your commit history.
Kotlin not yet supported34 Subscribers
View all SubscribersAdd a CodeTriage badge to mockk
Help out
- Issues
- mockk-context-parameters-1.14.11.jar is empty (no code inside)
- Proposal: add verifyAny / coVerifyAny with aggregate call matching
- (jdk 24) non-static Mock results in `class redefinition failed: invalid class` error
- feat: add suppress() DSL to prevent parent class method execution
- Annotation-based mock restrictions
- Fix UnsupportedOperationException during class retransformation
- # Add telemetry around signature validation
- confirmVerified doesn't support references to top-level functions mocked via mockkStatic
- Idea: one common base interface for all MockK DSLs
- every { java.nio.Files.<method>() } crashes after mockkStatic(java.nio.Files::class)
- Docs
- Kotlin not yet supported