tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jon Wingfield <jon.wingfi...@mkodo.com>
Subject Re: Unit Testing
Date Wed, 06 Aug 2003 18:36:04 GMT
You could have a look at the MockObjects project on sourceforge.
http://mockobjects.sourceforge.net
http://mockobjects.sourceforge.net/javadoc/1.4/

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.

Enjoy,

Jon

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: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> 




Mime
View raw message