Testing may not be your favorite task as a programmer; it probably rates just above documentation. Yet here is a tool that has made testing more bearable and more productive for many Java developers—and not just because it has pretty colors and flashing lights.
What JUnit is and why it’s getting so much attention.
How some people test before they start coding.
How to install and invoke JUnit.
The major JUnit concepts that you need to understand.
What assertions are available in JUnit.
JUnit is a framework for unit tests. It consists of a handful of classes which you can use to build bunches of test cases for testing your application. JUnit also comes with three test ...