Re: running junit from ant

2006-01-17 Thread Lothar Krenzien
You're right. I didn't realised the difference. Now it works as it should ;) Thanks, Lothar On Mon, 16 Jan 2006, Lothar Krenzien [EMAIL PROTECTED] wrote: fileset dir=${out.dir}/web/WEB-INF/classes include name=**/*.class/ /fileset

Re: running junit from ant

2006-01-16 Thread Lothar Krenzien
I can't believe it because the test target depends on the compile target and I included the output dir (where the compiler stores the classes) in my classpath. In the debug output I can see that the classes are really included. [junit] '-classpath' ...

Re: running junit from ant

2006-01-16 Thread Stefan Bodewig
On Mon, 16 Jan 2006, Lothar Krenzien [EMAIL PROTECTED] wrote: fileset dir=${out.dir}/web/WEB-INF/classes include name=**/*.class/ /fileset should be pathelement location=${out.dir}/web/WEB-INF/classes/ or otherwise you are

Re: running junit from ant

2006-01-15 Thread Stefan Bodewig
On Fri, 13 Jan 2006, Lothar Krenzien [EMAIL PROTECTED] wrote: I can't believe it because the test target depends on the compile target and I included the output dir (where the compiler stores the classes) in my classpath. In the debug output I can see that the classes are really included.

Re: running junit from ant

2006-01-13 Thread Lothar Krenzien
Hi Stefan, the TestRunner class was just a try because normally I start the TestSuite class generated by eclipse and then get the gui. I thought that could be the problem. Now I tried to start the single testcases (that extends TestCase) and get only a ClassNotFoundException). But I can't

Re: running junit from ant

2006-01-12 Thread Lothar Krenzien
Here's an extract of the diagnostic output (ant -diagnostic) : --- Ant diagnostics report --- Apache Ant version 1.6.5 compiled on June 2 2005 --- Implementation Version (JDK1.2+ only) --- core tasks :

Re: running junit from ant

2006-01-12 Thread Stefan Bodewig
On Thu, 12 Jan 2006, Lothar Krenzien [EMAIL PROTECTED] wrote: --- Tasks availability --- image : Missing dependency com.sun.media.jai.codec.FileSeekableStream sshexec : Missing dependency

Re: running junit from ant

2006-01-11 Thread Lothar Krenzien
Hi Stefan, of course I've tried different formatters, with and without usefile. But I don't get any output. Only when I use the .class extension in the filename for the TestSuite class I get an ClassNotFoundException, otherwise nothing happens. Thanks, Lothar Ant Users List

Re: running junit from ant

2006-01-11 Thread Petar Tahchiev
On 11/01/06, Lothar Krenzien [EMAIL PROTECTED] wrote: Hi Stefan, of course I've tried different formatters, with and without usefile. But I don't get any output. Only when I use the .class extension in the filename for the TestSuite class I get an ClassNotFoundException, otherwise nothing

Re: running junit from ant

2006-01-11 Thread lkrenzien
Hi Petar, the problem is, that I want to execute a JUnit test suite (not only a single test) genereted by the eclipse wizard, but don't get any output/statistics ... back. As I said I tried it with different formatters, different versions of the test suite name (with and without package name,

Re: running junit from ant

2006-01-11 Thread Stefan Bodewig
On Wed, 11 Jan 2006, Lothar Krenzien [EMAIL PROTECTED] wrote: of course I've tried different formatters, with and without usefile. But I don't get any output. Strange. It should work, and it does for many people, including myself. Can you run ant -debug to see what is going on in your case?

Re: running junit from ant

2006-01-10 Thread Stefan Bodewig
On Tue, 10 Jan 2006, Lothar Krenzien [EMAIL PROTECTED] wrote: When I run a JUnit test suite from ant I would like to see at least the result of the tests. At the moment only errors are logged. That's what the brief formatter does. But you should be getting the summary given your task. It