36
23
+ 1
0

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.
mockk is an open source tool with 5.3K GitHub stars and 335 GitHub forks. Here’s a link to mockk's open source repository on GitHub

Who uses mockk?

Companies
10 companies reportedly use mockk in their tech stacks, including will bank, Flip App, and Android.

Developers
25 developers on StackShare have stated that they use mockk.

mockk Integrations

mockk's Features

  • Object mocks
  • Static mocks
  • Constructor mocks
  • Partial argument matching
  • Mocking default arguments
  • Mocking final classes
  • Mocking varargs
  • Hierarchical mocking

mockk Alternatives & Comparisons

What are some alternatives to mockk?
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.
JavaScript
JavaScript is most known as the scripting language for Web pages, but used in many non-browser environments as well such as node.js or Apache CouchDB. It is a prototype-based, multi-paradigm scripting language that is dynamic,and supports object-oriented, imperative, and functional programming styles.
Git
Git is a free and open source distributed version control system designed to handle everything from small to very large projects with speed and efficiency.
GitHub
GitHub is the best place to share code with friends, co-workers, classmates, and complete strangers. Over three million people use GitHub to build amazing things together.
Python
Python is a general purpose programming language created by Guido Van Rossum. Python is most praised for its elegant syntax and readable code, if you are just beginning your programming career python suits you best.
See all alternatives

mockk's Followers
23 developers follow mockk to keep up with related blogs and decisions.