Hi
Maybe you could set the "timeout" property of the task, so timeout
will appears in junit reports as cause for test failure.
Regards
Emmanuel
--
View this message in context:
http://ant.1045680.n5.nabble.com/junit-ant-task-tp3233265p3243947.html
Sent from the Ant - Users ma
manipulation, nous ne pouvons accepter aucune responsabilité
pour le contenu fourni.
> From: dean.hil...@mckesson.com
> To: user@ant.apache.org
> Subject: junit ant task
> Date: Wed, 20 Oct 2010 09:28:04 -0700
>
> So, I have a test hanging out of hundreds of tests, but unf
So, I have a test hanging out of hundreds of tests, but unfortunately,
the log of
[junit] Beg com.xxx.Test
is logged AFTER the test completes so I can't see what test is failing
L..g..Hard to believe since ant 1.3 that this problem is
still an issue and the default hasn't
been
-Original Message-
From: Stefan Bodewig [mailto:bode...@apache.org]
Sent: Monday, August 23, 2010 9:20 AM
To: user@ant.apache.org
Subject: Re: junit ant task test listeners
On 2010-08-23, Chip McCormick wrote:
> Does anyone know how to add a test listener to an ant junit t
On 2010-08-23, Chip McCormick wrote:
> Does anyone know how to add a test listener to an ant junit task,
> without having to create a custom task?
> We are attempting to add a test listener to a junit ant task to do
> custom logging after each test class in a batch completes.
Ant&
Does anyone know how to add a test listener to an ant junit task, without
having to create a custom task?
We are attempting to add a test listener to a junit ant task to do custom
logging after each test class in a batch completes.
The only mention in the API of how to do this describes how to
Rebhan, Gilbert wrote:
-Original Message-
From: Steve Loughran [mailto:[EMAIL PROTECTED]
Sent: Monday, June 11, 2007 12:41 PM
To: Ant Users List
Subject: Re: Extending JUnit Ant tasks
Hi,
/*
well, sounds like you have to write a new xmllogger. One problem with a
streaming
-Original Message-
From: Steve Loughran [mailto:[EMAIL PROTECTED]
Sent: Monday, June 11, 2007 12:41 PM
To: Ant Users List
Subject: Re: Extending JUnit Ant tasks
Hi,
/*
well, sounds like you have to write a new xmllogger. One problem with a
streaming/flushing logger is that if the
Steve Loughran wrote:
The alternative is for ant to optionally register a signal handler (sun
java only; would cause trouble on IDEs) and then to shut down more
gracefully on termination. This is what smartfrog does, though since
Java6 the javac compiler goes out of its way to tell us off for
Rebhan, Gilbert wrote:
Hi,
-Original Message-
From: Steve Loughran [mailto:[EMAIL PROTECTED]
Sent: Monday, June 11, 2007 11:41 AM
To: Ant Users List
Subject: Re: Extending JUnit Ant tasks
/*
[ ... ]
In them I show an XHTML output that gets streamed out... not only is it
viewable
Hi,
-Original Message-
From: Steve Loughran [mailto:[EMAIL PROTECTED]
Sent: Monday, June 11, 2007 11:41 AM
To: Ant Users List
Subject: Re: Extending JUnit Ant tasks
/*
[ ... ]
In them I show an XHTML output that gets streamed out... not only is it
viewable without waiting for the
Alex Ruiz wrote:
Hello all,
I've been trying to extend JUnit's report without success. The following
are
some questions/comments about what I couldn't accomplish:
1. Ant's
org.apache.tools.ant.taskdefs.optional.junit.XMLJUnitResultFormatter does
not offer any support for extensibility. It wou
Hello all,
I've been trying to extend JUnit's report without success. The following are
some questions/comments about what I couldn't accomplish:
1. Ant's
org.apache.tools.ant.taskdefs.optional.junit.XMLJUnitResultFormatter does
not offer any support for extensibility. It would be nice to have s
any chance any classloaders involved in this whole mess
> that could be finding MyClass a different way than the classpath in the
> test that uses it but doesn't fail?
>
> --
> Joel Klein[Online at http://jfkbits.blogspot.com]
>
>
>
>
any chance any classloaders involved in this whole mess
>> that could be finding MyClass a different way than the classpath in the
>> test that uses it but doesn't fail?
>>
>> --
>> Joel Klein[Online at http://jfkbits.blogspot.com]
>>
>>
>>
gt; Are there by any chance any classloaders involved in this whole mess
> that could be finding MyClass a different way than the classpath in the
> test that uses it but doesn't fail?
>
> --
> Joel Klein[Online at http://jfkbits.blogspot.com]
>
>
>
> --
cmose wrote:
classpath.project is defined thusly:
--->this is the bin directory for
class files
---> a temporary location for
jar libraries
Where in this classpath is the missing class supposed to be found? If
it's supposed to be in the second pathelement above, there's a couple
th
s occuring.
All the tests pass just fine when run straight through eclipse.
At this point I'm not really certain what the solution is. Quite possibly
I'm overlooking something simple or obvious - any insight is greatly
appreciated!
--
View this message in context:
http://www.nabble.co
Lorenzo Bettini wrote:
Hi there
I've just started using ant and junit task
I have a test suite that I usually run from within eclipse and always
worked
one of these tests uses a custom class loader
now I see that if I try to run the test with custom class loader from
console (i.e., using ju
Hi there
I've just started using ant and junit task
I have a test suite that I usually run from within eclipse and always worked
one of these tests uses a custom class loader
now I see that if I try to run the test with custom class loader from
console (i.e., using junit.textui.TestRunner) eve
> I am sure that most of you have seen this message com across
> the list before. I am trying to use junit with ant. I want
> to be able to have the junit.jar file reside somewhere else
> than in the ANT_HOME/lib directory. I have searched the web
> for ideas about how to solve this problem
Hey All:
I am sure that most of you have seen this message com across the list
before. I am trying to use junit with ant. I want to be able to have
the junit.jar file reside somewhere else than in the ANT_HOME/lib
directory. I have searched the web for ideas about how to solve this
problem but
rding the miscommunication between
appenders or something. But I didn't get that exactly. Could someone help
me further understand why this behavior happens?
3) Is this problem a bug? If so, who would own it - junit? ant? or log4j?
I have attached the files below, to clarify what I'm
setup() code into the TestFoo
constructor instead? That way, you don't need to do the stuff in
teardown(), right?
Or am I missing something?
Oski
From: Mark Hansen <[EMAIL PROTECTED]>
Reply-To: "Ant Users List"
To: Ant Users List
Subject: RE: JUnit, ANT, log4j, System.out is
u are not the
> intended recipient, be aware that any disclosure,
> copying, distribution or use of this information is
> prohibited. If you have received this electronic
> mail transmission in error, please notify us by
> telephone or by electronic mail.
>
>
>
> -----Ori
PROTECTED]
Sent: Friday, March 25, 2005 14:49
To: Ant Users List
Subject: Re: JUnit, ANT, log4j, System.out issue
I think this is an explanation of the problem. Log4J ConsoleAppender
descends from WriterAppender (or something similar) and it remembers
System.out (or System.err) values during
--Original Message-
From: Raymond K. DeCampo
Sent: Monday, March 21, 2005 09:23
To: user@ant.apache.org
Subject: JUnit, ANT, log4j, System.out issue
Hello,
I am experiencing an issue with the combination of ANT, JUnit and
log4j. Here's the situation. The ANT build file uses the
task. Log4j i
or use
of this information is prohibited. If you have received this electronic mail
transmission in error, please notify us by telephone or by electronic mail.
-Original Message-
From: Raymond K. DeCampo
Sent: Monday, March 21, 2005 09:23
To: user@ant.apache.org
Subject: JUnit,
Hello,
I am experiencing an issue with the combination of ANT, JUnit and
log4j. Here's the situation. The ANT build file uses the
task. Log4j is configured to print to the console. There are also
times when the unit tests use System.out directly. The problem is
that the log4j statements are not c
29 matches
Mail list logo