You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by javadev <ja...@gmail.com> on 2012/07/25 22:43:16 UTC
how to use regular expression in mvn test command
in below link
http://maven.apache.org/plugins/maven-surefire-plugin/examples/single-test.html
i do see that i can use pattern with mvn test command.
But below test command is not working for me.
mvn test -Dtest=MyTest[1-3]_test
it is giving me no test found. Where as i have MyTest1_test, MyTest2_test,
MyTest3_test, MyTest4_test.
I want to run first three at once (or any ranged Junits).
Please advice me how can i achieve this.
--
View this message in context: http://maven.40175.n5.nabble.com/how-to-use-regular-expression-in-mvn-test-command-tp5714915.html
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org