Here is a blog writeup of what I'm using. It allows you to test interceptors.

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


Mark-413 wrote:
> 
> Hi all:
> 
> Does anyone have a working example of unit testing a Struts 2 app?   
> I've been looking around for awhile know and found the following  
> resources.  However, I've not been able to get any of them to work.
> 
> http://depressedprogrammer.wordpress.com/2007/06/18/unit-testing- 
> struts-2-actions-spring-junit/
> http://www.soft-gems.net/index.php? 
> option=com_content&task=view&id=47&Itemid=33
> http://struts.apache.org/2.0.8/docs/how-can-we-test-actions.html
> 
> I'm using Struts 2.1.3 and want to test Interceptors and result  
> types, not just the Action POJO's.
> 
> Any help or resources are greatly appreciated!
> Mark
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Unit-Testing-Struts-2-tp19428146p19451533.html
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to