StackShareStackShare
Follow on
StackShare

Discover and share technology stacks from companies around the world.

Product

  • Stacks
  • Tools
  • Companies
  • Feed

Company

  • About
  • Blog
  • Contact

Legal

  • Privacy Policy
  • Terms of Service

© 2025 StackShare. All rights reserved.

API StatusChangelog
mockk
ByOleksiyOleksiy

mockk

#74in Testing Frameworks
Stacks38Discussions0
Followers23
OverviewDiscussions

What is mockk?

It is an open-source library focused on making mocking in Kotlin great. It is a library with the possibility of mocking default arguments, final classes, varargs, coroutines and extension methods.

mockk is a tool in the Testing Frameworks category of a tech stack.

Key Features

Object mocksStatic mocksConstructor mocksPartial argument matchingMocking default argumentsMocking final classesMocking varargsHierarchical mocking

mockk Pros & Cons

Pros of mockk

No pros listed yet.

Cons of mockk

No cons listed yet.

mockk Alternatives & Comparisons

What are some alternatives to mockk?

JUnit

JUnit

JUnit is a simple framework to write repeatable tests. It is an instance of the xUnit architecture for unit testing frameworks.

RSpec

RSpec

Behaviour Driven Development for Ruby. Making TDD Productive and Fun.

PHPUnit

PHPUnit

PHPUnit is a programmer-oriented testing framework for PHP. It is an instance of the xUnit architecture for unit testing frameworks.

pytest

pytest

A framework makes it easy to write small tests, yet scales to support complex functional testing for applications and libraries. It is a mature full-featured Python testing tool.

Mockito

Mockito

It is a mocking framework that tastes really good. It lets you write beautiful tests with a clean & simple API. It doesn’t give you hangover because the tests are very readable and they produce clean verification errors.

Cucumber

Cucumber

Cucumber is a tool that supports Behaviour-Driven Development (BDD) - a software development process that aims to enhance software quality and reduce maintenance costs.

mockk Integrations

Kotlin are some of the popular tools that integrate with mockk. Here's a list of all 1 tools that integrate with mockk.

Kotlin
Kotlin

Try It

Visit Website

Adoption

On StackShare

Companies
15
ZFSFRA+9
Developers
26
OMTRCG+20