Thank Robert, 
If I understand correctly, I only need to launch with 

mvn test –Dtest=!com.myapp.test1.*

right ?

-----Message d'origine-----
De : Robert Scholte [mailto:rfscho...@apache.org] 
Envoyé : mardi 9 décembre 2014 19:26
À : Maven Users List
Objet : Re: Exclude unit test by parameter

Please read
http://maven.apache.org/surefire/maven-surefire-plugin/test-mojo.html#test

thanks,
Robert

ps I wonder why you thought the other would work or what/who gave you that hint.

Op Tue, 09 Dec 2014 16:01:11 +0100 schreef Adrien Ruffié
<adriennolar...@hotmail.fr>:

> Hello all,
>
>
> I Have several test packages, for example com.myapp.test1, 
> com.myapp.test2,
> com.myapp.test3
>
> How I can exclude by parameter one package ? for example:
>
>
> mvn test –DskipTests=com.myapp.test1
>
> Or
>
> mvn test –Dtest.exclude=com.myapp.test2
>
>
> I have try both, and no success …
>
>
> Thank and best regards.
>
>
> Adrien Ruffié

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to