struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yee, Richard K,,DMDCWEST" <>
Subject RE: Using Catus versus using StrutsTestcase
Date Tue, 03 Feb 2004 18:18:39 GMT
StrutsTestCase, as the name implies, has specific classes and methods for
testing struts applications. It is good for testing actionForwards,
validation errors, and ActionForm submissions with struts. It only does out
of container testing however.
Cactus is used for in-container testing of servlets, JSP's, JSP TagLibs,
filters and EJBs. It does not have the classes that enable Struts-specific
features to be exercised. Basically for a JSP you set up a HTTP request with
input parameters and then are able to check the response object and the
content. You can also check the presence of cookies and session data.



-----Original Message-----
From: Al Rathon [] 
Sent: Monday, February 02, 2004 2:50 PM
Subject: Using Catus versus using StrutsTestcase

I want to write unit tests for testing the struts
portion of a web-app.I am not sure whether I should be
using Cactus or StrutsTestCase. What are the factors
that I should consider while choosing one application
over the other?


Do you Yahoo!?
Yahoo! SiteBuilder - Free web site building tool. Try it!

To unsubscribe, e-mail:
For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message