On Thu, 2 Oct 2025 15:45:33 GMT, Marius Hanl <[email protected]> wrote:
> JUnit 6.0.0 and 6.1.0 and 6.1.3 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 a year ago -> JUnit 4) > > 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. > > --------- > - [x] I confirm that I make this contribution in accordance with the [OpenJDK > Interim AI Policy](https://openjdk.org/legal/ai). This pull request has now been integrated. Changeset: ea88985e Author: Marius Hanl <[email protected]> URL: https://git.openjdk.org/jfx/commit/ea88985e4f44cc9c3e763f205556d29cecc7856b Stats: 156 lines in 17 files changed: 15 ins; 81 del; 60 mod 8369049: [TestBug] Update JUnit to Version 6.1.3 Reviewed-by: angorya, kcr, sykora ------------- PR: https://git.openjdk.org/jfx/pull/1925
