# HG changeset patch # User Oleksandr Gavenko # Date 1355171424 -7200 # Node ID 6c935c71520e2d092fa91e1eef9adcaefb8eab46 # Parent 4920ffd155a455b85e6279987c151607682a01cc How to run single unit test? diff -r 4920ffd155a4 -r 6c935c71520e maven.rst --- a/maven.rst Mon Dec 10 19:20:51 2012 +0200 +++ b/maven.rst Mon Dec 10 22:30:24 2012 +0200 @@ -58,6 +58,12 @@ mvn exec:java -Dexec.mainClass="com.vineetmanohar.module.Main" -Dexec.args="arg0 arg1 arg2" +How to run single unit test? +============================ +:: + + $ mvn test -Dtest=SeriousComponentTest + How do I skip the tests during the default lifecycle? ===================================================== ::