| 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
|
|
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
|
 |
 |
|
|
subject: which testing tool is more useful for struts testing?
|
|
|