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
- Regression in 1.13.2 when stubbing chained calls where a middle object is sealed
- mocking static on Java 19 is broken
- io.mockk.MockKException: Failed matching mocking signature when using hilt inject with every { }
- coVerify fails when running multiple tests but succeeds if the test is run alone
- io.mockk.MockKException: Can't instantiate proxy for class kotlin.Function1
- Decouple MockK from Kotlin Reflect
- RFC: Helpers to create mockks via factory functions
- New GHA is caching test tasks, even though the JDK changes
- GHA Snapshot publishing
- Automatically release the latest version to Sonatype snapshot
- Docs
- Kotlin not yet supported