> JUnit 6.0.0 and 6.1.0 and 6.1.1 is out and we can consider updating to it. > > Release Notes: > https://docs.junit.org/current/release-notes/index.html#release-notes-6.0.0 > > Notes: > - Java 17 is the baseline (so not a problem for us, since we have a higher > baseline) > - Deprecation were removed (not a problem, as we don't rely on any) > - JUnit Vintage Engine is deprecated (not a problem, as we dropped support > for it some months ago) > > JUnit 6 now uses a single version number for all dependencies, that is > platform, jupiter and vintage (which we do not use anymore). That makes > updating it easier. > > Junit 6.1 adds 2 more exciting features we can use: > - `@DefaultLocale` > - `@DefaultTimeZone` > > Both for changing the specific functionality just for the tests and change > back to the previous value after. > > It also uses `JSpecify`, which is an annotation library for `@NonNull` and > `@Nullable`. All version numbers for JUnit now use a single variable. > > --------- > - [x] I confirm that I make this contribution in accordance with the [OpenJDK > Interim AI Policy](https://openjdk.org/legal/ai).
Marius Hanl has updated the pull request incrementally with two additional commits since the last revision: - use LF - 6.1.1 ------------- Changes: - all: https://git.openjdk.org/jfx/pull/1925/files - new: https://git.openjdk.org/jfx/pull/1925/files/f0bf8d7b..c0699271 Webrevs: - full: https://webrevs.openjdk.org/?repo=jfx&pr=1925&range=03 - incr: https://webrevs.openjdk.org/?repo=jfx&pr=1925&range=02-03 Stats: 81 lines in 2 files changed: 0 ins; 0 del; 81 mod Patch: https://git.openjdk.org/jfx/pull/1925.diff Fetch: git fetch https://git.openjdk.org/jfx.git pull/1925/head:pull/1925 PR: https://git.openjdk.org/jfx/pull/1925
