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
- Test passes when compiled for JDK target 19, but fails when compiled for JDK target 21
- mockkStatic(System::class) causes java.lang.StackOverflowError with java 17
- Issue with interface mock and reflection
- MockKException: Failing to instantiate mocks for functions
- Spyk on object class
- when mocking a method object is being instantiated and method is called
- fix atMost + timeout verify
- Incompatible with Kotlin 1.9.20 in KMP project
- Caused by: java.lang.RuntimeException: Method isLoggable in android.util.Log not mocked.
- value class that implements interface or sealed interface cannot be used in `returns`
- Docs
- Kotlin not yet supported