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
- Value class unboxing fails when mocked function and caller have the same name
- Poor performance with lateinit mockks
- UInt properties cannot be mocked
- Bug: verify on anyConstructed<Mock>() throw an exception
- NoSuchElementException in verify()
- kotlinx.datetime.Instant relaxed mock yields null java.time.Instant value
- Error msg missing type information when no answers found for an overloaded method
- Embedding springmockk 4.0.2 into mockk
- Cannot create mock of interface with type parameter
- lateinit property has not been initialized on some ancestor classes
- Docs
- Kotlin not yet supported