This is an automated email from the ASF dual-hosted git repository. sor pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/maven-surefire.git
The following commit(s) were added to refs/heads/master by this push: new d75779a Update JUnit Platform usage documentation d75779a is described below commit d75779a7ec0a32330e6dbd31ea034f01f4ac78e9 Author: Christian Stein <sormu...@gmail.com> AuthorDate: Wed Oct 3 10:38:54 2018 +0200 Update JUnit Platform usage documentation - fix wording - link web site and user-guide - upgrade examples from 5.2.0 to 5.3.1 --- .../src/site/apt/examples/junit-platform.apt.vm | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/maven-surefire-plugin/src/site/apt/examples/junit-platform.apt.vm b/maven-surefire-plugin/src/site/apt/examples/junit-platform.apt.vm index 670dd56..f0cc7b4 100644 --- a/maven-surefire-plugin/src/site/apt/examples/junit-platform.apt.vm +++ b/maven-surefire-plugin/src/site/apt/examples/junit-platform.apt.vm @@ -40,7 +40,7 @@ Using JUnit 5 Platform <dependency> <groupId>org.junit.jupiter</groupId> <artifactId>junit-jupiter-engine</artifactId> - <version>5.2.0</version> + <version>5.3.1</version> <scope>test</scope> </dependency> [...] @@ -55,7 +55,7 @@ Using JUnit 5 Platform (e.g., <<<src/test/java>>>). If you want to write and execute JUnit 3 or 4 tests via the JUnit Platform add the Vintage Engine to the - dependencies: + dependencies, which transitively pulls in (and requires) <<<junit:junit:4.12>>>: +---+ <dependencies> @@ -63,13 +63,17 @@ Using JUnit 5 Platform <dependency> <groupId>org.junit.vintage</groupId> <artifactId>junit-vintage-engine</artifactId> - <version>5.2.0</version> + <version>5.3.1</version> <scope>test</scope> </dependency> [...] </dependencies> +---+ + For more information on using JUnit 5, that is the JUnit Platform, JUnit Jupiter, and JUnit Vintage, + see the {{{https://junit.org/junit5/}JUnit 5 web site}} + and the {{{https://junit.org/junit5/docs/current/user-guide/}JUnit 5 User Guide}}. + * Provider Selection If nothing is configured, Surefire detects which JUnit version to use by the following algorithm: @@ -147,7 +151,7 @@ else * To include <<<tags>>> or <<<tag expressions>>>, use <<<groups>>>. - * To exclude <<<tags>>> or <<<tag expressions>>>, use either <<<excludedGroups>>>. + * To exclude <<<tags>>> or <<<tag expressions>>>, use <<<excludedGroups>>>. +---+ ... @@ -190,6 +194,7 @@ else junit.jupiter.conditions.deactivate = * junit.jupiter.extensions.autodetection.enabled = true junit.jupiter.testinstance.lifecycle.default = per_class + junit.jupiter.execution.parallel.enabled = true </configurationParameters> </properties> </configuration>