Java Framework

PowerMock Java Framework Version 1.3.8 Released

Jessica Thornsby

Version 1.3.8 of PowerMock is now available.

PowerMock is a Java framework that extends existing mock libraries. It uses bytecode manipulation and custom classloader to enable mocking of static methods, constructors, final classes and methods, amongst others. The expectation API is the same for static methods and constructors. Currently, PowerMock supports EasyMock and Mockito.

With this release, the EasyMock API extension supports the mock creation of classes whose hashCode implementation depends on constructor initialisation, and upgrades to TestNG version 5.12 and Javassist version 3.12. More information is available at the Changelog.

comments powered by Disqus