wood burning stoves 2.0*
The moose likes Testing and the fly likes which testing tool is more useful for struts testing? 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 » Engineering » Testing
Bookmark "which testing tool is more useful for struts testing?" Watch "which testing tool is more useful for struts testing?" New topic
Author

which testing tool is more useful for struts testing?

pravin rane
Greenhorn

Joined: Nov 07, 2005
Posts: 6
Hi all,
i am wondering about which test tool to use for testing struts application.
as i am not able to figure out which test tool is more useful (mocktesting, httpunit etc.) will you please suggest which test tool should i go for.
Lasse Koskela
author
Sheriff

Joined: Jan 23, 2002
Posts: 11962
    
    5
If you want to unit test your Struts Actions then Google for "StrutsTestCase" or use your favorite dynamic mock objects library (mine is EasyMock).

If you want to test your application as a black box, then go for HttpUnit or jWebUnit.


Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
manuel aldana
Ranch Hand

Joined: Dec 29, 2005
Posts: 308
yes you should go for StrutsTestCase. It allows you In-Container testing with cactus and for shorter iteration (and isolated) tests mock-testing.


aldana software engineering blog & .more
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: which testing tool is more useful for struts testing?
 
Similar Threads
Thoughts on test Tools
Testing Tools for Struts
testing automation - help
Webapp testing toolkits
Mercury Interactive's test tools