Groovy lets you run AntUnit tests (in Groovy AntBuilder syntax) and see
the results using the normal Green bar if you use Groovy's AllTestSuite.
Otherwise, just "run as" -> "ant..." and point to your ant 1.7 jar files
so you don't get the built-in ant jars and you can expect output as per below:
Buildfile: C:\Documents and Settings\Paul\workspaceAU\AntUnitProj\build.xml
all:
[au:antunit] Build File: C:\Documents and
Settings\Paul\workspaceAU\AntUnitProj\build.xml
[au:antunit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.047 sec
[au:antunit] Target: test1 took 0.032 sec
BUILD SUCCESSFUL
Total time: 406 milliseconds
Cheers, Paul.
[EMAIL PROTECTED] wrote:
I would not use Eclipse for that - use Ant itself.
So from inside Eclipse use Ants own buildfile for starting the testcases.
Oh yes - another reason: Eclipse cant run AntUnit-Tests AFAIK ;-)
Jan
-----Ursprüngliche Nachricht-----
Von: zheng yiyu [mailto:[EMAIL PROTECTED]
Gesendet: Mittwoch, 27. September 2006 08:31
An: dev@ant.apache.org
Betreff: Hi I need some help
Could anyone tell me how to run the testcases of ant in
eclipse ? I just mean the testcases in the trunk I checked out
from the svn.
Thanks.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]