struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bhaarat Sharma <>
Subject Re: Unit Testing in Struts 2.1.6
Date Wed, 14 Oct 2009 20:45:59 GMT
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 <>wrote:

> see:
> Bruce
> -----Original Message-----
> From: Dan R. Olsen III []
> Sent: Tue 10/13/2009 5:04 PM
> To:
> Subject: Unit Testing in Struts 2.1.6
> I have gone to the page found at
> 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:
> For additional commands, e-mail:

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