RE: junit ant task

2010-10-31 Thread efe4it
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

RE: junit ant task

2010-10-23 Thread Martin Gainty
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

junit ant task

2010-10-23 Thread Hiller, Dean
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

RE: junit ant task test listeners

2010-09-29 Thread Chip McCormick
-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

Re: junit ant task test listeners

2010-08-23 Thread Stefan Bodewig
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&

junit ant task test listeners

2010-08-23 Thread Chip McCormick
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

Re: Extending JUnit Ant tasks

2007-06-11 Thread Steve Loughran
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

RE: Extending JUnit Ant tasks

2007-06-11 Thread Rebhan, Gilbert
-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

Re: Extending JUnit Ant tasks

2007-06-11 Thread Steve Loughran
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

Re: Extending JUnit Ant tasks

2007-06-11 Thread Steve Loughran
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

RE: Extending JUnit Ant tasks

2007-06-11 Thread Rebhan, Gilbert
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

Re: Extending JUnit Ant tasks

2007-06-11 Thread Steve Loughran
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

Extending JUnit Ant tasks

2007-06-10 Thread Alex Ruiz
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

Re: classsnotfound exception with junit ant task

2006-08-16 Thread cmose
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] > > > >

Re: classsnotfound exception with junit ant task

2006-08-16 Thread cmose
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] >> >> >>

Re: classsnotfound exception with junit ant task

2006-08-16 Thread cmose
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] > > > > --

Re: classsnotfound exception with junit ant task

2006-08-16 Thread Joel Klein
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

classsnotfound exception with junit ant task

2006-08-16 Thread cmose
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

Re: problem with junit ant task and class loading

2006-05-12 Thread Lorenzo Bettini
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

problem with junit ant task and class loading

2006-05-12 Thread Lorenzo Bettini
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

RE: junit & ant

2006-03-09 Thread Jon Skeet
> 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

junit & ant

2006-03-09 Thread Adam Stroud
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

RE: JUnit, ANT, log4j, System.out issue

2005-03-28 Thread Oski Wee
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

RE: JUnit, ANT, log4j, System.out issue

2005-03-28 Thread Oski Wee
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

RE: JUnit, ANT, log4j, System.out issue

2005-03-28 Thread Mark Hansen
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

RE: JUnit, ANT, log4j, System.out issue

2005-03-25 Thread Raymond K. DeCampo
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

Re: JUnit, ANT, log4j, System.out issue

2005-03-25 Thread Alexey N. Solofnenko
--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

RE: JUnit, ANT, log4j, System.out issue

2005-03-25 Thread Raymond K. DeCampo
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,

JUnit, ANT, log4j, System.out issue

2005-03-21 Thread Raymond K. DeCampo
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