Currently PowerMock builds on top of EasyMock and Mockito to provide mocking of e.g. static methods and final classes using a familiar API. What most people don’t know is that it’s pretty easy to benefit from PowerMock even for frameworks it doesn’t support. JMock is another popular mocking framework that PowerMock currently doesn’t support but [...]
PowerMock with unsupported frameworks such as JMock
December 28th, 2010 by Johan Haleby — Java, Testing, Tips & Tricks
Tags: automated testing, Java, jmock, powermock
What’s new in PowerMock 1.1
December 15th, 2008 by Johan Haleby — Java, 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 [...]
Tags: commons-logging, easymock, frameworks, jmock, log4j, mockito, open source, powermock, slf4j, testng
