tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jon Wingfield <>
Subject Re: Unit Testing
Date Wed, 06 Aug 2003 18:36:04 GMT
You could have a look at the MockObjects project on sourceforge.

All our servlets, filters, DAO code etc are tested using Mocks :)
It's great not needing a db or remote connection or even a servlet 
container when running the tests.



Hookom, Jacob wrote:

> We are looking to do unit testing of our DAO components that currently
> leverage DataSource lookup via Java Naming.
> Are there UnitTests already out there that would give me that JNDI
> environment to test our code in?  I know Cactus provides testing of
> Servlets, etc, but does that also provide me with duplicate JNDI lookup?
> Many Thanks,
> Jacob
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

View raw message