ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul King <pa...@asert.com.au>
Subject Re: AW: Hi I need some help
Date Wed, 27 Sep 2006 08:03:20 GMT

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.

Jan.Materne@rzf.fin-nrw.de 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:digua009@gmail.com] 
>> 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: dev-unsubscribe@ant.apache.org
> For additional commands, e-mail: dev-help@ant.apache.org
> 
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message