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
- security Findings
- Fail on mocking sealed subclasses which are final in combination with…
- No longer able to mock (relaxed) generic return types on version 1.13.4
- Broken spying on functions
- Throwing a descriptive error upon encountering inline function
- Mocking nullable unsigned types hangs
- mocking extension function File.writeText
- Investigate replacing Kotlin Reflect with Kotlin Metadata
- Using MockKExtension fails with GraalVM native and Spring Boot
- class java.lang.String cannot be cast to class kotlin.Result (java.lang.String is in module java.base of loader 'bootstrap'; kotlin.Result is in unnamed module of loader 'app')
- Docs
- Kotlin not yet supported