Repository: maven-surefire
Updated Branches:
  refs/heads/master c1e16ccb9 -> 3de31efd5


[SUREFIRE-1218] Improve fork-options-and-parallel-execution.html upon 
Stackoverflow users pitfalls


Project: http://git-wip-us.apache.org/repos/asf/maven-surefire/repo
Commit: http://git-wip-us.apache.org/repos/asf/maven-surefire/commit/3de31efd
Tree: http://git-wip-us.apache.org/repos/asf/maven-surefire/tree/3de31efd
Diff: http://git-wip-us.apache.org/repos/asf/maven-surefire/diff/3de31efd

Branch: refs/heads/master
Commit: 3de31efd522a517050a5d8719187ddf7250d47b9
Parents: c1e16cc
Author: Tibor17 <tibo...@lycos.com>
Authored: Sun May 29 14:01:12 2016 +0200
Committer: Tibor17 <tibo...@lycos.com>
Committed: Sun May 29 14:01:12 2016 +0200

----------------------------------------------------------------------
 .../apt/examples/fork-options-and-parallel-execution.apt.vm     | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/maven-surefire/blob/3de31efd/maven-surefire-plugin/src/site/apt/examples/fork-options-and-parallel-execution.apt.vm
----------------------------------------------------------------------
diff --git 
a/maven-surefire-plugin/src/site/apt/examples/fork-options-and-parallel-execution.apt.vm
 
b/maven-surefire-plugin/src/site/apt/examples/fork-options-and-parallel-execution.apt.vm
index b54bc79..eebe525 100644
--- 
a/maven-surefire-plugin/src/site/apt/examples/fork-options-and-parallel-execution.apt.vm
+++ 
b/maven-surefire-plugin/src/site/apt/examples/fork-options-and-parallel-execution.apt.vm
@@ -136,7 +136,8 @@ Fork Options and Parallel Test Execution
   thread count. Since of ${project.artifactId}:2.18, you can apply the <JCIP>
   annotation <<<@net.jcip.annotations.NotThreadSafe>>> on the Java class of 
JUnit
   test (pure test class, <Suite>, <Parameterized>, etc.) in order to execute 
it in
-  single Thread instance. The Thread has name 
<maven-surefire-plugin@NotThreadSafe>.
+  single Thread instance. The Thread has name 
<maven-surefire-plugin@NotThreadSafe>
+  and it is executed at the end of the test run.
 
   Just use project dependency <net.jcip:jcip-annotations:1.0> or another 
artifact
   <com.github.stephenc.jcip:jcip-annotations:1.0-1> with Apache License 2.0.
@@ -169,6 +170,8 @@ Fork Options and Parallel Test Execution
   suite classes are executed in single thread.
   You can also annotate individual test class referenced by <Suite>, and the 
other
   unannotated test classes in the <Suite> can be subject to run in parallel.
+  This way you can isolate conflicting groups of tests and still run their
+  individual tests in parallel.
 
   <<Note:>> As designed by JUnit runners, the static methods annotated with 
e.g.
   <@Parameters>, <@BeforeClass> and <@AfterClass> are called in parent thread.

Reply via email to