If you're using an IDE, this should be about as easy as right-clicking
on the test class. It is in IntelliJ.
And if you aren't using an IDE, you should!

On Tue, Aug 10, 2010 at 1:08 PM, Shannon Quinn <[email protected]> wrote:
> Hi all,
>
> I apologize for what I'm sure is a question with a very easy answer, but how
> does one selectively run JUnit tests? I've tried:
>
> mvn test -Dtest=MySpecificTestCase
>
> but it errors out from an inability to find any tests to run. I also tried
> the full path (both in terms of java packages, and on the literal
> filesystem) to no avail. I'd rather not keep running the entire test suite
> to determine whether or not my tests are passing. Help would be greatly
> appreciated.
>
> Thank you!
>
> Regards,
> Shannon
>

Reply via email to