JUnit.
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..
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.3</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 packages are defined in the junit-4.3.jar
junit.extensions junit.framework junit.runner junit.textui org.junit org.junit.internal org.junit.internal.requests org.junit.internal.runners org.junit.runner org.junit.runner.manipulation org.junit.runner.notification org.junit.runners org.junit.samples org.junit.samples.money org.junit.tests org.junit.tests.anotherpackage
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> <packaging>jar</packaging> <name>JUnit</name> <version>4.3</version> <url>http://junit.org</url> <description> 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. </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://junit.cvs.sourceforge.net/junit/</url> </scm> <dependencies> </dependencies> </project>