Skip to content

Commit

Permalink
[SUREFIRE-2249] Update doc for parameter 'properties' to include JUnit
Browse files Browse the repository at this point in the history
The Surefire and Failsafe 'properties' field works with JUnit and TestNG

This closes #750
  • Loading branch information
bdemers authored and michael-o committed Jun 26, 2024
1 parent b8e7c0c commit d626ced
Showing 1 changed file with 17 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -329,9 +329,23 @@ 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} element:
* <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 properties may be defined as distinct element blocks:
* <pre><code>{@literal <properties>}
* {@literal <property>}
* {@literal <name>parallel</name>}
* {@literal <value>methods</value>}
* {@literal </property>}
* {@literal </properties>}</code></pre>
* @since 2.4
*/
@Parameter
Expand Down

0 comments on commit d626ced

Please # to comment.