Thanks Chris.  This works.  I have previously tried the mvn test
-dtest=xxx.yyy.classname .  do you know why this approach was chosen?  This
seems strange to me, but I may not know why this was done.  

Thanks

Ray

-----Original Message-----
From: Chris Berry [mailto:[EMAIL PROTECTED] 
Sent: Friday, December 23, 2005 1:39 PM
To: Maven Users List; [EMAIL PROTECTED]
Subject:  Re: Running a single test?

mvn -Dtest=MyTest test

Note: MyTest is your java test class.
Note: Use it "unqualified" -- without its package name (e.g. without "
com.myco.") otherwise, this confuses m2

On 12/23/05, Raymond N. Ritz <[EMAIL PROTECTED]> wrote:
>
> Is there a way to run a single junit test case in maven 2?
>
>
>
> Raymond Ritz
>
>
>
>
>


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

Reply via email to