+
+

Related Products

  • Parasoft
    152 Ratings
    Visit Website
  • Checksum.ai
    2 Ratings
    Visit Website
  • QA Wolf
    273 Ratings
    Visit Website
  • MuukTest
    34 Ratings
    Visit Website
  • Virtuoso QA
    131 Ratings
    Visit Website
  • Intermedia Unite
    1,634 Ratings
    Visit Website
  • Gearset
    305 Ratings
    Visit Website
  • Innoslate
    98 Ratings
    Visit Website
  • Planview ProjectAdvantage
    121 Ratings
    Visit Website
  • ManageEngine ADManager Plus
    716 Ratings
    Visit Website

About

Most parts of a software system do not work in isolation, but collaborate with other parts to get their job done. In a lot of cases, we do not care about using real collaborators implementation in unit testing, as we trust these collaborators. Mock objects replace collaborators of the unit under test. To test a unit in isolation or mount a sufficient environment, we have to simulate the collaborators in the test. A Mock Object is a test-oriented replacement for a collaborator. It is configured to simulate the object that it replaces in a simple way. In contrast to a stub, a Mock Object also verifies whether it is used as expected. EasyMock has been the first dynamic Mock Object generator, relieving users of hand-writing Mock Objects, or generating code for them. EasyMock provides Mock Objects by generating them on the fly using Java proxy mechanism.

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 Not Supported
Mac Not Supported
Linux Not Supported
Cloud 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 mock object generator solution

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 Not Supported

API

Offers API Not Supported

Screenshots and Videos

Screenshots and Videos

Pricing

No information available.
Free Version Not 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

EasyMock
Founded: 2001
easymock.org

Company Information

PowerMock
github.com/powermock/powermock

Alternatives

Alternatives

Telerik JustMock

Telerik JustMock

Progress Telerik
Telerik JustMock

Telerik JustMock

Progress Telerik

Categories

Software Testing Supported
Unit Testing Supported

Categories

Integrations

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

Integrations

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