RE: Re: [SHALE] Using the Test Framework

2006-02-22 Thread CONNER, BRENDAN \(SBCSI\)
OK, thanks. I'll look at that. - Brendan -Original Message- From: Gary VanMatre [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 22, 2006 4:55 PM To: Struts Users Mailing List Subject: RE: Re: [SHALE] Using the Test Framework >From: "CONNER, BRENDAN (SBCSI)"

RE: Re: [SHALE] Using the Test Framework

2006-02-22 Thread Gary VanMatre
>From: "CONNER, BRENDAN (SBCSI)" <[EMAIL PROTECTED]> > > If you are using the shale test framework with simple junit tests, the > test framework doesn't digest your faces-confg.xml anyway. You have to > do that kind of setup in the test cases. > > The isolated code you want to test in the mana

RE: Re: [SHALE] Using the Test Framework

2006-02-22 Thread CONNER, BRENDAN \(SBCSI\)
If you are using the shale test framework with simple junit tests, the test framework doesn't digest your faces-confg.xml anyway. You have to do that kind of setup in the test cases. The isolated code you want to test in the managed beans would just use a indirect reference (the managed bean name

RE: Re: [SHALE] Using the Test Framework

2006-02-22 Thread Gary VanMatre
age- > From: Gary VanMatre [mailto:[EMAIL PROTECTED] > Sent: Wednesday, February 22, 2006 3:37 PM > To: Struts Users Mailing List > Subject: RE: Re: [SHALE] Using the Test Framework > > > >From: "CONNER, BRENDAN (SBCSI)" > > > > Are you sayin

RE: Re: [SHALE] Using the Test Framework

2006-02-22 Thread CONNER, BRENDAN \(SBCSI\)
Sorry, ignore that last paragraph. ;-) - Brendan -Original Message- From: CONNER, BRENDAN (SBCSI) Sent: Wednesday, February 22, 2006 3:47 PM To: Struts Users Mailing List Subject: RE: Re: [SHALE] Using the Test Framework Well, the thing that's nice about my approach is that al

RE: Re: [SHALE] Using the Test Framework

2006-02-22 Thread CONNER, BRENDAN \(SBCSI\)
3:37 PM To: Struts Users Mailing List Subject: RE: Re: [SHALE] Using the Test Framework >From: "CONNER, BRENDAN (SBCSI)" <[EMAIL PROTECTED]> > > Are you saying I should register my delegates as JSF managed beans? > Sure, why not? The faces IoC container is not spri

RE: Re: [SHALE] Using the Test Framework

2006-02-22 Thread Gary VanMatre
: Struts Users Mailing List > Subject: RE: Re: [SHALE] Using the Test Framework > > > >From: "CONNER, BRENDAN (SBCSI)" > > > > In case anyone else was in the same boat I was in trying to run the > Shale Test > > Framework "in isolation&quo

RE: Re: [SHALE] Using the Test Framework

