Date of Release: ❓
Scope: minor bug fixes and changes since 5.10.1.
For a complete list of all closed issues and pull requests for this release, consult the 5.10.2 milestone page in the JUnit repository on GitHub.
-
The
junit-platform-launcher
may now be used as a Java module whenjunit.platform.launcher.interceptors.enabled
is set totrue
.-
See issue #3561 for details.
-
-
Field predicates are no longer applied eagerly while searching the type hierarchy.
-
This reverts changes made in 5.10.1 that affected
findFields(…)
andstreamFields(…)
inReflectionSupport
as well asfindAnnotatedFields(…)
andfindAnnotatedFieldValues(…)
inAnnotationSupport
. -
See issue #3638 for details.
-
-
Method predicates are no longer applied eagerly while searching the type hierarchy.
-
This reverts changes made in 5.10.1 that affected
findMethods(…)
andstreamMethods(…)
inReflectionSupport
as well asfindAnnotatedMethods(…)
inAnnotationSupport
. -
See issue #3600 for details.
-
-
JUnit Jupiter once again properly detects when a
@Test
method is overridden in a subclass.-
See issue #3600 for details.
-
-
A package-private static field annotated with
@TempDir
is once again shadowed by a non-static field annotated with@TempDir
when the non-static field resides in a different package and has the same name as the static field.-
This reverts changes made in 5.10.1.
-
See issue #3638 for details.
-
-
A package-private class-level lifecycle method annotated with
@BeforeAll
or@AfterAll
is once again shadowed by a method-level lifecycle method annotated with@BeforeEach
or@AfterEach
when the method-level lifecycle method resides in a different package and has the same name as the class-level lifecycle method.-
This reverts changes made in 5.10.1.
-
See issue #3600 for details.
-