have you heard about mock objects (http://jmock.codehaus.org,
http://easymock.org) ?

On 5/3/05, WHIRLYCOTT <[EMAIL PROTECTED]> wrote:
> I'm wondering if somone has any creative ideas here.  I'm working on a
> project that gets javax.sql.DataSource instances via Tomcat's JNDI
> provider.  This works fine, except when we are developing code and need
> to run Junit tests.
> 
> Because the tests need to run outside Tomcat, getting access to a
> DataSource via JNDI becomes a pain in the neck.
> 
> I'm assuming that this is a very common situation and I'm wondering if
> anybody has slick tricks for your dev environments that allow you do get
> DataSource objects via JNDI...?
> 
> phil.
> 
> --
>                                    Whirlycott
>                                    Philip Jacob
>                                    [EMAIL PROTECTED]
>                                    http://www.whirlycott.com/phil/
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


-- 
best regards,
Michal

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to