ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Donald <dona...@apache.org>
Subject Re: JUnit Task and System.out (w/ Ant 1.4)
Date Fri, 09 Nov 2001 08:50:15 GMT
Have a play with "printsummary" attribute of task to get htis working for 
you. See docs for details ;)

On Fri, 9 Nov 2001 08:55, Christopher Berry wrote:
> Greetings,
> The JUnit Task is eating my System.out output. Although the Test does run
> correctly, and I do get a summary.
> I found some recent postings which indicated that others are experiencing
> this problem, but could not find a solution posted. Anyone know what I can
> do??
> Thanks,
> -- Chris
>
> I am using the following Ant::
>
>   <target name="run_junit" description="Run Single JUnit test"
> if="testcase" depends="quick" >
>     <junit printsummary="withOutAndErr" haltonfailure="yes" fork="yes" >
>       <classpath>
>         <pathelement location="${efc.pkgs.unpacked}" />
>         <fileset dir="${efc.pkgs.lib}">
>           <include name="**/*.jar" />
>         </fileset>
>         <pathelement location="${efc.pkgs.unpacked.classes}" />
>       </classpath>
>       <formatter type="plain" />
>       <test name="${testcase}" />
>     </junit>
>   </target>
>
>
> Chris Berry  --- christopher.berry@etrade.com  -- 512-323-9479

-- 
Cheers,

Pete

-----------------------------------------------
"Only two things are infinite, the universe and 
human stupidity, and I'm not sure about the 
former." -Albert Einstein 
-----------------------------------------------

--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message