Re: Running a single unit test

2010-10-17 Thread Henry Robinson
You need to use -Dtestcase, not -Dtest, as per below:

ant test -Dtestcase=YourTestHere

HTH,

Henry

On 17 October 2010 17:34, Michi Mutsuzaki  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


Running a single unit test

2010-10-17 Thread Michi Mutsuzaki
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