Use the parameter -Dtest=MyTest at the command line. NB: do not specify the entire package (org.apache.x.y.MyTest)
http://maven.apache.org/plugins/maven-surefire-plugin/examples/inclusion-exclusion.html
You can also wildcard them like
-Dtest=XX*YYY
No comments:
Post a Comment