I would like to learn about your experience on using the tools for writing unittest for web components.
What would be your suggestion for doing unit testing of web components for applications written using Struts 1 (running on WebSphere 5.1) and Struts 2 (running on WebSphere 6.1)?
There are a lot of choices for this. The names that stand out are:
2. Spring's mock implementation for each key web interface e.g., MockHttpServletRequest, MockHttpServlet, MockHttpSession etc.
6. AppPerfect's free version that extends on JUnit and HttpUnit to create web based unit tests. http://www.appperfect.com/products/ut.pdf
My favorite is jWebUnit. It sits on top of HtmlUnit and gives it an easier-to-use (i.e., less code to write) and more powerful API.
Also check out Selenium. It can be used to create tests that can then be run either standalone, or from within jWebUnit. It's a very powerful tool.
Ping & DNS - updated with new look and Ping home screen widget