my dog learned polymorphism*
The moose likes Testing and the fly likes Hi I wanted one quick Info Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Engineering » Testing
Bookmark "Hi I wanted one quick Info" Watch "Hi I wanted one quick Info" New topic

Hi I wanted one quick Info

Ashok Hottin

Joined: Dec 13, 2002
Posts: 1
Are there any framework like JUnit to do Unit Testing of UI components like JSPs ?If so please let me know at the earliest.
Thanks ,
Lasse Koskela

Joined: Jan 23, 2002
Posts: 11962
You can always test the output generated by JSPs using tools like HttpUnit, JWebUnit, or HtmlUnit. Then there are tools like TagUnit and Cactus which let you test JSP tag libraries (and output).

Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
It is sorta covered in the JavaRanch Style Guide.
subject: Hi I wanted one quick Info