This sounds like a great change!  It would also allow us to test the
other (index, store, etc.) packages too?

I don't think this is possible today, though I'm no expert with ant so
it's entirely possible I've missed it.

Presumably once we "modularize", then the "module" would be the
natural unit for testing (but it seems like this will be a ways
off...).

Mike

On Mon, Apr 27, 2009 at 7:01 AM, Shai Erera <ser...@gmail.com> wrote:
> Hi
>
> I noticed that one can define "testcase" to execute just one test class,
> which is convenient. However, I didn't notice any equivalent for testing a
> whole package. Lately, when handling all those search issues, I often wanted
> to run all the tests in o.a.l.search and just them, but couldn't so I either
> ran a single test class when it was obvious (like TestSort) or the
> "test-core" when it was less obvious (like changes to Collector, or
> BooleanScorer).
>
> I wrote a simple patch which adds this capability to common-build.xml. I
> would like to confirm first that you agree to add this change and that I
> didn't miss it and this capability exists elsewhere already.
>
> Shai
>

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

Reply via email to