ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <Kajsa.Ander...@thomson.com>
Subject RE: JUnit task problem
Date Thu, 17 Feb 2005 20:12:55 GMT
Ah - I see you don't have a <formatter> specified - try:

<target name="junit_tests">
  <junit printsummary="yes">
    <classpath refid="classpath" />
    <test name="DisbursementFBTestCase" />
    <formatter type="brief" usefile="false" />
  </junit>
</target>

That should at least give you a stack trace.  For some good info on using JUnit with Ant,
see http://www.manning-source.com/books/hatcher/hatcher_ch04.pdf (sample chapter Testing with
JUnit, from Java Development with Ant).

Kajsa Anderson

> -----Original Message-----
> From: Frank W. Zammetti [mailto:fzlists@omnytex.com]
> Sent: Thursday, February 17, 2005 1:45 PM
> To: Ant Users List
> Subject: RE: JUnit task problem
> 
> 
> I thought of that too... I wasn't sure it it was needed or 
> not so I left
> it out just to have a slightly simpler class... however, I 
> did try putting
> it in and it doesn't make the error go away.  I'll leave it in for now
> anyway, but that doesn't seem to be it.
> 
> -- 
> Frank W. Zammetti
> Founder and Chief Software Architect
> Omnytex Technologies
> http://www.omnytex.com
> 

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


Mime
View raw message