This article will introduce you to JUnit, a tool for testing and debugging in the project. After introducing TDD (in test drive development) theory, further explain how to build your own JUnit test in popular Eclipse. To you show you how to test the simple program like Hello World.
Full text reading:
Establish your own JUnit test in Eclipse