ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Loughran" <stev...@iseran.com>
Subject Re: JUnit task doesn't support showoutput
Date Fri, 13 Sep 2002 21:04:29 GMT

----- Original Message -----
From: "Bruce Snyder" <ferret@frii.com>
To: "Ant Users List" <ant-user@jakarta.apache.org>; <paul@priorartisans.com>
Sent: Friday, September 13, 2002 1:54 PM
Subject: RE: JUnit task doesn't support showoutput


> This one time, at band camp, Paul Christmann said:
>
> PC>I'm using <junit> task from Ant 1.5 release (Win2000 box) with the
> PC>showoutput attribute with no problems:
> PC>
> PC>    <junit printsummary="true"
> PC>             showoutput="${junit.showoutput}"
> PC>          errorProperty="junit.failed"
> PC>        failureProperty="junit.failed"
> PC>                    dir="${unittest.classes.dir}"
> PC>                   fork="yes">
> PC>
> PC>I toggle the property ${junit.showoutput} in a properties file between
> PC>"true" and "false", and both settings work as expected.
> PC>
> PC>junit.showoutput=false (or true)
> PC>
> PC>So, as someone recently said on this list -- its sort of an
unsatisfying
> PC>answer when someone says "it works for me", but "It works for me".
>
> This is similar to what I'm doing. I am using the binary version
downloaded
> from the Jakarta website.

you can also run ant -diagnostics to get extra info...<junit> does need
junit jar to hand, for version 1.5 I'd recommend junit 3.7.



--
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