lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jason Rutherglen <jason.rutherg...@gmail.com>
Subject Re: Execute a testcase method via ant?
Date Tue, 23 Jun 2009 23:42:38 GMT
More like ant test -Dtestcase=TestSort -Dtestmethod=testMultiSort

or

ant test -Dtestcase=TestSort.testMultiSort

I Googled a lot for "ant junit test method" and variants.  Couldn't find
anything, seems like a custom JUnit task that does reflection could be used?

On Tue, Jun 16, 2009 at 7:22 PM, Shai Erera <serera@gmail.com> wrote:

> You can "ant test -Dtestcase=TestSort", TestSort is an example.
> You can also "ant test -Dtestpackage=search" - execute all *.search.*
> tests.
> "ant test -Dtestpackageroot=search" would search *.search tests.
>
> Is that what you were looking for?
>
> On Wed, Jun 17, 2009 at 2:20 AM, Jason Rutherglen <
> jason.rutherglen@gmail.com> wrote:
>
>> Doesn't look like this is possible today, though could be handy?
>>
>
>

Mime
View raw message