ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Goodnough <agoo...@yahoo.com>
Subject RE: JUnit test.txt files
Date Fri, 05 Jan 2001 22:07:20 GMT
I thought it was too easy... The outfile attribute seems to
be conspicuously missing from batchtest.  I'm afraid the
answer is "no" without an update to the junit source.


Andy

--- abonjour@Boldtech.com wrote:
> 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/
> > 


=====

Andrew Goodnough
agoodno@yahoo.com

How do you know you've come far enough, until you've gone too far?

- Sheldon Kopp

 


__________________________________________________
Do You Yahoo!?
Yahoo! Photos - Share your holiday photos online!
http://photos.yahoo.com/

Mime
View raw message