Can anyone suggest me the approach for testing the JSP,Java classes using UNIT testing?
Please do give me some examples for the same.
Joined: Dec 16, 2003
You should try to use HttpUnit. It works perfectly for me, better than HtmlUnit for what I need it.
Try to get hold of the book "Junit Recipes" it gives very good hints for unit testing for a broad range of scenarios.
"Eppur si muove!"
Joined: Jul 11, 2001
Put as few logic into JSP's as possible. Delegate to POJOs or custom tags.
The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus