File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Struts and the fly likes Difererence between CactusStrutsTestCase and mockStrutsTestCase Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Difererence between CactusStrutsTestCase and mockStrutsTestCase" Watch "Difererence between CactusStrutsTestCase and mockStrutsTestCase" New topic

Difererence between CactusStrutsTestCase and mockStrutsTestCase

thomas davis
Ranch Hand

Joined: Feb 01, 2003
Posts: 207
Could somebody to help me out to understand the difference between CactusStrutsTestCase and mockStrutsTestCase which are being used for JUNIT Test Cases?
Merrill Higginson
Ranch Hand

Joined: Feb 15, 2005
Posts: 4864
The main difference is that CactusStrutsTestCase requires Jakarta Cactus to run, and runs within that framework, whereas MockStrutsTestCase can run without Cactus.

Consultant, Sima Solutions
I agree. Here's the link:
subject: Difererence between CactusStrutsTestCase and mockStrutsTestCase
Similar Threads
Testing Struts using MockStrutsTestCase
CactusStrutsTestCase and mockStrutsTestCase
Run junit CactusStrutsTestCase with Tomcat
can we write test classes(test cases)for action class that extend DispatchAction
How do I set value in my test case method for testing Action Class?