ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From St├ęphane Bailliez <sbaill...@imediation.com>
Subject Re: JUnit test.txt files
Date Fri, 05 Jan 2001 23:13:37 GMT
I committed a patch for this a couple of weeks ago.
It is available in the snapshots (1.3 dev) but not in Ant 1.2

In 1.2 a workaround would be to move all TEST-* files with the move task.

--
Stephane Bailliez, Paris - France


----- Original Message -----
From: <abonjour@Boldtech.com>
To: <ant-user@jakarta.apache.org>
Sent: Friday, January 05, 2001 10:34 PM
Subject: RE: JUnit test.txt files


> I apologize, I forgot to mention that I am trying to use the batchtest
tag.
> My question is: Can I specify the output directory of the test files
during
> a junit batchtest task?
>
> Here is the target from my build file:
>
>         <target name="test">
>            <junit printsummary="yes" haltonfailure="yes">
>               <classpath refid="btf.classpath"/>
>               <formatter type="plain"/>
>               <batchtest fork="no">
>                 <fileset dir="${src.dir}">
>                   <include name="**/UnitTest.java" />
>                 </fileset>
>               </batchtest>
>            </junit>
>         </target>
>
> Thanks,
> Alex
>
> > -----Original Message-----
> > From: Andrew Goodnough [mailto:agoodno@yahoo.com]
> > Sent: Friday, January 05, 2001 2:10 PM
> > To: ant-user@jakarta.apache.org
> > Subject: Re: JUnit test.txt files
> >
> >
> > You can include the full path in the "outfile" parameter or
> > a variable like:
> >
> > <test
> >    name="com.dcc.transview.test.VendorEntityTest"
> >    outfile="/AllOuts/Tests"
> > />
> >
> > <test
> >    name="com.dcc.transview.test.VendorEntityTest"
> >    outfile="${alloutputs}/Tests"
> > />
> >
> >
> >
> > Andy
> >
> >
> > --- abonjour@Boldtech.com wrote:
> > > Is there a way to tell the JUnit task what directory to
> > > put the test output
> > > into?
> > >
> > > Alex
> > >
> > > --
> > > Alex Bonjour
> > > BoldTech Systems
> > >
> > >
> > > .
> > > Systems
> > >
> > >
> > > .
> > >
> >
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Yahoo! Photos - Share your holiday photos online!
> > http://photos.yahoo.com/
> >

Mime
View raw message