Greg:

   I wish I had found your code earlier.    I made  a minor change as the
createActionProxy method signature your code used has been deprecated.  I
added your code and a test case that uses it to my example application (see:  
http://tinyurl.com/nw4jve http://tinyurl.com/nw4jve  ).  

   Thanks for the work you've done on unit testing Struts 2 Action classes.

Bruce

I've written up this article [1] on how to unit test actions in the full
Struts 2 context with the Interceptor stack and validations.

[1] http://glindholm.wordpress.com/2008/06/30/unit-testing-struts-2-actions/



-- 
View this message in context: 
http://www.nabble.com/how-do-you-test-your-action-classes--tp25289507p25297970.html
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to