RE: [Junit] How to handle TestSuites correctly

2007-03-26 Thread Anton Vodonosov
>>> From what I understand from documentation, it is impossible >>> to create Resource Collection based on classpath. Am I right? >>> > >> that's right, because there is nothing in the Java API to enum all >> classes in a package. > > Yes, but it is possible to analyze classpath programmatically

Re: [Junit] How to handle TestSuites correctly

2007-03-01 Thread Steve Loughran
Anton Vodonosov wrote: From what I understand from documentation, it is impossible to create Resource Collection based on classpath. Am I right? that's right, because there is nothing in the Java API to enum all classes in a package. Yes, but it is possible to analyze classpath programmatic

RE: [Junit] How to handle TestSuites correctly

2007-02-28 Thread Anton Vodonosov
>> From what I understand from documentation, it is impossible >> to create Resource Collection based on classpath. Am I right? >> >that's right, because there is nothing in the Java API to enum all >classes in a package. Yes, but it is possible to analyze classpath programmatically: for jars

Re: [Junit] How to handle TestSuites correctly

2007-02-28 Thread Steve Loughran
Anton Vodonosov wrote: Hi, All. I want to run many unit tests I have, but without adding all them manually to ant script. The best way for me is using TestSuite, because it gives maximum flexibility and simplicity comparing to ant scripts. But unfortunately junit task removes original class

Re: [Junit] How to handle TestSuites correctly

2007-02-27 Thread Anton Vodonosov
Hi, All. I want to run many unit tests I have, but without adding all them manually to ant script. The best way for me is using TestSuite, because it gives maximum flexibility and simplicity comparing to ant scripts. But unfortunately junit task removes original class names of classes added t

RE: [Junit] How to handle TestSuites correctly

2005-09-01 Thread Dominique Devienne
> -Original Message- > From: Marcel Stör [mailto:[EMAIL PROTECTED] > Sent: Tuesday, August 30, 2005 3:06 PM > To: 'Ant Users List' > Subject: RE: [Junit] How to handle TestSuites correctly > > Keith Hatton wrote: > > forkmode="once" wi

RE: [Junit] How to handle TestSuites correctly

2005-08-30 Thread Marcel Stör
Keith Hatton wrote: > forkmode="once" will take care of that if you are using Ant 1.6.2+. > Also, http://gsbase.sourceforge.net/ has a set of Junit extensions > such as an OrderedTestSuite that might help you. (Of course, the > purist approach says your unit tests should be independent of one > ano

RE: [Junit] How to handle TestSuites correctly

2005-08-30 Thread Keith Hatton
forkmode="once" will take care of that if you are using Ant 1.6.2+. Also, http://gsbase.sourceforge.net/ has a set of Junit extensions such as an OrderedTestSuite that might help you. (Of course, the purist approach says your unit tests should be independent of one another, but there can be times

Re: [Junit] How to handle TestSuites correctly

2005-08-30 Thread Marcel Stör
Joe Schmetzer wrote: > On Tue, 2005-08-30 at 13:40 +0200, Marcel Stör wrote: >> Hi all, >> >> We're having major difficulties using the junit/junitreport targets >> with JUnit TestSuites. >> >> Usually, the junit target produces an XML file for each test class >> and junitreport produces a superb r

Re: [Junit] How to handle TestSuites correctly

2005-08-30 Thread Joe Schmetzer
On Tue, 2005-08-30 at 13:40 +0200, Marcel Stör wrote: > Hi all, > > We're having major difficulties using the junit/junitreport targets with > JUnit TestSuites. > > Usually, the junit target produces an XML file for each test class and > junitreport produces a superb report based on those files.

[Junit] How to handle TestSuites correctly

2005-08-30 Thread Marcel Stör
Hi all, We're having major difficulties using the junit/junitreport targets with JUnit TestSuites. Usually, the junit target produces an XML file for each test class and junitreport produces a superb report based on those files. In our case, however, we end up with one XML file only since our Tes