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
- Mockk can't find stubs on Ubuntu 20.04 (but can on Ubuntu 18.04)
- Regression when upgrading to io.mockk:mockk:1.12.0
- Mocking methods returning nullable value classes enters an infinite loop
- Race condition - can't find stub LocalDateTime(temporary mock)
- kotlin.Result<T> mocking is not working as expected
- Missing calls inside verify { ... } block using spyK on Android API 21 but test passing on API 30
- Concurrent test fail, pass indpendently
- mockkStatic leads to "Illegal reflective access" warning
- Mocking java.io.File constructor throws StackOverflowError
- Exception mocking lambdas when running multiple test classes in jdk 11
- Docs
- Kotlin not yet supported