
Junit is new framework designed for Java to perform unit testing. It is an Open source framework. Junit is an instance of xUnit architecture(A architecture designed for unit testing ). It helps the developers in designing and writing test cases. Junit also have a Graphical User Interface which allows developers to write test case easily and quickly. Unit testing means a small block of code, i.e a class. This allows developers to perform testing with developments. They can develop a class and write test case for that class to check they are on their intended goal or some deviation on their path.
For more information, visit the following links:
http://www.roseindia.net/junit/
http://www.roseindia.net/struts/struts/struts2.2.1/junit.html