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
- Odd failure message with SpyK and Coroutine
- `@JvmField` annotation causing `io.mockk.MockKException: Missing calls inside every { ... } block`
- Android UI Test crashing on Android Emulator (but fine on physical devices) running Android P+ due to various SIGSEGV at random time
- Stubbing a method on a spyk object calls the original method immediately.
- re: java.lang.VerifyError on trying to mock an object
- How to unproxy/undispatch a mock?
- Bug: Mocking method that returns coroutine Job fails in android instrumentation test
- Bug: cannot Mock Class With Package-Private Parent
- Bug: Can't mock kotlinx.coroutines.channels.Channel
- Bug: ClassCastException when using relaxed mock of generic type
- Docs
- Kotlin not yet supported