Skip to content

Update the tests to JUnit 6 - #122

Merged
flemming-n-larsen merged 4 commits into
mainfrom
junit6
Nov 1, 2026
Merged

flemming-n-larsen merged 4 commits into
mainfrom
junit6

Conversation

@flemming-n-larsen

Copy link
Copy Markdown
Member

Moves the tests from JUnit 5.14.4 to 6.1.3. JUnit 6 needs Java 17, so the tests are now compiled and run with Java 17 by default, and with Java 25 in the second CI run. The product is still built with the Java 8 toolchain, and every jar in the setup jar is still Java 8 bytecode.

The catch is that no automated tests run on Java 8 anymore. The SecurityManager path is still covered on Java 17, and the path without it on Java 25.

@flemming-n-larsen
flemming-n-larsen merged commit 083ccd9 into main Nov 1, 2026
2 checks passed
@flemming-n-larsen
flemming-n-larsen deleted the junit6 branch November 1, 2026 19:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant