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
- io.mockk.MockKException: no answer found for: CoroutineDispatcher(child of static Dispatchers#1).plus(CoroutineId(3))
- io.mockk.MockKException: can't find stub Disposable(temporary mock)
- Cannot call a function with default argument value delegated to a dependency
- Cannot use `mockkObject` in a interface's lambda implementation
- Wrong stub is being created if an extension function call on a mock is passed as an argument directly when stubbing
- verify mockkConstructor not working if every { not called before
- MockK fails on JDK 17 with Java enums that have constants that are classes
- Feature: Add a way to verify constructor is called with defined values
- JvmHinter does not work for generic types on OpenJ9-JVM
- java.lang.NoClassDefFoundError When mocking MuxStatsExoPlayer
- Docs
- Kotlin not yet supported