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
- Improve Unecessary Stubbings error reporting to map it to a specific test
- Partial mocking and unnecessary stubbings feature conflict
- ClassCastException when stubbing a method that returns T where T is a value class
- Missing unbox of value class in generic interface and nullable return type
- Q: How to reuse settings across gradle subprojects?
- [1.13.16] Unable to mock nullable value class return (non primative) from suspend method
- Cannot mock http client get() calls
- Version 1.13.16 introduces nested Result<T> in suspended function testing
- Mockk should not have transitive dependency on Junit4 or Junit5
- Matching function arguments that are sealed interfaces results in an IllegalStateException with null packRef
- Docs
- Kotlin not yet supported