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" <[EMAIL PROTECTED]>
To: "Ant Users List" <[EMAIL PROTECTED]>
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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to