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 supported32 Subscribers
View all SubscribersAdd a CodeTriage badge to mockk
Help out
- Issues
- mockkStatic method call throws StackOverflowError
- `coVerifyCount` accepts a non-suspending lambda
- Add lenient mocking for checkUnnecessaryStub
- io.mockk.proxy.MockKAgentException in android compose project test, mockk Version:1.13.11
- Is CheckUnnecessaryStubs supported with JUnit 4?
- every { ... } fails to called mocked implementation in particular circumstances involving `sealed interface`, `@JvmInline value class`, and multiple arguments of the same type
- Multiple any<Class<*>>() does not set up mocked method
- 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?
- Docs
- Kotlin not yet supported