+
+

Related Products

  • Parasoft
    148 Ratings
    Visit Website
  • Skillfully
    2 Ratings
    Visit Website
  • Pensero
    2 Ratings
    Visit Website
  • Virtuoso QA
    131 Ratings
    Visit Website
  • QA Wolf
    269 Ratings
    Visit Website
  • MuukTest
    34 Ratings
    Visit Website
  • Intermedia Unite
    1,625 Ratings
    Visit Website
  • Gearset
    305 Ratings
    Visit Website
  • Bitrise
    400 Ratings
    Visit Website
  • Innoslate
    93 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
Mac
Linux
Cloud
On-Premises
iPhone
iPad
Android
Chromebook

Platforms Supported

Windows
Mac
Linux
Cloud
On-Premises
iPhone
iPad
Android
Chromebook

Audience

Developers searching for a mock object generator 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

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

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

Categories

Integrations

Bootstrap
EasyMock
JUnit
Java
Mockito
Parasoft
PowerMock

Integrations

Bootstrap
EasyMock
JUnit
Java
Mockito
Parasoft
PowerMock
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