1
1
[[release-notes-5.11.0]]
2
2
== 5.11.0
3
3
4
- *Date of Release:* ❓
4
+ *Date of Release:* August 14, 2024
5
5
6
6
*Scope:*
7
7
@@ -88,7 +88,7 @@ on GitHub.
88
88
- The Console Launcher supports specifying selectors via their identifiers using the
89
89
`--select` option. For example, `--select class:foo.Bar` will run all tests in the
90
90
`foo.Bar` class.
91
- - Similarly, the JUnit Platform Suite engine provides a new `@Select("<identifier>)`
91
+ - Similarly, the JUnit Platform Suite engine provides a new `@Select("<identifier>" )`
92
92
annotation.
93
93
* The Console Launcher now provides a `--version` option.
94
94
* `NamespacedHierarchicalStore` now throws an `IllegalStateException` for any attempt to
@@ -102,7 +102,7 @@ on GitHub.
102
102
exception's _root_ cause matches all supplied conditions, for use with the
103
103
`EngineTestKit`.
104
104
* `ReflectionSupport` now supports scanning for classpath resources.
105
- * Introduce `@BeforeSuite` and `@AfterSuite` annotations .
105
+ * Introduce `@BeforeSuite` and `@AfterSuite` lifecycle methods for `@Suite` classes .
106
106
107
107
108
108
[[release-notes-5.11.0-junit-jupiter]]
@@ -156,9 +156,8 @@ on GitHub.
156
156
close the annotated resource after test execution. See the
157
157
<<../user-guide/index.adoc#writing-tests-built-in-extensions-AutoClose, User Guide>> for
158
158
details.
159
- * `@TempDir` now suppresses `NoSuchFileException` when attempting to delete files that may
160
- have been already deleted by another thread or process.
161
- * `JAVA_23` has been added to the `JRE` enum for use with JRE-based execution conditions.
159
+ * `JAVA_23` and `JAVA_24` have been added to the `JRE` enum for use with JRE-based
160
+ execution conditions.
162
161
* New <<../user-guide/index.adoc#writing-tests-exceptions, Exception Handling>>
163
162
documentation in the User Guide.
164
163
* Improved documentation for <<../user-guide/index.adoc#writing-tests-assumptions,
@@ -175,12 +174,13 @@ on GitHub.
175
174
arguments for a `@ParameterizedTest`. See the
176
175
<<../user-guide/index.adoc#writing-tests-parameterized-tests-display-names, User Guide>>
177
176
for details.
178
- * `JAVA_24` has been added to the `JRE` enum for use with JRE-based execution conditions.
179
177
* New `assertInstanceOf` methods added for Kotlin following up with similar Java
180
178
`assertInstanceOf` methods introduced in `5.8` version.
181
179
* New generators in `DynamicTest` that take a `Stream`/`Iterator` of `Named<Executable>`
182
180
along with a convenient `NamedExecutable` interface that can simplify writing dynamic
183
181
tests, in particular in recent versions of Java that support records.
182
+ * `@TempDir` now suppresses `NoSuchFileException` when attempting to delete files that may
183
+ have been already deleted by another thread or process.
184
184
* `@TempDir` now fails fast in case `TempDirFactory::createTempDirectory` returns
185
185
`null`, a file, or a symbolic link to a file.
186
186
* `@TempDir` now fails fast in case the annotated target is of type `File` and
0 commit comments