maven-surefire-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From krosenv...@apache.org
Subject svn commit: r1053437 - /maven/surefire/trunk/maven-surefire-plugin/src/site/apt/examples/junit.apt.vm
Date Tue, 28 Dec 2010 21:10:38 GMT
Author: krosenvold
Date: Tue Dec 28 21:10:37 2010
New Revision: 1053437

URL: http://svn.apache.org/viewvc?rev=1053437&view=rev
Log:
[SUREFIRE-678] Documentation upgrade

Submitted by Anders Hammar, patch applied unmodified

Modified:
    maven/surefire/trunk/maven-surefire-plugin/src/site/apt/examples/junit.apt.vm

Modified: maven/surefire/trunk/maven-surefire-plugin/src/site/apt/examples/junit.apt.vm
URL: http://svn.apache.org/viewvc/maven/surefire/trunk/maven-surefire-plugin/src/site/apt/examples/junit.apt.vm?rev=1053437&r1=1053436&r2=1053437&view=diff
==============================================================================
--- maven/surefire/trunk/maven-surefire-plugin/src/site/apt/examples/junit.apt.vm (original)
+++ maven/surefire/trunk/maven-surefire-plugin/src/site/apt/examples/junit.apt.vm Tue Dec
28 21:10:37 2010
@@ -32,16 +32,16 @@ Using JUnit
   Surefire supports three different generations of JUnit: JUnit 3.8.x, JUnit 4.x (serial
provider) and JUnit 4.7 (junit-core provider
   with parallel support). The provider is selected based on the JUnit version in your project
and the configuration parameters (for parallel).
 
-* Upgrade check for JUnit  4.x
+* Upgrade check for JUnit 4.x
 
-  As of version 2.7, the algorithm for choosing which tests to change
-  has run. Form 2.7 and on only run valid JUnit tests for all versions of JUnit, where older
versions
-  would run invalid tests that satisfied a naming convention.
-
-  When upgrading from a version < 2.7 to a newer version, the build can be run with
-  the flag -Dsurefire.junit4.upgradecheck which will notify you of any tests that
-  will not be run any more (and the build fails). This is only meant to be used as a tool
-  when upgrading to check that all your tests will be run. It is a transitional
+  As of Surefire version 2.7, the algorithm for choosing which tests to run
+  has changed. From 2.7 and on, only valid JUnit tests are run for all versions of JUnit,
where older versions
+  of the plugin would also run invalid tests that satisfied the naming convention.
+
+  When upgrading from a Surefire version prior to 2.7, the build can be run with
+  the flag -Dsurefire.junit4.upgradecheck. This will perform a check and notify you of any
invalid tests that
+  will not be run with this version of Surefire (and the build fails). This is only meant
to be used as a tool
+  when upgrading to check that all expected tests will be run. It is a transitional
   feature that will be removed in a future version of surefire.
 
 * How is the provider chosen ?



Mime
View raw message