December 15th, 2008 by Johan Haleby — Frameworks, Open Source, Testing
We’re proud to announce that PowerMock 1.1 was released a couple of days ago and it has many new interesting features.
Framework independence
First of all the internal structure of the project has undergone major changes. PowerMock core is no longer coupled to EasyMock which means that PowerMock can now be used as a foundation for [...]
Tags: commons-logging, easymock, jmock, log4j, mockito, powermock, slf4j, testng
November 21st, 2008 by Jan Kronquist — Open Source, Testing
We have released 1.0 of PowerMock just in time for the Øredev conference! PowerMock is an open source mock framework based on EasyMock that allow you to mock static methods, private methods and even constructors. Our intent is mainly to allow unit testing of legacy code and people really seemed to appreciate this idea at the conference.
Tags: easymock, junit, mock, oredev, powermock
October 27th, 2008 by Johan Haleby — Frameworks, Open Source, Testing
Previously a colleague of mine described an idea for mocking static methods. Earlier this year we started an open source project to implement these ideas in a very simple to use form. The idea is that it will just be a normal jar file that extends EasyMock and JUnit. Instead of using AspectJ we have [...]
Tags: easymock, junit, mock, powermock
February 16th, 2007 by Jan Kronquist — Testing
After seeing MockME developed by some of my colleagues I started thinking about how this could be made in a generic way.
Tags: aop, aspectj, easymock, mock