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
- spyk behaves different if an objectToCopy is passed
- How to check/verify if any (either this or that) of the mock/spy methods were called?
- mockk library call verification fails for httpClient?
- Cannot mock constructor in instrumented test
- 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
- Docs
- Kotlin not yet supported