This is an automated email from the ASF dual-hosted git repository.

bdemers pushed a commit to branch SUREFIRE-2249-bdemers
in repository https://gitbox.apache.org/repos/asf/maven-surefire.git

commit b84fa5fe43c7270e8e7fc65c044ee92377493e53
Author: Brian Demers <bdem...@apache.org>
AuthorDate: Mon Jun 17 20:38:49 2024 -0400

    [SUREFIRE-2249] Update doc for parameter 'properties' to include JUnit
    
    The Surefire and Failsafe 'properties' field works with JUnit and TestNG
---
 .../plugin/surefire/AbstractSurefireMojo.java      | 24 +++++++++++++++++++---
 1 file changed, 21 insertions(+), 3 deletions(-)

diff --git 
a/maven-surefire-common/src/main/java/org/apache/maven/plugin/surefire/AbstractSurefireMojo.java
 
b/maven-surefire-common/src/main/java/org/apache/maven/plugin/surefire/AbstractSurefireMojo.java
index f158c68d1..ff99b316a 100644
--- 
a/maven-surefire-common/src/main/java/org/apache/maven/plugin/surefire/AbstractSurefireMojo.java
+++ 
b/maven-surefire-common/src/main/java/org/apache/maven/plugin/surefire/AbstractSurefireMojo.java
@@ -329,9 +329,27 @@ public abstract class AbstractSurefireMojo extends 
AbstractMojo implements Suref
     private Map<String, String> systemPropertyVariables;
 
     /**
-     * List of properties for configuring all TestNG related configurations. 
This is the new preferred method of
-     * configuring TestNG.
-     *
+     * List of properties for configuring the testing provider. This is the 
preferred method of
+     * configuring TestNG and JUnit platform providers.<br><br>
+     * JUnit platform properties may be defined in a {@code 
configurationParameters} section similar to:
+     * <pre><code>
+     * {@literal <properties>}
+     *     {@literal <configurationParameters>}
+     *         junit.jupiter.execution.parallel.enabled = true
+     *         junit.jupiter.execution.parallel.mode.default = concurrent
+     *     {@literal </configurationParameters>}
+     * {@literal </properties>}
+     * </code></pre>
+     * <br>
+     * TestNG property uses the format of:
+     * <pre><code>
+     * {@literal <properties>}
+     *     {@literal <property>}
+     *         {@literal <name>parallel</name>}
+     *         {@literal <value>methods</value>}
+     *     {@literal </property>}
+     * {@literal </properties>}
+     * </code></pre>
      * @since 2.4
      */
     @Parameter

Reply via email to