ant-dev mailing list archives

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

----- Original Message -----
From: "Tim McCune" <>
To: <>
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?


To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message