Skip to content

Commit 2f40c9d

Browse files
committed
Fix JUnit version doco
1 parent b81536d commit 2f40c9d

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

docs/src/docs/asciidoc/gradle-plugin.adoc

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,8 @@ When the `classpathJar` property is set, the `classpath` property is _ignored_.
220220
This plugin supports running tests on the
221221
https://junit.org/junit5/docs/current/user-guide/[JUnit Platform] as native images. This
222222
means that tests will be compiled and executed as native code.
223-
The minimal supported version is JUnit Platform 5.8.1.
223+
224+
NOTE: The minimum supported version is JUnit 5.8.1 (JUnit Platform 1.8.1, JUnit Jupiter 5.8.1, JUnit Vintage 5.8.1)
224225

225226
In theory, any `TestEngine` supported on the JUnit Platform should be supported by this
226227
plugin as long as the programming language used by the `TestEngine` and the programming
@@ -235,8 +236,6 @@ Currently, this feature requires the execution of the tests in the classic "JVM"
235236
./gradlew nativeTest
236237
----
237238

238-
NOTE: This plugin requires JUnit Platform 1.8 or higher.
239-
240239
[[testing-support-disabling]]
241240
=== Disabling testing support
242241

docs/src/docs/asciidoc/maven-plugin.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,8 @@ In this case, the arguments that will be passed to the `native-image` executable
301301
This plugin supports running tests on the
302302
https://junit.org/junit5/docs/current/user-guide/[JUnit Platform] as native images. This
303303
means that tests will be compiled and executed as native code.
304-
The minimal supported version is JUnit Platform 5.8.1.
304+
305+
NOTE: The minimum supported version is JUnit 5.8.1 (JUnit Platform 1.8.1, JUnit Jupiter 5.8.1, JUnit Vintage 5.8.1)
305306

306307
In theory, any `TestEngine` supported on the JUnit Platform should be supported by this
307308
plugin as long as the programming language used by the `TestEngine` and the programming
@@ -320,8 +321,7 @@ Running `mvn -Pnative test` will then build and run native tests.
320321
[[testing-support-version-compatibility]]
321322
=== Version compatibility
322323

323-
This plugin requires JUnit Platform 1.8 or higher and Maven Surefire 2.22.0 or higher to
324-
run tests within a native image.
324+
This plugin requires Maven Surefire 2.22.0 or higher to run tests within a native image.
325325

326326
Each version of the Maven Surefire plugin has a dependency on a particular version of the
327327
JUnit Platform. You therefore need to ensure that Maven Surefire is using at least version

0 commit comments

Comments
 (0)