You can take a look at this: http://glindholm.wordpress.com/2008/06/30/unit-testing-struts-2-actions/
I've used it to unit test actions all the way through interceptors, validation, actions, and results including freemarker result types. Timothy Astle wrote: > > I had tried using proxy.execute(), which will use Struts. Maybe that's > where I'm a bit lost. I don't implement execute() because of my CRUD > approach. > > Can someone point me to some appropriate struts 2 junit tests so I can > figure this out? > > -- View this message in context: http://www.nabble.com/Writing-a-unit-test-that-goes-through-result-types-tp22166625p22186937.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