JUnit is a simple test framework used to write repeatable tests.
The JDT tools include a plug-in that integrates JUnit into the Java IDE. The JUnit plug-in allows you to define regression tests for your code and run them from the Java IDE.