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)"
>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
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
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
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
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
: 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
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
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
--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
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'
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
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
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
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
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
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
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
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
(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
: '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
: 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
[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
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
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
;
> - 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
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
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
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
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
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
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
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
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
: [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
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
&
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
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
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
>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
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
>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
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
> - 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
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
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
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
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
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)
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
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
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
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
53 matches
Mail list logo