This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Testing and the fly likes Anyone used StrutsTestCase Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Engineering » Testing
Bookmark "Anyone used StrutsTestCase " Watch "Anyone used StrutsTestCase " New topic

Anyone used StrutsTestCase

Archana Annamaneni
Ranch Hand

Joined: Jan 29, 2003
Posts: 147
I am using the StrutsTestCase frame work to Struts Action classes.

I am having trouble understanding how exactly actionPerform() works , I have some System.out.println() statements in execute() method , they doesn't seem to be processed.

I really need to understand to continue write more testcases.

Carl Jenkins
Ranch Hand

Joined: Feb 19, 2006
Posts: 39
HI -

I am just learning this framework also, but actionPerform() is simply a hook into the StrutsTestCase/Cactus framework that calls you actions execution method.
you need to use cactus in conjunction with strutstestcase ( I do believe)
Like a say I am just learning so hope I helped.
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: Anyone used StrutsTestCase
It's not a secret anymore!