ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Loughran" <stev...@iseran.com>
Subject Re: [PATCH] JUnitTask does not handle errors correctly
Date Sat, 02 Mar 2002 07:49:22 GMT

----- Original Message -----
From: "Tim McCune" <tmccune@fusura.com>
To: <ant-dev@jakarta.apache.org>
Sent: Friday, March 01, 2002 5:05 PM
Subject: [PATCH] JUnitTask does not handle errors correctly


> If haltOnError is set to false, the JUnit task does not throw any
> exception at the end if there are any failures.  This patch makes it
> wait until the end (i.e. it doesn't halt) and then throw a
> BuildException if there were failures/errors.

The usual approach is to set the failureProperty attribute to a property, go
through junit report to build a spiffy report of all the bugs then <fail> if
the failure the property.

your change would break this process.

Is there a reason why the standard practice doesnt work for you?

-steve


--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message