struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "CONNER, BRENDAN \(SBCSI\)" <bc1...@att.com>
Subject RE: Re: [SHALE] Using the Test Framework
Date Thu, 16 Feb 2006 17:51:45 GMT
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 extent of the problem space in
which it is useful?  (Obviously, it's not meant for stand-alone Java
J2SE applications, because then there would be no need for JSF support.)

Thanks,

- Brendan

-----Original Message-----
From: Gary VanMatre [mailto:gvanmatre@comcast.net] 
Sent: Thursday, February 16, 2006 11:31 AM
To: Struts Users Mailing List
Subject: RE: Re: [SHALE] Using the Test Framework


>From: "CONNER, BRENDAN (SBCSI)" <bc1378@att.com> 
>
> 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 the call to the Session Bean doing the 
> work), but I'm open to other ways of doing things. 
> 
> So how are people unit testing their JSF Action methods in a 3-tier 
> application using the Shale Test Framework? Are they actually keeping 
> around two different versions of their delegates to avoid having to do

> the JNDI lookups? I'm open to altering my approach to fit the tool, 
> provided I know what the recommended approach is. 
>

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. 

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


Mime
View raw message