maven.rst
changeset 1512 db0fedd5662e
parent 1465 5f87a35ab2b8
child 1580 638073b869c6
--- a/maven.rst	Mon Sep 09 11:32:25 2013 +0300
+++ b/maven.rst	Tue Sep 24 16:57:01 2013 +0300
@@ -65,10 +65,16 @@
 
 How to run single unit test?
 ============================
-::
+
+``test`` property substituded to ``**/${test}.java`` pattern and override any
+include/exclude patterns::
 
   $ mvn test -Dtest=SeriousComponentTest
 
+or mostly same::
+
+  $ mvn test-compile surefire:test -Dtest=RunMe
+
 How do I skip the tests during the default lifecycle?
 =====================================================
 ::