Skip to content

Commit 4c04fee

Browse files
committed
Polish release notes for 5.7.0-M1
1 parent e58f15f commit 4c04fee

File tree

1 file changed

+25
-21
lines changed

1 file changed

+25
-21
lines changed

documentation/src/docs/asciidoc/release-notes/release-notes-5.7.0-M1.adoc

Lines changed: 25 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,15 @@
55

66
*Scope:*
77

8-
* New `@EnabledIf`/`@DisabledIf` for conditional execution based on method calls
9-
* New `MethodOrderer` named `DisplayName`
10-
* New `DisplayNameGenerator` named `Simple` that removes empty parentheses
11-
* `assertThrows` for Kotlin can now be used with suspending functions
12-
* `TestExecutionListener` deactivation via configuration parameter
8+
* New `@EnabledIf`/`@DisabledIf` annotations for conditional execution based on method
9+
calls
10+
* New `MethodOrderer` named `DisplayName` that orders methods based on their display names
11+
* New `DisplayNameGenerator` named `Simple` that removes parentheses for empty parameter
12+
lists
13+
* `assertThrows()` for Kotlin can now be used with suspending functions
14+
* `TestExecutionListener` deactivation via a configuration parameter
1315
* `EngineTestKit` now allows for testing post-discovery filtering and pruning
14-
* Interoperability improvements for the Vintage test engine with Spock
16+
* Improved interoperability with Spock for the Vintage test engine
1517

1618
For a complete list of all _closed_ issues and pull requests for this release, consult the
1719
link:{junit5-repo}+/milestone/44?closed=1+[5.7 M1] milestone page in the JUnit repository
@@ -39,16 +41,17 @@ on GitHub.
3941
one to specify a comma-separated list of patterns for deactivating
4042
`TestExecutionListener` implementations registered via the `ServiceLoader` mechanism.
4143
* The `@Testable` annotation may now be applied _directly_ to fields.
42-
* Add `Node.DynamicTestExecutor#execute(TestDescriptor, EngineExecutionListener)` for
43-
engines that wish to pass a custom `EngineExecutionListener` and cancel or wait for the
44-
execution of a submitted test via the returned `Future`.
45-
* Add `EngineExecutionListener.NOOP` and change all declared methods to have empty default
44+
* New `Node.DynamicTestExecutor#execute(TestDescriptor, EngineExecutionListener)` method
45+
for engines that wish to provide a custom `EngineExecutionListener` and cancel or wait
46+
for the execution of a submitted test via the returned `Future`.
47+
* New `EngineExecutionListener.NOOP` `EngineExecutionListener` implementation.
48+
* All declared methods in the `EngineExecutionListener` API now have empty `default`
4649
implementations.
4750
* The `EngineTestKit` now reuses the same test discovery and execution logic as the
48-
`Launcher`. Thus, it's now possible to test that an engine's behavior in the presence of
51+
`Launcher`. Thus, it's now possible to test an engine's behavior in the presence of
4952
post-discovery filters (e.g. tag filters) and with regard to pruning.
50-
* The TestKit now allows to match conditions with events loosely, i.e. an incomplete match
51-
with or without a fixed order.
53+
* The `EngineTestKit` now supports matching conditions with events loosely, i.e. an
54+
incomplete match with or without a fixed order.
5255

5356

5457
[[release-notes-5.7.0-M1-junit-jupiter]]
@@ -62,25 +65,26 @@ on GitHub.
6265

6366
==== New Features and Improvements
6467

65-
* New annotations `@EnabledIf` and `@DisabledIf` can be used to enable/disable a test
66-
or container based on static condition methods.
68+
* New `@EnabledIf` and `@DisabledIf` annotations can be used to enable or disable a test
69+
or container based on condition methods.
6770
* New `MethodOrderer` named `DisplayName` that sorts test methods alphanumerically based
68-
on their display names.
71+
on their display names.
6972
* New `DisplayNameGenerator` named `Simple` (based on `Standard`) that removes trailing
70-
parentheses for methods with no parameters.
71-
* `assertThrows` for Kotlin can now be used with suspending functions and other lambda
73+
parentheses for methods with no parameters.
74+
* `assertThrows()` for Kotlin can now be used with suspending functions and other lambda
7275
contexts that require inlining.
7376
* The `JRE` enum now provides a static `currentVersion()` method that returns the enum
7477
constant for the currently executing JRE, e.g. for use in custom execution conditions
7578
and other extensions.
79+
* The `name` attribute of `@ParameterizedTest` is now clearly documented to be a
80+
`MessageFormat` pattern.
7681
* Synthetic constructors are now ignored when instantiating a test class.
7782
* The Javadoc for the `provideTestTemplateInvocationContexts()` method in
7883
`TestTemplateInvocationContextProvider` has been aligned with the actual implementation.
7984
Providers are now officially allowed to return an empty stream, and the error message
8085
when all provided streams are empty is now more helpful.
81-
* The `name` attribute of `@ParameterizedTest` is now clearly documented to be a
82-
`MessageFormat` pattern.
83-
* New `getDisplayName()` method in `MethodDescriptor`.
86+
* New `getDisplayName()` method in `MethodDescriptor` for use in `MethodOrderer`
87+
implementations.
8488

8589

8690
[[release-notes-5.7.0-M1-junit-vintage]]

0 commit comments

Comments
 (0)