+
+

Related Products

  • Parasoft
    152 Ratings
    Visit Website
  • Gearset
    305 Ratings
    Visit Website
  • Okyline
    2 Ratings
    Visit Website
  • Virtuoso QA
    131 Ratings
    Visit Website
  • Macaw AMS
    8 Ratings
    Visit Website
  • Nutrient SDK
    111 Ratings
    Visit Website
  • pCloud Business
    189 Ratings
    Visit Website
  • Apify
    1,714 Ratings
    Visit Website
  • Qloo
    23 Ratings
    Visit Website
  • Gaffa
    5 Ratings
    Visit Website

About

Mockito is a mocking framework that tastes really good. It lets you write beautiful tests with a clean & simple API. Mockito doesn’t give you hangover because the tests are very readable and they produce clean verification errors. Read more about features & motivations. Top 10 Java library across all libraries, not only the testing tools. In late 2013 there was an analysis made of 30.000 GitHub projects. Although Mockito reached number 9 in the main report, mockito-core and mockito-all are the same tool and therefore the factual position of Mockito is number 4, surpassing famous tools like Guava or Spring. Treat this study as an indicator of a big impact that Mockito makes every day on unit tests written in Java.

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 Supported
Mac Supported
Linux Supported
Cloud Not Supported
On-Premises Not Supported
iPhone Not Supported
iPad Not Supported
Android Not Supported
Chromebook Not Supported

Platforms Supported

Windows Supported
Mac Supported
Linux Supported
Cloud Not Supported
On-Premises Not Supported
iPhone Not Supported
iPad Not Supported
Android Not Supported
Chromebook Not Supported

Audience

Developers searching for a framework for unit tests in Java

Audience

Unit Testing solution for developers

Support

Phone Support Not Supported
24/7 Live Support Not Supported
Online Supported

Support

Phone Support Not Supported
24/7 Live Support Not Supported
Online Supported

API

Offers API Supported

API

Offers API Not Supported

Screenshots and Videos

Screenshots and Videos

Pricing

Free
Free Version Supported
Free Trial Not Supported

Pricing

Free
Free Version Supported
Free Trial Not Supported

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 Supported
Webinars Not Supported
Live Online Not Supported
In Person Not Supported

Training

Documentation Supported
Webinars Not Supported
Live Online Not Supported
In Person Not Supported

Company Information

Mockito
site.mockito.org

Company Information

PowerMock
github.com/powermock/powermock

Alternatives

Alternatives

HUnit

HUnit

Hackage
Telerik JustMock

Telerik JustMock

Progress Telerik
Cypress

Cypress

Cypress.io
Cucumber

Cucumber

SmartBear

Categories

Categories

Integrations

Java Supported
Parasoft Supported
Bootstrap Not Supported
EasyMock Not Supported
JUnit Not Supported
Jtest Supported
Mockito Not Supported
PowerMock Supported
TDX360 Supported

Integrations

Java Supported
Parasoft Supported
Bootstrap Supported
EasyMock Supported
JUnit Supported
Jtest Not Supported
Mockito Supported
PowerMock Not Supported
TDX360 Not Supported
Claim Mockito and update features and information
Claim Mockito and update features and information
Claim PowerMock and update features and information
Claim PowerMock and update features and information