Hello Greg
Very interesting discussion. I am a newbie to ant and want to do something
similar . Can you share your sample code and explain it ?
Eager to receive your reply.
srikrishna
-----Original Message-----
From: Gregory Gimler [mailto:shark@ll.mit.edu]
Sent: Tuesday, June 15, 2004 6:47 AM
To: Ant Users List
Subject: Re: Help with JUnit
Thanks Ivan - works great!
-Greg
At 09:38 AM 6/15/2004, Ivan Ivanov wrote:
>Hello Gregory, you can do this:
>
><junit haltonerror="off" haltonfailure="off"
>errorproperty="test.error"
>failureproperty="test.error">
><!-- Do your tests here -->
></junit>
>
><junitreport>
><!-- Do your test reports here -->
></junitreport>
>
><fail message="Tests failed" if="test.error"/>
>--- Gregory Gimler <shark@ll.mit.edu> wrote:
> > 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
> >
> >
>
>
>__________________________________________________
>Do You Yahoo!?
>Tired of spam? Yahoo! Mail has the best spam protection around
>http://mail.yahoo.com
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
>For additional commands, e-mail: user-help@ant.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org
|