Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Anyone used StrutsTestCase

 
Archana Annamaneni
Ranch Hand
Posts: 147
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.

Thanks
Archana
 
Carl Jenkins
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic