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
SF test framework in your test cases (design with more spring :-). Gary > - Brendan > > -Original Message----- > From: Hermod Opstvedt [mailto:[EMAIL PROTECTED] > Sent: Thursday, February 16, 2006 3:22 PM > To: 'Struts Users Mailing List' > Subject: SV

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\)
Cool. Actually, all joking aside, I'm anxious to learn about it. - Brendan -Original Message- From: Hermod Opstvedt [mailto:[EMAIL PROTECTED] Sent: Thursday, February 16, 2006 3:35 PM To: 'Struts Users Mailing List' Subject: SV: Re: [SHALE] Using the Test Framework

SV: Re: [SHALE] Using the Test Framework

2006-02-16 Thread Hermod Opstvedt
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

RE: Re: [SHALE] Using the Test Framework

2006-02-16 Thread CONNER, BRENDAN \(SBCSI\)
Mailing List' Subject: SV: 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. Hermod -Opprinn

SV: Re: [SHALE] Using the Test Framework

2006-02-16 Thread Hermod Opstvedt
TED] 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 linkage during deployment in your environment? - Brendan -Original Me

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\)
: 'Struts Users Mailing List' Subject: SV: Re: [SHALE] Using the Test Framework Hi I totally agree with Craig. There is a huge difference between Unit testing and Integration testing. We do both, using different tooling for the different test types. Hermod -Opprinnelig melding- F

SV: Re: [SHALE] Using the Test Framework

2006-02-16 Thread Hermod Opstvedt
: 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)" <[EMAIL PROTECTED]> > > > > OK, I'll look at

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: [SHALE] Using the Test Framework

2006-02-16 Thread George.Dinwiddie
CONNER, BRENDAN (SBCSI) asked: > Sent: Thursday, February 16, 2006 1:08 PM > To: Struts Users Mailing List > Subject: RE: [SHALE] Using the Test Framework > > > OK, so maybe I have to learn more about the injection > process. For all this talk about simplifying the process

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: [SHALE] Using the Test Framework

2006-02-16 Thread CONNER, BRENDAN \(SBCSI\)
ubject: RE: [SHALE] Using the Test Framework CONNER, BRENDAN replied: > So are you agreeing that there is currently no framework that > can currently do round-trip testing as I've described it? Or > am I missing something? No, but I'm saying that you'll likely find it me

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: [SHALE] Using the Test Framework

2006-02-16 Thread George.Dinwiddie
eate using the real thing. - George > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] > Sent: Thursday, February 16, 2006 8:57 AM > To: user@struts.apache.org > Subject: RE: [SHALE] Using the Test Framework > > > What Cactus does i

RE: Re: [SHALE] Using the Test Framework

