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
Download and Install
To download and install JUnit you currently have the following options.
Download the following JARs and add them to your test classpath:
Add a dependency to
test scope. (Note: 4.12 is the latest stable version as of the latest edit on this page.)
<dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>4.12</version> <scope>test</scope> </dependency>