re junit tests executed in ant?
>
> Anyone knows if the jvm is restarted per suite or something. Since there
> must be differences in what objects are still in the environment.
> All ideas and hints are greatly appreciated!
>
> Cheers,
>
> //mikael
>
ailto:[EMAIL PROTECTED]
Sent: den 9 mars 2007 08:32
To: Ant Users List
Subject: RE: Junit test fails in ant but not in Eclipse
Hi,
So it could be that Eclipse uses these libraries in the classpath when
executing tests but ant isn't?
I tried running ant with -debug but I could not see any more t
Mock objects.
Cheers,
//mikael
Ps. I will try to execute ant with 1.5 ( even if code compiles with
1.3.1).
-Original Message-
From: Brown, Carlton [mailto:[EMAIL PROTECTED]
Sent: den 7 mars 2007 16:11
To: Ant Users List
Subject: RE: Junit test fails in ant but not in Eclipse
I found
mehow putting
them on your system classpath?
-Original Message-
From: Mikael Petterson (KI/EAB) [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 07, 2007 9:57 AM
To: Ant Users List
Subject: RE: Junit test fails in ant but not in Eclipse
Hi,
Thanks for reply.
When I ran in Eclipse I did use &q
-Original Message-
From: Brown, Carlton [mailto:[EMAIL PROTECTED]
Sent: den 7 mars 2007 15:36
To: Ant Users List
Subject: RE: Junit test fails in ant but not in Eclipse
These things almost always come down to classpath but it's hard to tell
without more info. In particular I fo
is usually classpath dependt. Is it the order in
the classpath or is there some actual lib missing?
Cheers,
//mikael
-Original Message-
From: Brown, Carlton [mailto:[EMAIL PROTECTED]
Sent: den 7 mars 2007 15:36
To: Ant Users List
Subject: RE: Junit test fails in ant but not in Eclipse
Th
mand line?
-Original Message-
From: Mikael Petterson (KI/EAB) [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 07, 2007 5:57 AM
To: user@ant.apache.org
Subject: Junit test fails in ant but not in Eclipse
Hi,
I run a junit test ( junit 3.8.1 in both) in Eclipse it works just fine.
Then I
Hi,
I run a junit test ( junit 3.8.1 in both) in Eclipse it works just fine.
Then I run the test in Ant using:
The test fails with an NullPointerException.