Hello Dave,
Can you add some details like what jars (especially the ones that
contain the Ant JUnit task classes) are present in the classpath? An
output of ant -v might also be useful.
There was an unintentional change in one of 1.10.x releases which
affected the signature of the clone
I am running ant 1.10.5 against the 5.3.1/1.3.1 of junit 5 and getting
java.lang.NoSuchMethodError:
org.apache.tools.ant.types.CommandlineJava.clone()Lorg/apache/tools/ant/types/CommandlineJava;
Anyone know what i'm missing? It works fine with 5.2.0/
Perfect! Somehow missed that ... :) Thank you.
-Original Message-
From: Stefan Bodewig [mailto:bode...@apache.org]
Sent: Thursday, July 06, 2017 8:58 PM
To: user@ant.apache.org
Subject: Re: Test for JUnit version?
On 2017-07-06, Roger Whitcomb wrote:
> Hi all,
>
On 2017-07-06, Roger Whitcomb wrote:
> Hi all,
> I just realized I have written some JUnit tests that rely on
> "assertNotEquals" that has just appeared "recently" in JUnit (as in, 4.11 and
> 4.12, but not 4.10). I'm testing for the presen
Hi all,
I just realized I have written some JUnit tests that rely on
"assertNotEquals" that has just appeared "recently" in JUnit (as in, 4.11 and
4.12, but not 4.10). I'm testing for the presence of JUnit in the classpath in
my "build.xml",
Hi all,
I just realized I have written some JUnit tests that rely on
"assertNotEquals" that has just appeared "recently" in JUnit (as in, 4.11 and
4.12, but not 4.10). I'm testing for the presence of JUnit in the classpath in
my "build.xml",
Thanks for the update! I'll be bringing this up with the JUnit team as well
( https://github.com/junit-team/junit5/pull/624 ) and see if anybody wants
to give it a try. I'm sure users of both tools will be glad to know that
there are at least initial discussions going on.
Regards,
Da
On 2017-01-07, Dann Ryan Hilario wrote:
> There are lots of exciting developments in JUnit 5 recently and I'm
> wondering if there are ongoing development or plan to support the JUnit 5
> platform anytime soon?
At least I'm not aware of anybody working on it. I'll b
Hello,
There are lots of exciting developments in JUnit 5 recently and I'm
wondering if there are ongoing development or plan to support the JUnit 5
platform anytime soon?
I believe the JUnit 5 team has been actively collaborating with Maven and
Gradle team for a native support and a lot of
Hello,
No idea why the inner classes are being tested.
as a workaround you could try (untested) :
>
>
>
>
>
>
Regards,
Antoine
On Feb 10, 2014, at 7:17 PM, Marc Benstein wrote:
> I am using ant 1.9.3 with junit 4.11 with b
I am using ant 1.9.3 with junit 4.11 with batchtest skipNonTests="true"
What is happening is that inner classes of non-test classes are being
tested. This is resulting in a few failures. Any thoughts on why these
inner classes that are not test classes are be
Hi,
I found a similar topic (http://stackoverflow.com/a/1733940/1175065) on
Stackoverflow and posted also but that is not figuring me out to find the
solution. Below are the requirements to customize HTML report-
1. Need to add project name (Currently, I have set the project name in my JUnit
Hello Bernhard,
this looks like a bug. You might want to report it in bugzilla.
Regards,
Antoine
On Oct 9, 2013, at 7:21 AM, Bernhard Voelker wrote:
> Hi *,
>
> we had a Junit task with an XML formatter defined both on the
> and the level:
>
>fork=&qu
Hi *,
we had a Junit task with an XML formatter defined both on the
and the level:
Since Ant 1.9, this resulted in garbled output files:
the end was somehow doubled, sometimes only like this:
like this:
uite>
but in other situati
Hi
I am new Ant and JUnit. I am using the default report -
TESTS-TestSuites.xml* - that's generated by our Ant script.
Is there a way to customize it? e.g. can I add a new field to it?
Thanks
Yana
*http://ant.apache.org/manual/Tasks/junitreport.html
What am I doing wrong, please?
$ echo $CLASSPATH
/opt/local/ant/lib/junit.jar
$ echo $ANT_HOME
/opt/local/ant
$ ./build.sh
/.../apache-ant-1.9.1/build.xml:1059: The following error occurred while
executing this line:
/.../apache-ant-1.9.1/build.xml:769: We cannot build the test jar unless
JUnit is
>
>
>
>
>
>
>
>
> Run JUnit using 'batchtest' and fileset
>
>
>
> Run JUnit using 'test name=$${testclass}
Thank you very much!
I missed that important property.
Regards
xiaomou
On Sun, May 12, 2013 at 11:33 PM, Antoine Levy Lambert wrote:
> Hello Xiaomou,
>
> the documentation of the junit task
> http://ant.apache.org/manual/Tasks/junit.html
> mentions that the test nested ele
Run JUnit using 'batchtest' and fileset
Run JUnit using 'test name=$${testclass}'
Hello Xiaomou,
the documentation of the junit task
http://ant.apache.org/manual/Tasks/junit.html
mentions that the test nested element can have a methods attribute to specify
the methods you want to run
Comma-separated list of names of test case methods to execute. Since 1.8.2
Thanks for your reply. Perhaps I did not express my problem clearly, or may
not understand your solution.
My problem is : I have junit test class:
class TestService {
@Test
void test1() {}
@Test
void test2() {}
}
now I'd like to only test the "test2" with ant command line
: Matt Benson [mailto:gudnabr...@gmail.com]
> Gesendet: Freitag, 10. Mai 2013 16:55
> An: Ant Users List
> Betreff: Re: How to run a single junit test method with ant
>
> Typically this would be done using separate targets. Ant's own
> build.xml provides an example.
>
>
Typically this would be done using separate targets. Ant's own build.xml
provides an example.
HTH,
Matt
On Thu, May 9, 2013 at 11:33 PM, 肖谋 wrote:
> Hi, Users.
>I am using ant in Linux. I can use ant junit task to run all test
> methods in a junit4 test class but fail to f
Hi, Users.
I am using ant in Linux. I can use ant junit task to run all test
methods in a junit4 test class but fail to find the way to run a single
test method. I googled and found a helpful article at
https://today.java.net/pub/a/today/2003/09/12/individual-test-cases.html.
However, the
Hi There,
Does anyone know if ant ver.1.8.3 support @Ignore for JUnit 4.x?
Thanks,
Harry
-
To unsubscribe, e-mail: user-unsubscr...@ant.apache.org
For additional commands, e-mail: user-h...@ant.apache.org
include 'junit'
ls -al $ANT_HOME/lib/*junit*
-rw-rw-r--+ 1 root root 6.2K Jul 22 19:26
/usr/local/ant/lib/ant-junit4.jar
-rw-rw-r--+ 1 root root 2.8K Jul 22 19:26
/usr/local/ant/lib/ant-junit4.pom
-rw
erty files, but, you see, I have lots of selenium
test cases and lots of junit test cases. They have different property files
, but, same names . I can't overlap . Also, I think there has to be a
better solution )
Thanks,
*Rohit *
Is there a way to force Ant 1.8.2 to use JUnit4 for JUnit4 tests which it
does not recognize correctly?
I have JUnit4 test classes which extend a class (SeleneseTestCase) which
in turn extends junit.framework.TestCase.
The tests require a custom JUnit4 Runner which is annotated to the test
clas
How to run the packages using ant?
I have set of classes in one package. I want to run that classes. How to use
the packages in ant?
Awaiting for your reply.
--
View this message in context:
http://ant.1045680.n5.nabble.com/How-to-run-all-the-junit-classes-in-parallel-instead-of-adding-one-by
For example,
In my ant.xml
**
**
I am adding two classes one by one inside the parallel tag. In this case,
the JUnit test cases will run in parallel. But I want to give
ationContextAware { ... }
It works fine with Eclipse, but when I run TestLoginAction in
Ant-Junit, it fails. The spring configure
files(applicationContext-dao.xml ...) are not loaded. It seem that the
"@ContextConfigurat
richt-
Von: roject [mailto:roject@allianz.com.au]
Gesendet: Freitag, 9. Dezember 2011 01:46
An: user@ant.apache.org
Betreff: Re: fork, JUnit and Linux
HI, i am having the same problem with running ant junit in linux. Do you
solve the problem?
--
View this message in context:
http://ant.10456
HI, i am having the same problem with running ant junit in linux. Do you
solve the problem?
--
View this message in context:
http://ant.1045680.n5.nabble.com/fork-JUnit-and-Linux-tp4977907p5060443.html
Sent from the Ant - Users mailing list archive at Nabble.com
Just started using Ant 1.8.2, mostly in order to use the new "failure"
formatter of the junit task.
This macrodef:
Juni
On 2011-11-14, Knuplesch, Juergen wrote:
> I use OpenSuse 11.4 32 Bit
> I use Java 1.6.0.17, JDK from Sun
> Before that I tried 1.6.022 and OpenJDK.
And you are sure this is what Ant uses?
> The problem I have is when I use the fork attribute.
> Do I have to tell Linux to take the old classpath
anymore and everything is working.
But I would like to use fork but I do not see where the problem is and how to
solve it.
-Ursprüngliche Nachricht-
Von: Stefan Bodewig [mailto:bode...@apache.org]
Gesendet: Freitag, 11. November 2011 15:58
An: user@ant.apache.org
Betreff: Re: fork, JUnit and
On 2011-11-09, Knuplesch, Juergen wrote:
> when I run a task with
> fork="yes"
> under LINUX the test does not even start:
LINUX is a pretty broad term here. Which version of java are you using?
I use Ant on Linux using OpenJDK or Sun's Java without any problems.
If this is gcj then you may h
On 2011-10-10, Leandro Coutinho wrote:
> I don't understand why you can't update there.
The website shows the documentation that shipped with the latest
release. Actually, I'm not sure this is a conscious choice. Maybe
nobody has questioned this policy lately.
> So does the (bug) tutorial run
Hi Stefan. Thanks for your reply.
I tell what the problem was. It's explained in the second link.
Sorry for not be too verbose.
I don't understand why you can't update there. So does the (bug) tutorial
run fine with Ant latest version?
I'm running Ant version 1.8.0
On Mon, Oct 10, 2011 at 6:45 AM,
On 2011-10-09, Leandro Coutinho wrote:
> http://ant.apache.org/manual/tutorial-HelloWorldWithAnt.html
It would have helped if you told us what the problem was 8-)
The build file created during the tutorial relies on some old behavior
of Ant that elements with ids where available to be used with
http://ant.apache.org/manual/tutorial-HelloWorldWithAnt.html
Here is my workaround:
http://www.coderanch.com/t/555213/tools/Ant-BUILD-FAILED-Reference-application
Yeah, that would suit my purposes. Seems like the first line is the only one
likely to contain a space before the word " more" anyway, aside from the line
we want to strip.
Bob
On Aug 5, 2011, at 8:40 AM, Stefan Bodewig wrote:
> On 2011-08-04, Robert E. Billings III wrote:
>
>> OK, I'll fil
On 2011-08-04, Robert E. Billings III wrote:
> OK, I'll fill out a bugzilla report. Thanks for verifying! :)
Would it be enough if we simply started filtering after the first line
of the stack trace? That fix would be easiest to implement.
Stefan
--
OK, I'll fill out a bugzilla report. Thanks for verifying! :)
Bob
On Thu, Aug 4, 2011 at 11:05 AM, Stefan Bodewig wrote:
> On 2011-07-28, Bob Billings wrote:
>
> > However, the Ant junit XML formatter strips off the first line with
> > the failure message in any test fa
On 2011-07-28, Bob Billings wrote:
> However, the Ant junit XML formatter strips off the first line with
> the failure message in any test failure where the failure message
> contains the word " more", resulting in just the "at " line
> remaining, which is
t SQL
scripts they checked in worked properly, whether our test data loaded
correctly, etc. I was noticing that some of the test failures shown in the
emails were missing the actual reason for the test failure -- they just said
"at ".
I've tracked down the issue to the Ant junit task
Err - right - you are using ant , at least you are now - the original message
said antcall.
Is " -Original Message-
> From: kasim ahmed [mailto:mail2ka...@googlemail.com]
> Sent: Monday, June 20, 2011 11:01 AM
> To: Ant Users List
> Subject: Re: Junit report for
Then try "Ant", instead of "Antcall".
Rob
> -Original Message-
> From: kasim ahmed [mailto:mail2ka...@googlemail.com]
> Sent: Monday, June 20, 2011 11:01 AM
> To: Ant Users List
> Subject: Re: Junit report for multiple projects
>
> sorry, junit-1
sorry, junit-1,junit-2,junit-3 are in different project and each project is
having build.xml.
On Mon, Jun 20, 2011 at 4:21 PM, Echlin, Robert wrote:
> You are running separate copies of ant for each of the junit tests.
> Instead, run them all in the same Ant invocation, and ma
You are running separate copies of ant for each of the junit tests.
Instead, run them all in the same Ant invocation, and make the "mainbuild"
target depend on all of them.
The above line replaces the first 4 nonblank lines (shown below) from your
example.
>
>
i have ant target which invokes concurrently other 3 projects ant build
target for junit. this build target executes all three projects even though
any one of the sub project build fails. Problem here is, if any one of sub
project build fails error message should display and junit report should
It seems now it works, I just simply needed to add
to the junit tasks. Anyway, thank you for your fast response! :)
Kasim Ahmed írta :
> in your ant-home library include ant-junit.jar( if not avaialble) and run
> again. 201
in your ant-home library include ant-junit.jar( if not avaialble) and run
again.
2011/6/15 Csatári János
> Hi there!
>
> I have ANT 1.8.2 and also JUnit installed. However, when I would like to
> use the junit task in the build.xml, I get the following error:
>
> build.xml:1
Hi there!
I have ANT 1.8.2 and also JUnit installed. However, when I would like to use
the junit task in the build.xml, I get the following error:
build.xml:188: The for must include junit.jar if not in
Ant's own classpath
Here's the relevant parts of the
What i have observed is, when i make
wrote:
> Hi,
>
> I am getting following error:
>
> Configuration problem: Failed to import bean definitions from URL location
> [classpath:/esw-web-ctx.xml] Offending resource: class path resource
> [applicationContext.xml]; nested exception is
> org.springfram
Hi,
I am getting following error:
Configuration problem: Failed to import bean definitions from URL location
[classpath:/esw-web-ctx.xml] Offending resource: class path resource
[applicationContext.xml]; nested exception is
org.springframework.beans.factory.parsing.BeanDefinitionParsingException:
I am having trouble viewing the Properties >> link on my test result pages when
using the junit task from Ant 1.8.2. Previously I was using Ant 1.7.0 and the
Properties page rendered correctly.
Looking at the page source I can see a minor difference in the way the
line.separator prope
> Sent: Monday, February 07, 2011 15:17
> To: user@ant.apache.org; d...@ant.apache.org
> Subject: Apache Ant JUnit XML Schema
>
> Hi,
>
> I've been looking for a schema for the XML output produced by the JUnit and
> JUnitReport tasks. Google couldn't find it for me, so
Hi Gary,
For better re-usability, you might consider adding a license (The Apache
License v2.0 for example, see http://www.apache.org/licenses/LICENSE-2.0.html)
in a comment at the top of your schema.
I've already placed the license information at
xs:schema/xs:annotation/xs:documentation
Hi,
I've been looking for a schema for the XML output produced by the JUnit and
JUnitReport tasks. Google couldn't find it for me, so I've created one. You can
get if from http://windyroad.org/2011/02/07/apache-ant-junit-xml-schema/
Hopefully someone else might find it u
Hi,
I've been looking for a schema for the XML output produced by the JUnit and
JUnitReport tasks. Google couldn't find it for me, so I've created one. You can
get if from http://windyroad.org/2011/02/07/apache-ant-junit-xml-schema/
Hopefully someone else might find it u
Hi,
When I run I need to run my tests in order. Shall I use the -tag?
br,
//mikael
=
Ericsson AB
Mikael Petterson
Software Designer
Mobile: +46-(0)70-2673044
Email: mikael.petter...@ericsson.com
=
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 h
How do you run junit categories from ant. It will be nice if someone
can post an example. I have tried following
Java code-
@RunWith(Categories.class)
@IncludeCategory(MyCategory.class)
@SuiteClasses( {A.class }) // A.class has test methods with category
myCategory
public class MyCategorySuite
-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
We tried it out, and our tests ran much faster. We liked it so much
that we took the Ant 1.8.1 source and applied your change to it, so we
could use it for the time being. We put the source here:
http://github.com/cyrusinnovation/Apache-Ant
Please note that we have no intention of maintaining th
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
On Thu, Aug 19, 2010 at 8:54 AM, Stefan Bodewig wrote:
> The change has been implemented in svn trunk[1] and may become part of
> the next Ant release. Using svn trunk my tests run as fast (or even
> faster) as they do using Ant 1.7.1.
Thank you very much! We'll definitely try it out.
> To be
On 2010-08-08, Stefan Bodewig wrote:
> I'll suggest to add a configuration option that will allow people to
> disbale those requests on the dev list, but right now I can't do more
> than confirm that forked JUnit tasks are slower with Ant 1.8.[01] than
> with 1.7.1
On 2010-08-12, tabber wrote:
> 1) You suggested 'another one would be to write your own task that wraps
> the exec invocation itself.' -- I am wondering what benefit it will be to do
> this?
A nicer syntax with less potential for errors.
Contrast the completely hypothetical
with
ormat then can ANT understand the test
results?
--
View this message in context:
http://ant.1045680.n5.nabble.com/Can-ant-run-non-JUnit-tests-that-can-produce-Junit-xml-formatted-output-tp2472091p2472975.html
Sent from the Ant - Users mailing list archive at
On 2010-08-11, tabber wrote:
> We are evaluating ANT to setup out build process. We have a lot of our tests
> written in c and functional test written in an ih house developed language.
> There tests produce text output which I can parse and generate JUnit like
> XML output.
> Ho
We are evaluating ANT to setup out build process. We have a lot of our tests
written in c and functional test written in an ih house developed language.
There tests produce text output which I can parse and generate JUnit like
XML output.
How do I make ANT run these tests for each build? Is
On 2010-08-08, Michael Ludwig wrote:
> Stefan Bodewig schrieb am 08.08.2010 um 22:12 (+0200):
>> Finally I found the reason - the enhancement that is Bugzilla Issue
>> 31885. Ant writes output synchronously in order to support advanced
>> test UIs.
> https://issues.apache.org/bugzilla/show_bug.
Stefan Bodewig schrieb am 08.08.2010 um 22:12 (+0200):
> Finally I found the reason - the enhancement that is Bugzilla Issue
> 31885. Ant writes output synchronously in order to support advanced
> test UIs.
https://issues.apache.org/bugzilla/show_bug.cgi?id=31885
Great you found the cause! I mi
Ant
1.7.1.
I'll suggest to add a configuration option that will allow people to
disbale those requests on the dev list, but right now I can't do more
than confirm that forked JUnit tasks are slower with Ant 1.8.[01] than
with 1.7.1.
Stefan
--
On 2010-08-02, Laura Dean wrote:
> On Wed, Jul 28, 2010 at 6:44 AM, Stefan Bodewig wrote:
> ...
>> OK, I'll look into this when I get access to my Windows machine again
>> next week. It didn't take more than the small test case you provided to
>> see the difference, right?
> Right. The small
On Wed, Jul 28, 2010 at 6:44 AM, Stefan Bodewig wrote:
>
...
> OK, I'll look into this when I get access to my Windows machine again
> next week. It didn't take more than the small test case you provided to
> see the difference, right?
Right. The small test case was enough to see the difference
dd it to the
> classpath, nothing changes. The tests still run slower in 1.8.
This means a change in Ant's core is responsible, not in the JUnit task
itself.
> * Like you, I also couldn't reproduce the problem under linux.
OK, I'll look into this when I get access to my Win
we cannot seem to avoid) that causes any
>>> forked process to use up at least about half a second. With 1.8.1 the
>>> same logic changes have been applied to other OSes as well.
>>>
>>> So if you build process was forking a lot of small processes, a major
>
t;> problems with hanging grandchild processes on Windows. This changes
>> have a side-effect (which we cannot seem to avoid) that causes any
>> forked process to use up at least about half a second. With 1.8.1 the
>> same logic changes have been applied to other OSes as well.
&g
Used testing framework is Junit with Ant, that's the reason of this post.
Thanks in advance for further help.
>>
extract the property to an external class and then build two
tests that mocks that class with each value.
>>
I passed the value of class property to Ant jun
On Mon, Jul 26, 2010 at 12:50 PM, shailja kumari wrote:
>
> Hi All,
>
> I've got a class whose behavior changes based on a boolean property. This
> property is read in the static block of the class. Is there a way to write
> test JUnit testcase that can verify the behavio
Hi All,
I've got a class whose behavior changes based on a boolean property. This
property is read in the static block of the class. Is there a way to write
test JUnit testcase that can verify the behavior of the class for both the
values of this property? If I specify the value in build.x
OSes as well.
>
> So if you build process was forking a lot of small processes, a major
> slowdown is to be expected.
>
> > We're running junit with fork=yes and forkmode=once.
>
> forkmode="once" should just create a single new process and you'd only
On 2010-07-23, Stefan Bodewig wrote:
> On 2010-07-22, Laura Dean wrote:
>> For the curious, I've created a simplified project here:
>> http://web.mit.edu/lgdean/Public/test-project.zip .
> I'll look into it.
Can't see any major differences between 1.7.1 and 1.8.1 on my Ubuntu
box. Unfortunatel
void) that causes any
forked process to use up at least about half a second. With 1.8.1 the
same logic changes have been applied to other OSes as well.
So if you build process was forking a lot of small processes, a major
slowdown is to be expected.
> We're running junit with fork=yes and fo
he-ant-1.8.0\apps\test-project>ant test
> Buildfile: build.xml
>
> test:
> [junit] Testsuite: SomeJUnitTest
> [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 0.203 sec
> [junit]
> [junit] Testsuite: SomeOtherJUnitTest
> [junit] Tests run: 4, Failur
what processor have you implemented in your testbed platform?
how much ram on your testbed platform?
//With fork:
\ANT\apache-ant-1.8.0\apps\test-project>ant test
Buildfile: build.xml
test:
[junit] Testsuite: SomeJUnitTest
[junit] Tests run: 4, Failures: 0, Errors: 0, Time elap
tbeans.org/bugzilla/show_bug.cgi?id=182263
We're running junit with fork=yes and forkmode=once. With forking
turned off, the tests run much faster, about the same as in 1.7. (But
we want the forking for other reasons.)
We're running under Windows, with jdk 1.6 and junit 4.5.
Have y
-
Von: Stefan Bodewig [mailto:bode...@apache.org]
Gesendet: Mittwoch, 16. Juni 2010 09:14
An: user@ant.apache.org
Betreff: Re: Timeout in junit and sysout
On 2010-06-16, Knuplesch, Juergen wrote:
> I added the showoutput=true to my task.
> Now I experience that the timeout does not wo
On 2010-06-16, Knuplesch, Juergen wrote:
> I added the showoutput=true to my task.
> Now I experience that the timeout does not work!
I wouldn't expect showoutput to have any influence on the timeout.
Stefan
-
To unsubscribe,
: Stefan Bodewig [mailto:bode...@apache.org]
Gesendet: Samstag, 12. Juni 2010 06:40
An: user@ant.apache.org
Betreff: Re: Timeout in junit and sysout
On 2010-06-11, Knuplesch, Juergen wrote:
> some of our Junit tests run sometimes into the timeout I have set.
> Sadly we do not see any syso
Thank you, Stefen, I will try this!
-Ursprüngliche Nachricht-
Von: Stefan Bodewig [mailto:bode...@apache.org]
Gesendet: Samstag, 12. Juni 2010 06:40
An: user@ant.apache.org
Betreff: Re: Timeout in junit and sysout
On 2010-06-11, Knuplesch, Juergen wrote:
> some of our Junit tests
On 2010-06-11, Knuplesch, Juergen wrote:
> some of our Junit tests run sometimes into the timeout I have set.
> Sadly we do not see any sysouts in my logs.
> Do I have to use system.out.flush or how can I make this sysouts visible?
If you are using a plain logger, this should help.
Hello,
some of our Junit tests run sometimes into the timeout I have set.
Sadly we do not see any sysouts in my logs.
Do I have to use system.out.flush or how can I make this sysouts visible?
Juergen
--
Jürgen Knupleschwww.icongmbh.de <http://www.icongmbh
Having surmounted the Ant-as-technology issue, I'm now encountering an
error in my ant execution of junit. When I run my ant script, I get:
java.lang.NullPointerException at
org.apache.tools.ant.taskdefs.optional.junit.FailureRecorder$TestInfos.(FailureRecorder.java:349)
(The full stack is
1 - 100 of 693 matches
Mail list logo