Re: write a test which tests an interceptor

2010-01-14 Thread Greg Lindholm
I'm biased, but I think this one works pretty well, and I use it to test interceptors. > > http://glindholm.wordpress.com/2008/06/30/unit-testing-struts-2-actions > looks promising. > - To unsubscribe, e-mail: user-unsubscr...@st

write a test which tests an interceptor

2010-01-13 Thread Michael Finney
Hi, I wish to write a test which tests an interceptor. The goal is writing an integration test which hits the struts2 2.1.6 application and mocks out the database DAO (data access object). I'm using JUnit. The interceptor changes the HTTP Response headers. I am testing that and indirectl