MVN

org.powermock : powermock

Maven & Gradle

Nov 04, 2016
7 usages
4k stars

powermock · PowerMock allows you to unit test code normally regarded as untestable. For instance it is possible to mock static methods, remove static initializers, allow mocking without dependency injection and more. PowerMock works by bytecode manipulation. PowerMock also contain some utilities that gives you easier access to an objects internal state. PowerMock can be used to test otherwise untestable code and also to achieve a cleaner separation between test and production code.

<dependency>
    <groupId>org.powermock</groupId>
    <artifactId>powermock</artifactId>
    <version>1.6.6</version>
</dependency>
Copy
pom.xml
Table Of Contents

Latest Version

Choose a version of org.powermock : powermock to add to Maven - Latest Versions:

  • Latest Stable: 1.6.6

All Versions

Choose a version of org.powermock : powermock to add to Maven - All Versions:

Version Vulnerabilities Updated
1.6.x
powermock-1.6.6
powermock-1.6.5
powermock-1.6.4
powermock-1.6.3
powermock-1.6.2
powermock-1.6.1
powermock-1.6.0
1.5.x
powermock-1.5.6
powermock-1.5.5
powermock-1.5.4
powermock-1.5.3
powermock-1.5.2
powermock-1.5.1
1.5
powermock-1.5
1.4.x
powermock-1.4.12
powermock-1.4.11
powermock-1.4.10
powermock-1.4.9
powermock-1.4.8
powermock-1.4.7
powermock-1.4.6

How to add a POM dependency to Maven

POM as dependency in dependencyManagement

<dependency>
    <groupId>org.powermock</groupId>
    <artifactId>powermock</artifactId>
    <version>1.6.6</version>
</dependency>

Advertisement

Dependencies from Group

Nov 01, 2020
3.3k usages
4k stars
Apr 12, 2018
2.3k usages
4k stars
Nov 01, 2020
1.4k usages
4k stars
Nov 02, 2020
534 usages
4k stars
Nov 01, 2020
511 usages
4k stars

Discover Dependencies

Aug 25, 2023
48 usages
3.9k stars
Jan 10, 2023
416 usages
249 stars
Jul 30, 2022
3 usages
62 stars
Jan 24, 2016
6 usages
202 stars
Oct 15, 2019
4 usages
Apr 05, 2016