ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Geoffrey Mitchell <geoff_mitch...@homedecorators.com>
Subject Re: junit haltonfailure doesn't
Date Thu, 11 Oct 2007 15:07:33 GMT
You are misunderstanding it.  Junit will always run the full test suite 
you give it (maybe theres a way to prevent this, but I don't know).  
haltonfailure only means that the build will be failed if the tests 
fail.  It doesn't alter Junit's behavior, just ant's.

Kendall Shaw wrote:

> I am using junit 4.3.1 and ant 1.7, I have haltonfailure="true" on  
> the junit element, but all of my tests are executed even though some  
> fail. Can I make it halt on failure? Or am I misunderstanding how  
> that is supposed to work?
>

-- 
Geoffrey Mitchell
Programmer/Analyst
Home Decorator's Collection
314-684-1062


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


Mime
View raw message