junit-team / junit5

✅ The 5th major version of the programmer-friendly testing framework for Java and the JVM
https://junit.org
Other
6.39k stars 1.48k forks source link

Support arbitrary Java feature versions with `JRE` conditions #3930

Open sbrannen opened 2 months ago

sbrannen commented 2 months ago

Overview

Inspired by #3918 and related discussions, we should consider introducing a mechanism for users to supply arbitrary Java feature versions that are not yet covered by the JRE enum constants.

Note that a "feature" version refers to the leading number in a Java version -- for example, the 21 in 21.0.4. In Java 9, this was referred to as the major number (JEP 223), but the terminology changed to feature in Java 10 (JEP 322).

Deliverables

sbrannen commented 2 months ago