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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





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



Reply via email to