lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erik Hatcher <e...@ehatchersolutions.com>
Subject Re: ant one test
Date Tue, 11 Apr 2006 18:13:47 GMT
There is no standard way to do this with Ant per se, but I always  
build this capability in.  For Lucene, it's this incantation:

	ant -Dtestcase=TestQueryParser test

where you can put the simple class name of any JUnit test case after  
testcase=...

	Erik


On Apr 11, 2006, at 2:08 PM, Marvin Humphrey wrote:

> Greets,
>
> Quick question: how to I build then run just one test in the test  
> suite?  For a Perl distribution, it's one of these:
>
>     make; perl -Mblib t/test_file.t
>     make test TEST_FILES=t/test_file.t
>
> What's the Java equivalent?
>
> I'm working on the bytecount-as-String-prefix problem again, and I  
> have some failing tests to troubleshoot.
>
> Marvin Humphrey
> Rectangular Research
> http://www.rectangular.com/
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-dev-help@lucene.apache.org


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


Mime
View raw message