PROTECTED]
Sent: Friday, November 07, 2008 11:08 AM
To: Struts Users Mailing List
Subject: Re: Unit Testing Advice
Is this what you're looking for?
http://svn.opensymphony.com/svn/xwork/tags/xwork_2_0_6/
Nils-H
On Fri, Nov 7, 2008 at 12:02 PM, Gundersen, Richard
<[EMAIL PROTECTED]> w
---
> From: Gundersen, Richard [mailto:[EMAIL PROTECTED]
> Sent: Thursday, November 06, 2008 4:34 PM
> To: Struts Users Mailing List
> Subject: RE: Unit Testing Advice
>
> Hi
>
> I just have one smallish question: for some reason my
> messages.properties isn't bein
: Gundersen, Richard [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 06, 2008 4:34 PM
To: Struts Users Mailing List
Subject: RE: Unit Testing Advice
Hi
I just have one smallish question: for some reason my
messages.properties isn't being loaded. It's configured in struts.xml
...and I kn
Hi
I just have one smallish question: for some reason my
messages.properties isn't being loaded. It's configured in struts.xml
...and I know that file is generally working because all the other
Struts stuff is working. I'm getting this when my unit test runs (just
at the point when it tries to
TED]
Phone: 01618302398
Fax: 01618342536
London Scottish Bank plc
24 Mount Street
Manchester
M2 3LS
-Original Message-
From: Nils-Helge Garli Hegvik [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 06, 2008 1:05 PM
To: Struts Users Mailing List
Subject: Re: Unit Testing Advice
The complexity o
The complexity of the test setup often reflects how much of the
framework itself you involve in your tests. Usually, I try to avoid
mocking the context and http objects by implementing the *Aware
interfaces and simply injecting simple Map objects, testing the action
in isolation. I realize that thi
This is what I have so far. It works but I would appreciate a little
peer review (particularly regarding how I set up my session and the
logged in user)
Thanks!
@Resource
private CardPaymentAction cardPaymentAction;
ActionContext acti
Hi
Just after a bit of advice for the best way to unit test my Struts 2
app.
I'm using a fairly standard Spring/Struts2/JPA/Junit architecture, and
my tests need access to all my spring beans (which I'm doing using
@Resource tags)
The only sticking point is setting up all of the fake 'request' a
8 matches
Mail list logo