JUnit Installation

Visit the main website at www.junit.org and download JUnit v3.8.1 binary distribution and unpack it.

Maven package dependency

Add the following dependency to your pom.xml


    <dependency>
      <groupId>junit</groupId>
      <artifactId>junit</artifactId>
      <version>4.8.2</version>
      <scope>test</scope>
    </dependency>
    

JUnit-addons

To test the contents of two arrays we can use an already written addon for JUnit. Download version 1.4 from http://junit-addons.sourceforge.net/ and unpack it.

Published: Wednesday, 11 August 2004