I have not read your post in detail but have a quick question about unit testing with struts2. lets say I have lot of DAO classes each with multiple methods each running a stored procedure.
using your article information and Junit plugin if I write a unit case for each of them (methods in DAO classes) how will it behave? I mean Will I be able to just run the application (see index page) and during that time all the unit cases will be ran? I want to avoid going to each jsp page, clicking some link that triggers the call to the DAO method. On Wed, Oct 14, 2009 at 12:53 PM, Phillips, Bruce A <bphill...@ku.edu>wrote: > > see: > http://www.brucephillips.name/blog/index.cfm/2009/9/5/Unit-Testing-A-Struts-2-Action-Class--Struts-2-JUnit-Plugin > > Bruce > > -----Original Message----- > From: Dan R. Olsen III [mailto:danec...@gmail.com] > Sent: Tue 10/13/2009 5:04 PM > To: user@struts.apache.org > Subject: Unit Testing in Struts 2.1.6 > > I have gone to the page found at > http://struts.apache.org/2.1.6/docs/how-can-we-test-actions.html. > However, the code on that page is not possible with Struts 2.1.6 > although it is found in the docs for Struts 2.1.6. How can we get this > page updated to show how to test actions in Struts 2.1.6 so I can have a > better idea of how I would test my actions in my own apps? > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > >