Re: Unit Testing Struts 2 Action

2009-01-17 Thread Dave Newton

Doug Pham wrote:
> [...] information on how to unit test my new application actions?

When you hit "reply" and change the subject this is what happens in 
threaded view:


http://tinypic.com/view.php?pic=n5mog5&s=5

Please consider starting new threads.

Dave


-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org



Re: Unit Testing Struts 2 Action

2009-01-17 Thread Robert Harrison
Here's  the
first step of a nice, three-part tutorial (I have no connection to author)

Bob

"Sure you can trust the government.  Just ask any Indian" - anonymous



On Sat, Jan 17, 2009 at 6:21 AM, Nils-Helge Garli Hegvik
wrote:

> One of the things I really like about Struts 2 is how easy it is to
> unit test actions. Using the proper mechanisms for injecting what you
> need, unit testing the action should be as simple as instantiating the
> action, set the appropriate dependencies, and then execute it.
>
> Nils-H
>
> On Sat, Jan 17, 2009 at 10:21 AM, Doug Pham  wrote:
> > Hi All,
> > I am putting together Struts 2, Hibernate & Sitemesh.  Where can I
> find information on how to unit test my new application actions?
> >
> > Thanks,
> > Doug
> >
> >
> >
> >
>
> -
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
>
>


Re: Unit Testing Struts 2 Action

2009-01-17 Thread Nils-Helge Garli Hegvik
One of the things I really like about Struts 2 is how easy it is to
unit test actions. Using the proper mechanisms for injecting what you
need, unit testing the action should be as simple as instantiating the
action, set the appropriate dependencies, and then execute it.

Nils-H

On Sat, Jan 17, 2009 at 10:21 AM, Doug Pham  wrote:
> Hi All,
> I am putting together Struts 2, Hibernate & Sitemesh.  Where can I find 
> information on how to unit test my new application actions?
>
> Thanks,
> Doug
>
>
>
>

-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org



Unit Testing Struts 2 Action

2009-01-17 Thread Doug Pham
Hi All,
    I am putting together Struts 2, Hibernate & Sitemesh.  Where can I find 
information on how to unit test my new application actions?

Thanks,
Doug