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
- mockkObject/every fails substituting object function call, seems to run method
- Exception when use 'mockkStatic()' in Java class with mock static function wich has overload
- Regression - Specifying kotlin.time.Duration as return value for `every` leads to ClassCastException
- coVerify verifies wrong method
- Can`t mock private property (Missing mocked calls inside every { ... } block: make sure the object inside the block is a mock)
- Any.get() extension function is colliding with other classes extension function
- Mocking doesn't work for a functional interface returning a value class
- Add DSL keyword "repeatedly" which enables repeated answer
- Mockk deadlock during parallel tests
- mockkObject not working in Maven
- Docs
- Kotlin not yet supported