powermock-module-junit4.
PowerMock support module for JUnit 4.x..
Here is the list of declaration for powermock-module-junit4. If you use Maven you can use the following code to add the dependency for this POM file.
<dependency> <groupId>org.powermock</groupId> <artifactId>powermock-module-junit4</artifactId> <version>1.5.4</version> </dependency>
If you think this Maven repository POM file listing for powermock-module-junit4 is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
The powermock-module-junit4-1.5.4 has 1 dependencies.The most popular ones are listed in the following table along with their categories and number of artifacts depending on them.
Category | Artifact | Depended By Count |
---|---|---|
JUnit | junit 4.11 JUnit is a regression testing framework written by Erich Gamma and Kent Beck. It is used by the developer who implements unit tests in Java. | 2031 |
The following table lists the most popular artifacts which are depending on powermock-module-junit4-1.5.4. Their categories and depend by count are also listed.
Category | Artifact | Depended By Count |
---|---|---|
Spring | spring-security-oauth2 2.0.3.RELEASE Module for providing OAuth2 support to Spring Security | 8 |
The following plugins are used in the powermock-module-junit4-1.5.4.jar
The following packages are defined in the powermock-module-junit4-1.5.4.jar
org.powermock.modules.junit4 org.powermock.modules.junit4.internal.impl org.powermock.modules.junit4.internal.impl.testcaseworkaround
Here is the content of the POM file.
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <parent> <artifactId>powermock-modules</artifactId> <groupId>org.powermock</groupId> <version>1.5.4</version> <relativePath>../../pom.xml</relativePath> </parent> <modelVersion>4.0.0</modelVersion> <groupId>org.powermock</groupId> <artifactId>powermock-module-junit4</artifactId> <packaging>jar</packaging> <name>powermock-module-junit4</name> <url>http://www.powermock.org</url> <description> PowerMock support module for JUnit 4.x. </description> <dependencies> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>4.11</version> <scope>compile</scope> </dependency> <dependency> <groupId>org.powermock</groupId> <artifactId>powermock-module-junit4-common</artifactId> <version>${project.version}</version> </dependency> </dependencies> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <configuration> <excludes> <exclude>**/SuppressSpecificConstructorDemoTest.java</exclude> </excludes> </configuration> </plugin> </plugins> </build> </project>