Skip to content

Latest commit

 

History

History
70 lines (43 loc) · 1.69 KB

release-notes-5.9.3.adoc

File metadata and controls

70 lines (43 loc) · 1.69 KB

5.9.3

Date of Release:

Scope:

For a complete list of all closed issues and pull requests for this release, consult the 5.9.3 milestone page in the JUnit repository on GitHub.

JUnit Platform

Bug Fixes

Deprecations and Breaking Changes

New Features and Improvements

JUnit Jupiter

Bug Fixes

  • Parameter types for local @MethodSource factory method names are now validated. For example, @MethodSource("myFactory(example.NonexistentType)") will now result in an exception stating that example.NonexistentType cannot be resolved to a valid type.

  • The syntax for parameter types in local @MethodSource factory method names now supports canonical array names — for example, you may now specify int[] as in @MethodSource("myFactory(int[])" instead of the binary name [I as in @MethodSource("myFactory([I)" (which was already supported) and @MethodSource("myFactory(java.lang.String[]) instead of @MethodSource("myFactory([Ljava.lang.String;).

  • Exceptions thrown for undeletable files when cleaning up a temporary directory created via @TempDir now include the root cause.

  • Allow lifecycle methods to be declared as private again for backwards compatibility but document it as a discouraged practice.

Deprecations and Breaking Changes

New Features and Improvements

JUnit Vintage

Bug Fixes

Deprecations and Breaking Changes

New Features and Improvements