PowerMock Description

Writing unit tests can be difficult and sometimes, good design must be sacrificed in order to ensure testability. Sometimes testability is synonymous with good design. However, this is not always true. Final classes and methods can't be used, private methods may need to be protected, or unnecessarily transferred to a collaborator. Static methods should be avoided entirely due to the limitations of existing frameworks. PowerMock is a framework which extends other mock libraries like EasyMock with greater capabilities. PowerMock employs a custom classloader, bytecode manipulation, and allows mocking of static methods and constructors. Private methods can also be used, as well as removal of static initializers. A custom classloader is not required to be modified to the IDE or continuous Integration Servers. This simplifies adoption.

Pricing

Pricing Starts At:
Free
Free Version:
Yes

Integrations

Reviews

Total
ease
features
design
support

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

Write a Review

Company Details

Company:
PowerMock
Website:
github.com/powermock/powermock

Media

PowerMock Screenshot 1
Recommended Products
Secure your business by securing your people. Icon
Secure your business by securing your people.

Over 100,000 businesses trust 1Password

Take the guesswork out of password management, shadow IT, infrastructure, and secret sharing so you can keep your people safe and your business moving.

Product Details

Platforms
Windows
Mac
Linux
Type of Training
Documentation
Customer Support
Online

PowerMock Features and Options