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
- verifySequence error suppresses `MockKException: no answer found`
- No answer found for: `...continuation {})`
- Mocking application class in androidTest instrumented test significantly slows down unrelated tests
- Unable to mock vararg methods where the last parameter is not variable
- java.lang.NoClassDefFoundError: io/mockk/ValueClassSupportKt in maven build
- Kotlin Multimedia Mobile import problems
- Mocking value classes causes unboxing errors
- #920 StackOverflow with generic subclass suspend fun stubbing
- AbstractMethodError when using `any()` to provide a value for a suspend lambda
- Suspend extension functions are not mocked in Android instrumentation test (works in local junit test)
- Docs
- Kotlin not yet supported