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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to