Return-Path: Delivered-To: apmail-xml-cocoon-dev-archive@xml.apache.org Received: (qmail 95981 invoked by uid 500); 28 Mar 2002 13:18:08 -0000 Mailing-List: contact cocoon-dev-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: cocoon-dev@xml.apache.org Delivered-To: mailing list cocoon-dev@xml.apache.org Received: (qmail 95969 invoked from network); 28 Mar 2002 13:18:07 -0000 Date: Thu, 28 Mar 2002 13:17:14 +0000 Subject: Re: Testing Cocoon components Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v481) From: Stuart Roebuck To: cocoon-dev@xml.apache.org Content-Transfer-Encoding: 7bit In-Reply-To: <003001c1d5ab$a32f1420$ac00a8c0@Gabriel> Message-Id: <1EB18F34-424E-11D6-B689-0030654777A6@adolos.co.uk> X-Mailer: Apple Mail (2.481) X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N I've got a set of mock objects and utility classes that I use to test actions, generators and translators without using any configuration files or performing any actual database actions - a kind of 'lite' testing harness. But I wasn't aware of the Excalibur test harness - something I'll have to look into. I'm happy to through the code in your direction, but I'm not going to be able to give much by way of documentation at the moment. Stuart. On Wednesday, March 27, 2002, at 04:22 PM, Berin Loritsch wrote: > Excalibur has a test harness that will load the component into > a component manager with all your configurations, logging, etc. > available. > > Check out the stuff in > > org.apache.avalon.excalibur.testcase > >> -----Original Message----- >> From: Graaf, Edgar de (fin) [mailto:Edgar.de.Graaf@ordina.nl] >> Sent: Wednesday, March 27, 2002 10:26 AM >> To: Cocoon-Dev (E-mail) >> Subject: Testing Cocoon components >> >> >> If I want to unit test my actions and generators how can I test them? >> >> Thanks, >> >> Edgar Public Key - 1024D/88DD65AF 2001-11-23 Stuart Roebuck (Adolos) Key fingerprint = 89D9 E405 F8B1 9B22 0FA2 F2C1 9E57 5AB1 88DD 65AF ------------------------------------------------------------------------- Stuart Roebuck stuart.roebuck@adolos.com Systems Architect Java, XML, MacOS X, XP, etc. ADOLOS --------------------------------------------------------------------- To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org For additional commands, email: cocoon-dev-help@xml.apache.org