Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Clone this wiki locally
Current direct downloads
|powermock-easymock-junit-1.7.1.zip||PowerMock 1.7.1 with EasyMock and JUnit including dependencies|
|powermock-easymock-testng-1.7.1.zip||PowerMock 1.7.1 with EasyMock and TestNG including dependencies|
|powermock-mockito-junit-1.7.1.zip||PowerMock 1.7.1 with Mockito and JUnit including dependencies|
|powermock-mockito-testng-1.7.1.zip||PowerMock 1.7.1 with Mockito and TestNG including dependencies|
|powermock-mockito2-junit-1.7.1.zip||PowerMock 1.7.1 with Mockito2 and JUnit including dependencies|
|powermock-mockito2-testng-1.7.1.zip||PowerMock 1.7.1 with Mockito2 and TestNG including dependencies|
|powermock-easymock-1.7.1-full.jar||PowerMock 1.7.1 with EasyMock API extension (including source but excluding dependencies)|
|powermock-mockito-1.7.1-full.jar||PowerMock 1.7.1 with Mockito API extension (including source but excluding dependencies)|
|powermock-mockito2-1.7.1-full.jar||PowerMock 1.7.1 with Mockito2 API extension (including source but excluding dependencies)|
Note on using 1.6.6 with Mockito
There was a problem with the release process which excluded files in the
powermock-api-mockito-common module for the PowerMockito API. So if downloading any of the mockito zip files below make sure to also download this file and put it in your classpath.
You may find version from 1.5.4 to 1.6.6 at Bintray.
There is no way to get legacy version any more. Legacy versions of PowerMock (version 1.5.3 and below) was hosted on Google Code service which unfortunately was closed in 2016.