maven-surefire-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ol...@apache.org
Subject svn commit: r1074854 - /maven/surefire/trunk/maven-failsafe-plugin/src/site/apt/examples/single-test.apt
Date Sat, 26 Feb 2011 14:40:27 GMT
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
++---+



Mime
View raw message