It's time for you to play with Unit testing, especially with JUnit.
OK, let's see how to install it on Eclipse.
First of all, you need a version of JUnit.
Let's go on the official website to download it: http://www.junit.org/
In the last version, for our example, the junit4.10 one.
Open the .zip. Inside there is a junit-4.10.jar file.
In Eclipse, select a project then > Project > Properties > Java Build Path > Libraries tab > Add Jars > Select the junit-4.10.jar > OK
JUnit is ready to be used!
Let's continue this tutorial with a classic JUnit Hello World!
© Badprog - I want to change the world. And I will.