+
+

Related Products

  • Parasoft
    142 Ratings
    Visit Website
  • Gearset
    270 Ratings
    Visit Website
  • cside
    25 Ratings
    Visit Website
  • Bitdefender Ultimate Small Business Security
    3 Ratings
    Visit Website
  • Bitrise
    396 Ratings
    Visit Website
  • Condo Control
    507 Ratings
    Visit Website
  • Source Defense
    7 Ratings
    Visit Website
  • Buildium
    2,480 Ratings
    Visit Website
  • Reflectiz
    29 Ratings
    Visit Website
  • Smoobu
    206 Ratings
    Visit Website

About

Mocking is a technique to make testing code readable and maintainable. In three consequent articles, I would like to show the basics, features, and quirks of the MockK library. It is a new open-source library (github repository) focused on making mocking in Kotlin great. Injection first tries to match properties by name, then by class or superclass. Check the lookupType parameter for customization. Properties are injected even if private is applied. Constructors for injection are selected from the biggest number of arguments to lowest.

About

Writing unit tests can be hard and sometimes good design has to be sacrificed for the sole purpose of testability. Often testability corresponds to good design, but this is not always the case. For example final classes and methods cannot be used, private methods sometimes need to be protected or unnecessarily moved to a collaborator, static methods should be avoided completely and so on simply because of the limitations of existing frameworks. PowerMock is a framework that extends other mock libraries such as EasyMock with more powerful capabilities. PowerMock uses a custom classloader and bytecode manipulation to enable mocking of static methods, constructors, final classes and methods, private methods, removal of static initializers and more. By using a custom classloader no changes need to be done to the IDE or continuous integration servers which simplifies adoption.

Platforms Supported

Windows
Mac
Linux
Cloud
On-Premises
iPhone
iPad
Android
Chromebook

Platforms Supported

Windows
Mac
Linux
Cloud
On-Premises
iPhone
iPad
Android
Chromebook

Audience

DevOps teams looking for a Unit Testing solution

Audience

Unit Testing solution for developers

Support

Phone Support
24/7 Live Support
Online

Support

Phone Support
24/7 Live Support
Online

API

Offers API

API

Offers API

Screenshots and Videos

Screenshots and Videos

Pricing

Free
Free Version
Free Trial

Pricing

Free
Free Version
Free Trial

Reviews/Ratings

Overall 0.0 / 5
ease 0.0 / 5
features 0.0 / 5
design 0.0 / 5
support 0.0 / 5

This software hasn't been reviewed yet. Be the first to provide a review:

Review this Software

Reviews/Ratings

Overall 0.0 / 5
ease 0.0 / 5
features 0.0 / 5
design 0.0 / 5
support 0.0 / 5

This software hasn't been reviewed yet. Be the first to provide a review:

Review this Software

Training

Documentation
Webinars
Live Online
In Person

Training

Documentation
Webinars
Live Online
In Person

Company Information

MockK
mockk.io

Company Information

PowerMock
github.com/powermock/powermock

Alternatives

Alternatives

Telerik JustMock

Telerik JustMock

Progress Telerik
Telerik JustMock

Telerik JustMock

Progress Telerik

Categories

Categories

Integrations

JUnit
Bootstrap
EasyMock
Java
Kotlin
Mockito
Parasoft

Integrations

JUnit
Bootstrap
EasyMock
Java
Kotlin
Mockito
Parasoft
Claim MockK and update features and information
Claim MockK and update features and information
Claim PowerMock and update features and information
Claim PowerMock and update features and information