2006-02-22 Thread CONNER, BRENDAN \(SBCSI\)
Are you saying I should register my delegates as JSF managed beans? - Brendan -Original Message- From: Gary VanMatre [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 22, 2006 2:49 PM To: Struts Users Mailing List Subject: RE: Re: [SHALE] Using the Test Framework >From: &quo

RE: Re: [SHALE] Using the Test Framework

2006-02-22 Thread Gary VanMatre
: Re: [SHALE] Using the Test Framework > > > Hi > > Easy: Spring. It's all done with configuration. In a no "EJB container > available" setting, you configure spring to return a different service than > when you have EJB container available. > > > He

RE: Re: [SHALE] Using the Test Framework

2006-02-22 Thread CONNER, BRENDAN \(SBCSI\)
--Opprinnelig melding- Fra: CONNER, BRENDAN (SBCSI) [mailto:[EMAIL PROTECTED] Sendt: 16. februar 2006 22:08 Til: Struts Users Mailing List Emne: RE: Re: [SHALE] Using the Test Framework Sounds good. So how do you isolate your Web Layer from the EJB layer during testing and then re-e

RE: Re: [SHALE] Using the Test Framework

2006-02-17 Thread CONNER, BRENDAN \(SBCSI\)
nal testing (browser-based) tools to test maintenance changes. - Brendan -Original Message- From: CONNER, BRENDAN (SBCSI) Sent: Thursday, February 16, 2006 3:37 PM To: Struts Users Mailing List Subject: RE: Re: [SHALE] Using the Test Framework Cool. Actually, all joking aside, I'

RE: Re: [SHALE] Using the Test Framework

2006-02-16 Thread CONNER, BRENDAN \(SBCSI\)
the Test Framework I'm just telling you what I find easier. > -Original Message- > From: CONNER, BRENDAN (SBCSI) [mailto:[EMAIL PROTECTED] > Sent: Thursday, February 16, 2006 4:51 PM > To: Struts Users Mailing List > Subject: RE: Re: [SHALE] Using the Test Framework &g

RE: Re: [SHALE] Using the Test Framework

2006-02-16 Thread George.Dinwiddie
I'm just telling you what I find easier. > -Original Message- > From: CONNER, BRENDAN (SBCSI) [mailto:[EMAIL PROTECTED] > Sent: Thursday, February 16, 2006 4:51 PM > To: Struts Users Mailing List > Subject: RE: Re: [SHALE] Using the Test Framework > > > A

RE: Re: [SHALE] Using the Test Framework

2006-02-16 Thread CONNER, BRENDAN \(SBCSI\)
user@struts.apache.org Subject: RE: Re: [SHALE] Using the Test Framework CONNER, BRENDAN wrote: > I understand the concept; I'm just worried about the amount > of effort required to mock up all those calls, relative to > the complexity of my Action methods themselves. One nice > thing about

RE: Re: [SHALE] Using the Test Framework

2006-02-16 Thread George.Dinwiddie
CONNER, BRENDAN wrote: > I understand the concept; I'm just worried about the amount > of effort required to mock up all those calls, relative to > the complexity of my Action methods themselves. One nice > thing about using JSF is that our Action methods themselves > are almost ridiculously s

RE: Re: [SHALE] Using the Test Framework

2006-02-16 Thread CONNER, BRENDAN \(SBCSI\)
Hi If you have not looked at Spring before: Boy do you have something in store for you. Hermod -Opprinnelig melding- Fra: CONNER, BRENDAN (SBCSI) [mailto:[EMAIL PROTECTED] Sendt: 16. februar 2006 22:31 Til: Struts Users Mailing List Emne: RE: Re: [SHALE] Using the Test Framework Sigh. OK,

RE: Re: [SHALE] Using the Test Framework

2006-02-16 Thread CONNER, BRENDAN \(SBCSI\)
elig melding- Fra: CONNER, BRENDAN (SBCSI) [mailto:[EMAIL PROTECTED] Sendt: 16. februar 2006 22:08 Til: Struts Users Mailing List Emne: RE: Re: [SHALE] Using the Test Framework Sounds good. So how do you isolate your Web Layer from the EJB layer during testing and then re-establish the

RE: Re: [SHALE] Using the Test Framework

2006-02-16 Thread CONNER, BRENDAN \(SBCSI\)
(SBCSI) Sent: Thursday, February 16, 2006 3:08 PM To: Struts Users Mailing List Subject: RE: Re: [SHALE] Using the Test Framework Sounds good. So how do you isolate your Web Layer from the EJB layer during testing and then re-establish the linkage during deployment in your environment? - Brendan

RE: Re: [SHALE] Using the Test Framework

2006-02-16 Thread CONNER, BRENDAN \(SBCSI\)
ra: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] På vegne av Craig McClanahan Sendt: 16. februar 2006 20:18 Til: Struts Users Mailing List Emne: Re: Re: [SHALE] Using the Test Framework On 2/16/06, Gary VanMatre <[EMAIL PROTECTED]> wrote: > > > >From: "CONNER, BRENDAN (SBCSI

RE: Re: [SHALE] Using the Test Framework

2006-02-16 Thread CONNER, BRENDAN \(SBCSI\)
[EMAIL PROTECTED] On Behalf Of Craig McClanahan Sent: Thursday, February 16, 2006 1:18 PM To: Struts Users Mailing List Subject: Re: Re: [SHALE] Using the Test Framework On 2/16/06, Gary VanMatre <[EMAIL PROTECTED]> wrote: > > > >From: "CONNER, BRENDAN (SBCSI)" <[EMAIL PRO

Re: Re: [SHALE] Using the Test Framework

2006-02-16 Thread Craig McClanahan
On 2/16/06, Gary VanMatre <[EMAIL PROTECTED]> wrote: > > > >From: "CONNER, BRENDAN (SBCSI)" <[EMAIL PROTECTED]> > > > > OK, I'll look at that. But, out of curiosity, how is the Shale Test > > Framework being used by people now? Is it being used mostly for > > non-3-tier applications? What is the ex

RE: Re: [SHALE] Using the Test Framework

2006-02-16 Thread Gary VanMatre
; > - Brendan > > -Original Message- > From: Gary VanMatre [mailto:[EMAIL PROTECTED] > Sent: Thursday, February 16, 2006 11:31 AM > To: Struts Users Mailing List > Subject: RE: Re: [SHALE] Using the Test Framework > > > >From: "CONNER, BREND

RE: Re: [SHALE] Using the Test Framework

2006-02-16 Thread CONNER, BRENDAN \(SBCSI\)
s, because then there would be no need for JSF support.) Thanks, - Brendan -Original Message- From: Gary VanMatre [mailto:[EMAIL PROTECTED] Sent: Thursday, February 16, 2006 11:31 AM To: Struts Users Mailing List Subject: RE: Re: [SHALE] Using the Test Framework >From: "CONN

RE: Re: [SHALE] Using the Test Framework

2006-02-16 Thread Gary VanMatre
>From: "CONNER, BRENDAN (SBCSI)" <[EMAIL PROTECTED]> > > Thanks for the info. I'm definitely interested in simplifying my > testing strategy to the extent that it's possible, so any suggestions > are welcome. In particular I'm trying to avoid having different > versions of my delegates (one ver

RE: Re: [SHALE] Using the Test Framework

2006-02-16 Thread CONNER, BRENDAN \(SBCSI\)
Thanks for the info. I'm definitely interested in simplifying my testing strategy to the extent that it's possible, so any suggestions are welcome. In particular I'm trying to avoid having different versions of my delegates (one version that returns a dummy result and another that actually makes