Skip to content

Commit e58f15f

Browse files
committed
Prepare release notes for 5.7 M1
1 parent 07c678d commit e58f15f

File tree

1 file changed

+19
-23
lines changed

1 file changed

+19
-23
lines changed

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

Lines changed: 19 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,17 @@
11
[[release-notes-5.7.0-M1]]
22
== 5.7.0-M1
33

4-
*Date of Release:*
4+
*Date of Release:* April 19, 2020
55

6-
*Scope:* ❓
6+
*Scope:*
7+
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
13+
* `EngineTestKit` now allows for testing post-discovery filtering and pruning
14+
* Interoperability improvements for the Vintage test engine with Spock
715

816
For a complete list of all _closed_ issues and pull requests for this release, consult the
917
link:{junit5-repo}+/milestone/44?closed=1+[5.7 M1] milestone page in the JUnit repository
@@ -13,10 +21,6 @@ on GitHub.
1321
[[release-notes-5.7.0-M1-junit-platform]]
1422
=== JUnit Platform
1523

16-
==== Bug Fixes
17-
18-
* ❓
19-
2024
==== Deprecations and Breaking Changes
2125

2226
* In the `EngineTestKit` API, the `all()`, `containers()`, and `tests()` methods in
@@ -56,31 +60,27 @@ on GitHub.
5660
* The Jupiter engine now ignores `MethodSelectors` for methods in non-Jupiter test
5761
classes instead of failing for missing methods in such cases.
5862

59-
==== Deprecations and Breaking Changes
60-
61-
* ❓
62-
6363
==== New Features and Improvements
6464

65+
* New annotations `@EnabledIf` and `@DisabledIf` can be used to enable/disable a test
66+
or container based on static condition methods.
67+
* New `MethodOrderer` named `DisplayName` that sorts test methods alphanumerically based
68+
on their display names.
69+
* New `DisplayNameGenerator` named `Simple` (based on `Standard`) that removes trailing
70+
parentheses for methods with no parameters.
6571
* `assertThrows` for Kotlin can now be used with suspending functions and other lambda
6672
contexts that require inlining.
73+
* The `JRE` enum now provides a static `currentVersion()` method that returns the enum
74+
constant for the currently executing JRE, e.g. for use in custom execution conditions
75+
and other extensions.
6776
* Synthetic constructors are now ignored when instantiating a test class.
6877
* The Javadoc for the `provideTestTemplateInvocationContexts()` method in
6978
`TestTemplateInvocationContextProvider` has been aligned with the actual implementation.
7079
Providers are now officially allowed to return an empty stream, and the error message
7180
when all provided streams are empty is now more helpful.
72-
* The `JRE` enum now provides a static `currentVersion()` method that returns the enum
73-
constant for the currently executing JRE, e.g. for use in custom execution conditions
74-
and other extensions.
7581
* The `name` attribute of `@ParameterizedTest` is now clearly documented to be a
7682
`MessageFormat` pattern.
77-
* New `DisplayNameGenerator` named `Simple` (based on `Standard`) that removes trailing
78-
parentheses for methods with no parameters.
79-
* New `MethodOrderer` named `DisplayName` that sorts test methods alphanumerically based
80-
on their display names.
8183
* New `getDisplayName()` method in `MethodDescriptor`.
82-
* New annotations `@EnabledIf` and `@DisabledIf` can be used to enable/disable a test
83-
or container based on static condition methods.
8484

8585

8686
[[release-notes-5.7.0-M1-junit-vintage]]
@@ -92,10 +92,6 @@ on GitHub.
9292
classes that cannot be found via reflection. This allows selecting Spock feature methods
9393
by their source code name even though they have a generated method name in the bytecode.
9494

95-
==== Deprecations and Breaking Changes
96-
97-
* ❓
98-
9995
==== New Features and Improvements
10096

10197
* The internal `JUnit4VersionCheck` class -- which verifies that a supported version of

0 commit comments

Comments
 (0)