ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan.Mate...@rzf.fin-nrw.de
Subject RE: Help with JUnit
Date Tue, 15 Jun 2004 13:33:53 GMT
You have to work with haltonfailure and failureproperty of junit task.
See Ant´s own buildfile.

Jan

> -----Original Message-----
> From: Gregory Gimler [mailto:shark@ll.mit.edu]
> Sent: Tuesday, June 15, 2004 3:30 PM
> To: Ant Users List
> Subject: Help with JUnit
> 
> 
> I'm trying to do the following with the junit optional task.  
> I want to run 
> a test suite and indicate failure on a test.  However, I'd like to go 
> through the entire test suite and run every test even if one 
> fails.  The 
> problem is I can either enable the halt options and stop 
> after the first 
> failure/error and build unsuccessfully or I can set the halt 
> options to 
> false and get the output of all failures/errors but it will return 
> successfully from the build (something I don't want).  Is 
> there a way to do 
> this?  Thanks.
> 
> 
> 							-Greg
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
> 

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message