Return-Path: Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 4698 invoked by uid 500); 10 Jul 2003 18:04:28 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 4683 invoked from network); 10 Jul 2003 18:04:28 -0000 Received: from outbound-smtp02.firstam.com (HELO wsmailap02) (208.246.101.198) by daedalus.apache.org with SMTP; 10 Jul 2003 18:04:28 -0000 Received: from 172.21.131.5 by wsmailap02 with ESMTP (Tumbleweed MMS SMTP Relay (MMS v5.5.2)); Thu, 10 Jul 2003 11:04:24 -0700 Received: from fafid247 (h-68-166-0-91.SNDACAGL.covad.net [68.166.0.91]) by famarp01.firstam.com (Mirapoint Messaging Server MOS 3.3.5-GR) with ESMTP id BZS81342 (AUTH bkumler); Thu, 10 Jul 2003 11:04:16 -0700 (PDT) Reply-to: bkumler@firstam.com From: "Bret Kumler" To: "Ant Users List" Subject: RE: JFunc +ant Date: Thu, 10 Jul 2003 11:04:22 -0700 Message-ID: MIME-Version: 1.0 X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Importance: Normal In-Reply-To: <879A5AD5DD0ED511891F0003473A9B5608FF6BDB@Z011004> X-WSS-ID: 131375222763123-01-01 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N I won't need to extend BaseTest? Will I need to write something like JUnitTest for JFunc? (e.g. JFuncTest) I also need to write JFuncTestRunner? -----Original Message----- From: Jan.Materne@rzf.fin-nrw.de [mailto:Jan.Materne@rzf.fin-nrw.de] Sent: Wednesday, July 09, 2003 11:09 PM To: user@ant.apache.org Subject: RE: JFunc +ant Maybe write a new TestRunner. Extend the JFuncRunner and add the code from Ant�s JUnitTestRunner for handling the nested elements. Sorry, no better idea. Jan > -----Original Message----- > From: Bret Kumler [mailto:bkumler@firstam.com] > Sent: Thursday, July 10, 2003 1:18 AM > To: Ant Users List > Subject: RE: JFunc +ant > > > Here's the JFunc ANT target I added.. > > > fork="yes"> > > > > > > location="C:/Tools/jfunc1.1/lib/junit.jar" > /> > location="C:/Tools/jfunc1.1/lib/jcfe.jar" > /> > location="C:/Tools/jfunc1.1/lib/bcel.jar" > /> > location="C:/Tools/jfunc1.1/lib/jfunc.jar" /> > > > > > > I'm not sure how to use the > > > > > > > > > > > > > > for the output, any ideas on how to make it work???? > > > Thanks, > > Bret > > > -----Original Message----- > From: Jan.Materne@rzf.fin-nrw.de [mailto:Jan.Materne@rzf.fin-nrw.de] > Sent: Tuesday, July 08, 2003 10:18 PM > To: user@ant.apache.org > Subject: AW: JFunc +ant > > > > Not trying to get in to a JUnit vs some other tool battle here.... > > A right word :-) > > > > > Just wanted the same reporting mechanism which ANT provides > for JUnit. > > I took a little look into the source of Ant. Interesting part > would be the > taskdefs.optional.junit package. > JUnitTestRunner is the class for driving the tests. That > classname is hard > coded > in JUnitTask (the implementation), e.g. in > executeAsForked(...). > > The JUnitTestRunner will extract all the testcases from the > list of classes > (first > by a given suite() method secondary by the TestCase(Class) > constructor). > > The JUnitTestRunner implements the junit.framework.TestListener and is > therefore > the bridge to JUnit (as I see). > > For short: JUnitTestRunner > - collects the testcases > - runs each testcase and > - collects the output. > > The testcases run is done by its testXXX() method. > > > > So far with JUnit - but I don�t know JFunc. > > But if the JFunc testclasses extend the JUnit testclasses it > should work > without > any modification. > I think its worth to try . > > > > Jan > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org > For additional commands, e-mail: user-help@ant.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org