struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Greg Lindholm <glindh...@yahoo.com>
Subject Unit Testing Struts 2 Actions
Date Mon, 30 Jun 2008 20:12:01 GMT
I've spent a lot of time in the debugger over the last few days trying to figure out how to
unit test struts 2 actions with the Interceptor stack so that validation and results configuration
etc. were also tested.

I wrote a unit test helper class and posted it and a description here Unit Testing Struts
2 Actions [1] hopefully others will find this helpful.

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




      
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message