This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes JSP and the fly likes Unit Testing JSP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "Unit Testing JSP" Watch "Unit Testing JSP" New topic
Author

Unit Testing JSP

Ali Gohar
Ranch Hand

Joined: Mar 18, 2004
Posts: 572
Hi All,
Can anybody tell any good tutorial or any example on unit testing JSP using Cactus and JUnit. I will be greatful if u will provide me with an example or any link on internet. Please reply as soon as possible.
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 30075
    
149

Ali,
The cactus site has a good tutorial on how to do this.
If you are interested in buying a book, "Junit in Action" is excellent. There are many examples of how to use cactus to test different types of things. (servlet, filter, database, ...)


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Unit Testing JSP
 
Similar Threads
Is there any Unit testing framework for Andriod Code ?
Java Testing- how is different from any other testing
How to unit test web application
unit testing JSP's and servlets: HttpUnit? Cactus?
what is a test case?