You need to use -Dtestcase, not -Dtest, as per below:

ant test -Dtestcase=YourTestHere

HTH,

Henry

On 17 October 2010 17:34, Michi Mutsuzaki <mic...@yahoo-inc.com> wrote:

> Hello,
>
> How do I run a single unit test? I tried this:
>
> $ ant test -Dtest=SessionTest
>
> but it still runs all the tests.
>
> Thanks!
> --Michi
>
>


-- 
Henry Robinson
Software Engineer
Cloudera
415-994-6679

Reply via email to