ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <>
Subject Re: Another JUnit Related Question....
Date Tue, 12 Dec 2000 09:01:38 GMT
Aaron Rustad <> wrote:

> I have been able to get JUnit to work with Ant....but the problem (I
> think) I am having is that I can't execute the TestCase files in
> another directory....this is what I have.

You cannot specify the directory the <junit> task is being run from,

> This is the resulting messages:
> test:
>     [junit] Running tests.database.DataManagerTestCase 
>     [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0 sec 
>     [junit] TEST tests.database.DataManagerTestCase FAILED

nothing more? No reason why the test failed?

> I believe the problem is that when I do a build I have it putting
> the src files in ./build/ .

Not easy to diagnose. Does <junit> find your class? What is the reason
for the error.


View raw message