2006-02-16 Thread Gary VanMatre
You might look at junitee (www.junitee.org). It allows you two run junit test cases under the web container where you would have the JNDI stuff. > - Brendan > > -Original Message- > From: news [mailto:[EMAIL PROTECTED] On Behalf Of Laurie Harper > Sent: Thursday, Febr

RE: Re: [SHALE] Using the Test Framework

2006-02-16 Thread CONNER, BRENDAN \(SBCSI\)
o: user@struts.apache.org Subject: Re: [SHALE] Using the Test Framework Brendan, I think the upshot of all this is that you *may* be able to use the Shale test framework to mock out the JSF side of things, but run the resulting tests using Cactus so you still get the container functionality yo

Re: [SHALE] Using the Test Framework

2006-02-16 Thread Laurie Harper
r code from the Action method once those delegates have been filled in and are no longer stubs. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, February 16, 2006 8:57 AM To: user@struts.apache.org Subject: RE: [SHALE] Using the Test Framework What Cactus

RE: [SHALE] Using the Test Framework

2006-02-16 Thread CONNER, BRENDAN \(SBCSI\)
test our code from the Action method once those delegates have been filled in and are no longer stubs. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, February 16, 2006 8:57 AM To: user@struts.apache.org Subject: RE: [SHALE] Using the Test Framework

RE: [SHALE] Using the Test Framework

2006-02-16 Thread George.Dinwiddie
dnesday, February 15, 2006 5:55 PM > To: Struts Users Mailing List > Subject: RE: [SHALE] Using the Test Framework > > > I think Cactus works OK with JNDI lookups, etc., since it's > just a Servlet. However, I think it falls apart when trying > to reference stuff like Fac

SV: [SHALE] Using the Test Framework

2006-02-15 Thread Hermod Opstvedt
: [SHALE] Using the Test Framework On 2/15/06, CONNER, BRENDAN (SBCSI) <[EMAIL PROTECTED]> wrote: > > But let's say my test executes an action method on my application's > managed bean. That method uses the mock objects and then tries to call > a Session Bean to do a loo

RE: [SHALE] Using the Test Framework

2006-02-15 Thread CONNER, BRENDAN \(SBCSI\)
Users Mailing List Subject: Re: [SHALE] Using the Test Framework On 2/15/06, CONNER, BRENDAN (SBCSI) <[EMAIL PROTECTED]> wrote: > > But let's say my test executes an action method on my application's > managed bean. That method uses the mock objects and then tries to call &

Re: [SHALE] Using the Test Framework

2006-02-15 Thread Craig McClanahan
hould be possible to use Cactus for that kind of testing, but I've never looked how Cactus deals with JNDI lookups or session beans. - Brendan Craig -Original Message- > From: Gary VanMatre [mailto:[EMAIL PROTECTED] > Sent: Tuesday, February 14, 2006 2:22 PM > To: Struts Us

RE: [SHALE] Using the Test Framework

2006-02-15 Thread CONNER, BRENDAN \(SBCSI\)
2006 2:22 PM To: Struts Users Mailing List Subject: RE: [SHALE] Using the Test Framework >From: "CONNER, BRENDAN (SBCSI)" <[EMAIL PROTECTED]> > > OK, sorry for being a little dense about this, but, if, for example, my > application code is referencing a FacesContext o

Re: [SHALE] Using the Test Framework

2006-02-14 Thread Craig McClanahan
On 2/14/06, Gary VanMatre <[EMAIL PROTECTED]> wrote: > > >From: "CONNER, BRENDAN (SBCSI)" <[EMAIL PROTECTED]> > > > > OK. We're working with IBM's RSA IDE (which uses Eclipse underneath). > > I'm just trying to fit into my mind how to organize the two root source > > directories in that environment

RE: [SHALE] Using the Test Framework

2006-02-14 Thread Gary VanMatre
>From: "CONNER, BRENDAN (SBCSI)" <[EMAIL PROTECTED]> > > OK, sorry for being a little dense about this, but, if, for example, my > application code is referencing a FacesContext object, and my Test code > initializes MockFacesContext, what is the mechanism that makes my > application use the va

RE: [SHALE] Using the Test Framework

2006-02-14 Thread CONNER, BRENDAN \(SBCSI\)
ry 14, 2006 11:55 AM To: Struts Users Mailing List Subject: RE: [SHALE] Using the Test Framework >From: "CONNER, BRENDAN (SBCSI)" <[EMAIL PROTECTED]> > > Maybe I'm misunderstanding the problem that the Shale Test Framework is > trying to solve. My JSF actions are doi

RE: [SHALE] Using the Test Framework

2006-02-14 Thread Gary VanMatre
>From: "CONNER, BRENDAN (SBCSI)" <[EMAIL PROTECTED]> > > Maybe I'm misunderstanding the problem that the Shale Test Framework is > trying to solve. My JSF actions are doing JNDI lookups and calling > Session Beans, based upon the values in JSF managed beans and maybe some > JSFContext info. If

RE: [SHALE] Using the Test Framework

2006-02-14 Thread CONNER, BRENDAN \(SBCSI\)
t: RE: [SHALE] Using the Test Framework >From: "CONNER, BRENDAN (SBCSI)" <[EMAIL PROTECTED]> > > OK, I'm going through the section in the PDF document ("Shale Framework > v.1.0.1-SNAPSHOT Project Documentation") on the Test Framework. In that > sect

RE: [SHALE] Using the Test Framework

2006-02-14 Thread Gary VanMatre
> - Brendan > > -Original Message----- > From: Gary VanMatre [mailto:[EMAIL PROTECTED] > Sent: Tuesday, February 14, 2006 10:42 AM > To: Struts Users Mailing List > Subject: RE: [SHALE] Using the Test Framework > > > >From: "CONNER, BRENDAN (SBC

RE: [SHALE] Using the Test Framework

2006-02-14 Thread CONNER, BRENDAN \(SBCSI\)
ary VanMatre [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 14, 2006 10:42 AM To: Struts Users Mailing List Subject: RE: [SHALE] Using the Test Framework >From: "CONNER, BRENDAN (SBCSI)" <[EMAIL PROTECTED]> > > OK, I'm going through the section in the PDF docu

RE: [SHALE] Using the Test Framework

2006-02-14 Thread Gary VanMatre
TECTED] On Behalf Of Craig > McClanahan > Sent: Friday, February 10, 2006 5:43 PM > To: Struts Users Mailing List > Subject: Re: [SHALE] Using the Test Framework > > > On 2/10/06, Craig McClanahan wrote: > > > > The only classes in shale-test.jar that depen

RE: [SHALE] Using the Test Framework

2006-02-14 Thread CONNER, BRENDAN \(SBCSI\)
D] On Behalf Of Craig McClanahan Sent: Friday, February 10, 2006 5:43 PM To: Struts Users Mailing List Subject: Re: [SHALE] Using the Test Framework On 2/10/06, Craig McClanahan <[EMAIL PROTECTED]> wrote: > > The only classes in shale-test.jar that depend on the rest of Shale is the &g

Re: [SHALE] Using the Test Framework

2006-02-10 Thread Craig McClanahan
On 2/10/06, Craig McClanahan <[EMAIL PROTECTED]> wrote: > > The only classes in shale-test.jar that depend on the rest of Shale is the > convenience base classes in the org.apache.shale.test.base package. The > mock object classes have no dependencies on Shale, so you're welcome to use > them to

Re: [SHALE] Using the Test Framework

2006-02-10 Thread Wendy Smoak
On 2/10/06, CONNER, BRENDAN (SBCSI) <[EMAIL PROTECTED]> wrote: > Thanks, Wendy. So where do I look for the weekly Maven repositories? > The Shale PDF document mentions these, but it only gives a url for the > nightly builds, not for a Maven repository. > > I'm new to Maven as well (unfortunately)

RE: [SHALE] Using the Test Framework

2006-02-10 Thread CONNER, BRENDAN \(SBCSI\)
ALE] Using the Test Framework On 2/10/06, CONNER, BRENDAN (SBCSI) <[EMAIL PROTECTED]> wrote: > Also, I noticed links to nightly downloads on the Shale project's web > site, but I was not able to locate any "release" downloads. Are there > "release" downloads

Re: [SHALE] Using the Test Framework

2006-02-10 Thread Wendy Smoak
On 2/10/06, CONNER, BRENDAN (SBCSI) <[EMAIL PROTECTED]> wrote: > Also, I noticed links to nightly downloads on the Shale project's web > site, but I was not able to locate any "release" downloads. Are there > "release" downloads available? If so, are they relatively up-to-date, > or would I be b

Re: [SHALE] Using the Test Framework

2006-02-10 Thread Craig McClanahan
On 2/10/06, CONNER, BRENDAN (SBCSI) <[EMAIL PROTECTED]> wrote: > > I'm new to Shale, but I've been using JSF (and the MyFaces > implementation) for about 18 months now. I'm interested in utilizing > the Test Framework that Shale offers, but I'm unsure about how much that > framework depends upon t

[SHALE] Using the Test Framework

2006-02-10 Thread CONNER, BRENDAN \(SBCSI\)
I'm new to Shale, but I've been using JSF (and the MyFaces implementation) for about 18 months now. I'm interested in utilizing the Test Framework that Shale offers, but I'm unsure about how much that framework depends upon the rest of Shale. Can I use it in isolation with a vanilla JSF applicati