No, there isn't. (Unless you're using TestNG and have an appropriate group
which you can exclude through excludedGroups).

/Anders

On Mon, May 16, 2011 at 15:54, eyal edri <[email protected]> wrote:

> Hi,
>
> Is there a way to skip a single junit test while running from command line
> (without changing the java code or pom.xml?)
>
> mvn install -DskipTests -> this will work for all tests
>
> so something like mvn install -DskipTests='path/to/test/Test.java'  to
> ignore a single one... ?
>
>
> thanks!
>

Reply via email to