We should update jtreg to a newer version of JUnit.
In addition to "Numerous bug fixes and enhancements regarding field and method search algorithms" compared to JUnit 5.10.2 the following features would be a major win for writing tests:
> - @FieldSource annotation for use with @ParameterizedTest methods
> - Repeatable @..Source annotations for parameterized tests
> - Enhancements for authoring dynamic and parameterized tests
> - Java classes in published artifacts are now compiled with the -parameters option of javac and thus now contain metadata for reflection on parameters such as their names.
> - JAVA_23 and JAVA_24 have been added to the JRE enum for use with JRE-based execution conditions.
Find the release notes of JUnit 5.11.0 at https://junit.org/junit5/docs/current/release-notes/index.html#release-notes-5.11.0
In addition to "Numerous bug fixes and enhancements regarding field and method search algorithms" compared to JUnit 5.10.2 the following features would be a major win for writing tests:
> - @FieldSource annotation for use with @ParameterizedTest methods
> - Repeatable @..Source annotations for parameterized tests
> - Enhancements for authoring dynamic and parameterized tests
> - Java classes in published artifacts are now compiled with the -parameters option of javac and thus now contain metadata for reflection on parameters such as their names.
> - JAVA_23 and JAVA_24 have been added to the JRE enum for use with JRE-based execution conditions.
Find the release notes of JUnit 5.11.0 at https://junit.org/junit5/docs/current/release-notes/index.html#release-notes-5.11.0
- clones
-
CODETOOLS-7903578 Update jtreg to bundle JUnit 5.10.2
- Resolved
- links to
-
Commit(master) openjdk/jtreg/66496813
-
Review(master) openjdk/jtreg/227