ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Klara Ward" <klara.w...@debitech.com>
Subject RE: JUnit tests fail -> build fail
Date Fri, 03 Aug 2001 09:23:43 GMT
Do you think you could specify "rather soonish", a week? a month?
Is the fail-property in the 1.4 alpha?

Klara

> -----Original Message-----
> From: Stefan Bodewig [mailto:bodewig@apache.org]
> Sent: den 3 augusti 2001 08:00
> To: ant-user@jakarta.apache.org
> Subject: Re: JUnit tests fail -> build fail
> 
> 
> On Fri, 3 Aug 2001, Klara Ward <klara.ward@debitech.com> wrote:
> 
> > Is there some way you can make build fail if the junit tests fail?
> > You can set haltonfailure, bur I want to run all tests.
> 
> In Ant 1.4 (due to be ready rather soonish) you can set a property on
> test failure - add to that a fail task in a target that only runs if
> the property is set and you should be done.
> 
> > The reason I want this is because I run cruisecontrol, and it's not
> > really good to recieve a message "build successful" when tests have
> > failed.
> 
> The property has been added for just that reason (I think it was CC's
> Robert Watkins who made the request).
> 
> Stefan
> 

Mime
View raw message