ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Laconia Data Systems" <webmas...@laconiadatasystems.com>
Subject Re: junit task halts
Date Wed, 08 Dec 2004 13:17:19 GMT
Dear Black:
I just love the easy ones
Your test target creates XML output by default unless you tell the formatter
to output to txt
take a look at
http://ant.apache.org/manual/OptionalTasks/junit.html
the output should be
com.mytests.test.*.xml
the output Doesnt really do much good unless you use a reporting tool such
as junitreport

Take a look at
http://ant.apache.org/manual/OptionalTasks/junitreport.html

HTH,
Martin
617-852-7822
----- Original Message ----- 
From: "blackwater dev" <blackwaterdev@gmail.com>
To: "Ant Users List" <user@ant.apache.org>
Sent: Monday, December 06, 2004 3:44 PM
Subject: junit task halts


> Hello all,
>
> I have this build file:
>
> <project name="mytests" default="test">
>
>   <path id="classpath.base">
>   </path>
>   <path id="classpath.test">
>     <pathelement location="junit.jar" />
>     <pathelement location="httpunit.jar" />
>     <pathelement location="mytests.jar" />
>     <pathelement location="js.jar" />
>     <path refid="classpath.base" />
>   </path>
>
>   <target name="test" >
>     <junit>
>       <classpath refid="classpath.test" />
>
>       <test name="com.mytests.test.AllTests" />
>     </junit>
>   </target>
>
>   </project>
>
> When I run it the output is:
> Buildfile: build.xml
>
> test:
>
> And that is where it just stops...I can type stuff after test: but it
> doesn't do anything...I then have to close the terminal to get
> out....what am I doing wrong?  It shouldn't matter but I am keeping
> all my tests in the mytest.jar file.
>
> Thanks!
>
> ---------------------------------------------------------------------
> 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