ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Conor MacNeill <co...@apache.org>
Subject Re: JUnit task - how to call single test method
Date Mon, 18 Jul 2005 12:10:20 GMT
Ah, sorry - you are right - no way AFAIK.

Conor


Martin Burger wrote:
> Conor MacNeill schrieb am 18.07.2005 13:01:
> 
>> Look at the <test> element.
>>
>>      <test name="${testcase}"/>
>>
>> Also, for an example, look at Ant's build file.
>>
> 
> That executes all test methods defined in $testcase, doesn't?
> 
> I looked meantime at the source code, I think it is not possible to
> execute a single test method. JUnitTask.executeAsForked(...) and
> JUnitTask.executeInVM(...) executes the whole test suite.
> 
> Regards,
>    Martin
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
> 
> 

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


Mime
View raw message