ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sk...@vtechphones.com
Subject RE: Unable to get junit task to work
Date Tue, 02 Mar 2004 22:43:47 GMT
First, thank you for the reply,
Tried what you suggested, <junit printsummary="withOutAndErr"
showoutput="yes"> and with ant -v but other than incredible amounts of
'system properties info' (too much to post here and doesn't mention
anything about the errors anyways), I still just get this output...


E:\JAVA\junit3.8.1>ant -v
Apache Ant version 1.6.0 compiled on December 18 2003
Buildfile: build.xml
Detected Java version: 1.4 in: C:\j2sdk1.4.2_03\jre
Detected OS: Windows 2000
parsing buildfile E:\JAVA\junit3.8.1\build.xml with URI =
file:///E:/JAVA/junit3.8.1/build.xml
Project base dir set to: E:\JAVA\junit3.8.1
Build sequence for target `unittest' is [unittest]
Complete build sequence is [unittest, ]

unittest:
    [junit] Using System properties ...{lots of output}..
    [junit] Running junit.samples.AllTests
    [junit] Tests run: 119, Failures: 0, Errors: 2, Time elapsed: 1.072
sec

    [junit] TEST junit.samples.AllTests FAILED

BUILD SUCCESSFUL
Total time: 1 second

Any other Ideas???

Thanks again

-----Original Message-----
From: antoine@antbuild.com [mailto:antoine@antbuild.com] 
Sent: Tuesday, March 02, 2004 1:11 PM
To: user@ant.apache.org
Subject: Re: Unable to get junit task to work

Antoine

skeen@vtechphones.com wrote:

>Forgive me I'am a newbie at this,
> 
>My first problem is I don't know how to get the Error detail (is there
a
>log file or debug flag to set? I tried ant -d but it gave no detail on
>the Errors).  And my second problem is I cannot determine why I can run
>the test with not problem using junit commandline but not from a simple
>ant buildfile??
>  
>
Use printsummary="withOutAndErr" and run your build in verbose mode too 
if you want.
(meaning ant -v)

<junit printsummary="*withOutAndErr*" showoutput="yes">
        


> 
>  
>



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


Mime
View raw message