How to import junit so you can do unit tests with it
- Download junit
- In eclipse, click the Project Menu, then click Properties
- Now, click Java Build Path, then go to the Libraries tab
- Click Add External JARs
- Select the junit-4.4.jar file you just downloaded, and click Open, then Click OK
Now you should be able to make and run test cases.