Details
-
New Feature
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.0.0, 0.98.10, 2.0.0
-
None
Description
I've added a simple way to specify unit test classes to skip when executing unit test runs.
I've added a -D variable called test.exclude.pattern that you can using like this:
mvn test -Dtest.exclude.pattern=**/TestFoo.java,**/TestBar.java
to exclude the unit tests form TestFoo and TestBar in this run. By default there is nothing excluded.