You are viewing a plain text version of this content. The canonical link for it is here.
Posted to surefire-commits@maven.apache.org by ol...@apache.org on 2011/02/26 15:40:27 UTC

svn commit: r1074854 - /maven/surefire/trunk/maven-failsafe-plugin/src/site/apt/examples/single-test.apt

Author: olamy
Date: Sat Feb 26 14:40:26 2011
New Revision: 1074854

URL: http://svn.apache.org/viewvc?rev=1074854&view=rev
Log:
update failsafe documentation for SUREFIRE-577

Modified:
    maven/surefire/trunk/maven-failsafe-plugin/src/site/apt/examples/single-test.apt

Modified: maven/surefire/trunk/maven-failsafe-plugin/src/site/apt/examples/single-test.apt
URL: http://svn.apache.org/viewvc/maven/surefire/trunk/maven-failsafe-plugin/src/site/apt/examples/single-test.apt?rev=1074854&r1=1074853&r2=1074854&view=diff
==============================================================================
--- maven/surefire/trunk/maven-failsafe-plugin/src/site/apt/examples/single-test.apt (original)
+++ maven/surefire/trunk/maven-failsafe-plugin/src/site/apt/examples/single-test.apt Sat Feb 26 14:40:26 2011
@@ -2,8 +2,9 @@
   Running a Single Test
   ------
   Allan Ramirez
+  Olivier Lamy
   ------
-  July 2006
+ 2011-02-26
   ------
   
 ~~ Licensed to the Apache Software Foundation (ASF) under one
@@ -49,3 +50,21 @@ mvn -Dit.test=ITCi*le verify
 +---+
 mvn -Dit.test=ITSquare,ITCi*le verify
 +---+
+
+Running a set of methods in a Single Test Class
+
+  With version 2.7.3, you can run only n tests in a single Test Class.
+  
+  << NOTE : it's supported for junit 4.x and TestNG. >>
+  
+  You must use the following syntax
+  
++---+
+mvn -Dit.test=TestCircle#mytest verify
++---+
+
+  You can use patterns too
+  
++---+
+mvn -Dit.test=TestCircle#*test* verify
++---+