Return-Path: Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 11142 invoked from network); 6 Aug 2003 18:35:50 -0000 Received: from unknown (HELO maingate.mkodo.com) (217.158.103.214) by daedalus.apache.org with SMTP; 6 Aug 2003 18:35:50 -0000 Received: from smtp.uk1.mkodo.com (smtp.uk1.mkodo.com [192.168.11.233]) by maingate.mkodo.com (8.11.2/8.11.2) with ESMTP id h76IeXD03006 for ; Wed, 6 Aug 2003 19:40:33 +0100 Received: from mkodo.com (jjwlaptop.uk1.mkodo.com [192.168.11.239]) by smtp.uk1.mkodo.com (8.12.8/8.12.8) with ESMTP id h76IanOj003997 for ; Wed, 6 Aug 2003 19:36:54 +0100 Message-ID: <3F314A94.5030702@mkodo.com> Date: Wed, 06 Aug 2003 19:36:04 +0100 From: Jon Wingfield User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Tomcat Users List Subject: Re: Unit Testing References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N 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 >