mockk

mockk

mocking library for Kotlin

github Testing Kotlin free
★ 5,740Stars
405Forks
5,740Watchers
4Views
Apr 2026Last Update

About mockk

mocking library for Kotlin

What you should know about mockk

mockk — mocking library for Kotlin. It is categorized under Testing and primarily built with Kotlin. The project has gathered 5,740 stars and 405 forks on GitHub, indicating a healthy and active community.

Pricing & licensing: This tool is offered free of charge , released under the Apache-2.0 license. The source code is openly available on GitHub, allowing engineers to audit, contribute, or fork as needed.

Use cases & topics: mockk is associated with the following topics: argument-matchers, chain-calls, hacktoberfest, kotlin, matcher, mock, mocking-framework, tdd. Teams working in argument-matchers / chain-calls / hacktoberfest spaces typically evaluate this kind of tool when scoping new architecture decisions or replacing legacy components.

Getting started: Check out the official GitHub repository for installation steps, configuration examples, and the latest release notes. Most teams hit value within the first week if the tool aligns with their existing Testing stack.

Editor's note from Fanny Engriana (Founder, Wardigi Digital Agency): when evaluating tools in the Testing category for our agency clients, we look at three things first — license clarity, community size, and active maintenance. Tools with explicit license terms and ongoing commits tend to remain viable across multi-year projects.

Related Tools