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
- Embedding springmockk 4.0.2 into mockk
- mockkStatic(Instant::class) failed with stdObjectAnswer than equals/hashCode/toString with Spring Boot 3.0.x and JDK 17.0.x
- Issue with mocking value classes with coEvery
- Can't instantiate proxy for class kotlin.Function2 - similar class definition
- GHA Snapshot publishing
- io.mockk.MockKException: can't find stub Disposable(temporary mock)
- Wrong stub is being created if an extension function call on a mock is passed as an argument directly when stubbing
- kotlin.Result<T> mocking is not working as expected
- mockkStatic leads to "Illegal reflective access" warning
- Constructor mock behaviour change in 1.11.0
- Docs
- Kotlin not yet supported