@@ -29,12 +29,12 @@ on GitHub.
29
29
30
30
==== Deprecations and Breaking Changes
31
31
32
- * Since the API Guardian dependency is no longer exported as a runtime but as a
32
+ * Since the API Guardian dependency is no longer exported as a runtime but rather as a
33
33
compile-only dependency to consuming Gradle projects, Gradle builds that define their own
34
34
https://docs.gradle.org/current/userguide/declaring_dependencies.html#sec:what-are-dependency-configurations[dependency configurations]
35
35
may be affected. For example, if the custom configuration is used to manipulate a source
36
36
set's classpath directly, dependency attributes needed for Gradle's variant-aware
37
- dependency management are dropped and API Guardian is missing from the compile
37
+ dependency management are dropped, and API Guardian is missing from the compile
38
38
classpath. In that case, the Java compiler emits warnings which -- depending on your
39
39
configured options -- may cause the build to fail. The solution is to avoid manipulating
40
40
a source set's classpath directly. Instead, its dependency configurations should extend
@@ -71,8 +71,11 @@ on GitHub.
71
71
==== New Features and Improvements
72
72
73
73
* New `junit-platform-suite-engine` module to execute declarative test suites on the JUnit
74
- Platform.
75
- * Additional selectors in the suite API in the `junit-platform-suite-api` module.
74
+ Platform. See <<../user-guide/index.adoc#junit-platform-suite-engine, JUnit Platform
75
+ Suite Engine>> for details.
76
+ * Additional selectors in the suite API in the `junit-platform-suite-api` module. See the
77
+ Javadoc of the `{suite-api-package}` package for a full list of supported annotations
78
+ and further details.
76
79
* New `UniqueIdTrackingListener` which is a `TestExecutionListener` that tracks the unique
77
80
IDs of all tests that were skipped or executed during the `TestPlan` and generates a
78
81
file containing the unique IDs. The generated file can be used to rerun those tests --
@@ -90,12 +93,13 @@ on GitHub.
90
93
nested container events when using the `EngineTestKit`. For example,
91
94
`test(displayName("my test"))` can be used to match against a test whose display name is
92
95
`my test`.
93
- * Generating Java Flight Recorder events via the `junit-platform-jfr` module is now also
94
- supported on Java 8 Update 262 or higher, in addition to Java 11 or later. See
95
- <<../user-guide/index.adoc#running-tests, Flight Recorder Support>> for details.
96
- * The `junit-platform-jfr` module now reports execution events for containers -- for
96
+ * Generating Java Flight Recorder (JFR) events via the `junit-platform-jfr` module is now
97
+ also supported on Java 8 Update 262 or higher, in addition to Java 11 or later. See
98
+ <<../user-guide/index.adoc#running-tests-listeners-flight-recorder, Flight Recorder
99
+ Support>> for details.
100
+ * The `junit-platform-jfr` module now publishes execution events for containers -- for
97
101
example, test classes.
98
- * The `junit-platform-jfr` module now reports test discovery events for the launcher and
102
+ * The `junit-platform-jfr` module now publishes test discovery events for the launcher and
99
103
registered test engines.
100
104
* New `ClassSource.from(URI)` static factory method for creating a `ClassSource` from a
101
105
URI using the `class` scheme and optional query parameters specifying the line number
@@ -153,7 +157,9 @@ on GitHub.
153
157
154
158
* Test classes can now be ordered _globally_ by supplying the fully-qualified name of a
155
159
class implementing the `ClassOrderer` API as the value of the new
156
- `junit.jupiter.testclass.order.default` configuration parameter.
160
+ `junit.jupiter.testclass.order.default` configuration parameter. See
161
+ <<../user-guide/index.adoc#writing-tests-test-execution-order-classes, Class Order>> for
162
+ details.
157
163
* `@Nested` test classes can be ordered _locally_ via the new `@TestClassOrder` annotation
158
164
in which a `ClassOrderer` can be specified.
159
165
* `@ExtendWith` may now be used to register extensions declaratively via fields or
0 commit comments