JUnit.
JUnit is a regression testing framework. It is used by the developer who implements unit tests in Java..
Here is the list of declaration for junit. If you use Maven you can use the following code to add the dependency for this POM file.
<dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>4.8</version> </dependency>
If you think this Maven repository POM file listing for junit is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
Name:Common Public License Version 1.0
URL: http://www.opensource.org/licenses/cpl1.0.txt.
The following table lists the most popular artifacts which are depending on junit-4.8. Their categories and depend by count are also listed.
Category | Artifact | Depended By Count |
---|---|---|
Http | http-request 3.0 Library for making HTTP requests | 9 |
Library | gitective-core 0.9.9 gitective core library | 32 |
The following packages are defined in the junit-4.8.jar
junit.extensions junit.framework junit.runner junit.textui org.hamcrest org.hamcrest.core org.hamcrest.internal org.junit org.junit.experimental org.junit.experimental.categories org.junit.experimental.max org.junit.experimental.results org.junit.experimental.runners org.junit.experimental.theories org.junit.experimental.theories.internal org.junit.experimental.theories.suppliers org.junit.internal org.junit.internal.builders org.junit.internal.matchers org.junit.internal.requests org.junit.internal.runners org.junit.internal.runners.model org.junit.internal.runners.statements org.junit.matchers org.junit.rules org.junit.runner org.junit.runner.manipulation org.junit.runner.notification org.junit.runners org.junit.runners.model
Here is the content of the POM file.
<?xml version="1.0" encoding="UTF-8"?> <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 "> <modelVersion>4.0.0</modelVersion> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>4.8</version> <packaging>jar</packaging> <name>JUnit</name> <url>http://junit.org</url> <description> JUnit is a regression testing framework. It is used by the developer who implements unit tests in Java. </description> <organization> <name>JUnit</name> <url>http://www.junit.org</url> </organization> <licenses> <license> <name>Common Public License Version 1.0</name> <url>http://www.opensource.org/licenses/cpl1.0.txt</url> </license> </licenses> <scm> <url>http://github.com/KentBeck/junit</url> <connection>scm:git:git://github.com/KentBeck/junit.git</connection> </scm> <dependencies> <!-- this dependency is included in the jar, see MAVENUPLOAD-1651 <dependency> <groupId>org.hamcrest</groupId> <artifactId>hamcrest-core</artifactId> <version>1.1</version> </dependency> --> </dependencies> </project>