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 supported28 Subscribers
View all SubscribersAdd a CodeTriage badge to mockk
Help out
- Issues
- Bug: NullPointerException while mocking NavController on instrumentation tests
- Bug: ClassCastException when using relaxed mock of generic type
- Bug: StackOverflowError when mocking ArrayList on Android 9
- Bug: cannot capture nullable argument in mocked suspending methods
- Bug: in chained calls verification fails on 3-rd item with `any()` matcher
- Bug: Kotlin multiplatform project fails to build with mockk dependency
- Bug: callOriginal() for default interface methods is not working
- Bug: exception while calling mocked suspend function
- Bug: StackOverflowError in case of complex annotation checks involving HashMap calls
- Bug: can't mock or stub java.util.Date in Android instrumentation tests
- Docs
- Kotlin not yet supported