maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adrien Ruffié <adriennolar...@hotmail.fr>
Subject Exclude unit test by parameter
Date Tue, 09 Dec 2014 15:01:11 GMT
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é


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message