MockK Description

Mocking serves as an effective method to enhance the readability and maintainability of code during testing. In a series of three articles, I aim to explore the foundational concepts, features, and unique aspects of the MockK library. This innovative open-source library, available on GitHub, is dedicated to simplifying the mocking process in Kotlin. When it comes to property injection, the library first attempts to align properties by their names, followed by matching them based on class or superclass hierarchies. For further customization, users can refer to the lookupType parameter. Notably, property injection continues to function even when private visibility is enforced. Additionally, when selecting constructors for injection, the library prioritizes those with the highest number of arguments, proceeding to those with fewer. This thoughtful design enhances the user experience and flexibility in testing scenarios.

Pricing

Pricing Starts At:
Free
Free Version:
Yes

Integrations

API:
Yes, MockK has an API

Reviews

Total
ease
features
design
support

No User Reviews. Be the first to provide a review:

Write a Review

Company Details

Company:
MockK
Website:
mockk.io

Media

MockK Screenshot 1
Recommended Products
Our Free Plans just got better! | Auth0 Icon
Our Free Plans just got better! | Auth0

With up to 25k MAUs and unlimited Okta connections, our Free Plan lets you focus on what you do best—building great apps.

You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your security. Auth0 now, thank yourself later.
Try free now

Product Details

Platforms
Windows
Mac
Linux
Types of Training
Training Docs
Customer Support
Online Support

MockK Features and Options

MockK User Reviews

Write a Review
  • Previous
  • Next