Return-Path: Delivered-To: apmail-xml-cocoon-users-archive@xml.apache.org Received: (qmail 1610 invoked by uid 500); 11 Dec 2002 19:54:52 -0000 Mailing-List: contact cocoon-users-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: cocoon-users@xml.apache.org Delivered-To: mailing list cocoon-users@xml.apache.org Delivered-To: moderator for cocoon-users@xml.apache.org Received: (qmail 71777 invoked from network); 11 Dec 2002 08:23:35 -0000 Message-ID: <20021211082347.86232.qmail@web21508.mail.yahoo.com> Date: Wed, 11 Dec 2002 08:23:47 +0000 (GMT) From: =?iso-8859-1?q?Charlene=20Mitchell?= Subject: Re: Unit Test Cocoon To: cocoon-users@xml.apache.org In-Reply-To: <1039554676.803.4.camel@macbeth> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hi, Could you possibly send me some code snippets to get me started? I'm looking for the Excalibur test components but haven't found them yet. :-( Still lokking mind! Charlene --- Kevin O'Neill wrote: > On Tue, 2002-12-10 at 19:40, Charlene Mitchell > wrote: > > Hi, > > > > Does anyone successfully use JUnit and/or Cactus > to > > Unit Test Cocoon actions/generators etc ? > > > > I have my own generators and actions but I'm not > sure > > how to call them from JUnit, how to pass in what > they > > would normally expect to receive. > > e.g. an action receives > > public Map act(Redirector redirector, > SourceResolver > > resolver, Map objectModel, String source, > Parameters > > params) > > Have a look at the Excalubur test components. I'm > using them as the > basis for my action and generator tests. > > > Thanks (hopefully) in advance for any tips/info > > > > Charlene > > > > PS - the CVS test cases didn't shed any extra > light > > > > __________________________________________________ > > Do You Yahoo!? > > Everything you'll ever need on one web page > > from News and Sport to Email and Music Charts > > http://uk.my.yahoo.com > > > > > --------------------------------------------------------------------- > > Please check that your question has not already > been answered in the > > FAQ before posting. > > > > > To unsubscribe, e-mail: > > > For additional commands, e-mail: > > -- > If you don't test then your code is only a > collection of bugs which > apparently behave like a working program. > > Website: http://www.rocketred.com.au/blogs/kevin/ > > > --------------------------------------------------------------------- > Please check that your question has not already > been answered in the > FAQ before posting. > > > To unsubscribe, e-mail: > > For additional commands, e-mail: > > __________________________________________________ Do You Yahoo!? Everything you'll ever need on one web page from News and Sport to Email and Music Charts http://uk.my.yahoo.com --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. To unsubscribe, e-mail: For additional commands, e-mail: