RFR: 7904046: Update jtreg to bundle JUnit 5.13.2 [v2]
Christian Stein
cstein at openjdk.org
Tue Jun 24 17:40:58 UTC 2025
> Please review this change to update jtreg to bundle a newer version of JUnit, namely `5.13.2`.
>
> In addition to "Numerous bug fixes and minor improvements" compared to older versions the `@ParameterizedClass` feature would be a major win for writing parameterized tests and the new validation feature that reports configuration error at test discovery time.
>
> [JUnit 5.13 Scope](https://docs.junit.org/5.13.2/release-notes/#release-notes-5.13.0)
>
> - Introduce @ClassTemplate and @ParameterizedClass support in JUnit Jupiter
> - Access to ParameterInfo for JUnit Jupiter extensions
> - New @SentenceFragment annotation for use with IndicativeSentences display name generator
> - Add --redirect-stdout and --redirect-stderr options to ConsoleLauncher
> - Introduce test discovery support in EngineTestKit
> - Reporting of discovery issues for test engines
> - Resource management for launcher sessions and execution requests
> - GraalVM: removal of native-image.properties files from JARs
>
> [JUnit 5.12 Scope](https://docs.junit.org/5.12.0/release-notes/index.html#release-notes-5.12.0)
>
> - Output file attachments for tests and containers
> - Improvements to the Open Test Reporting XML output
> - Resource lock definition improvements
> - Thread dumps on test timeouts
> - Parameterized test validation improvements
> - Filtering support for auto-registered extensions
> - Kotlin contracts for assertions
> - Configurable Jupiter extension context scope
> - Enhancements to the ConsoleLauncher
> - Better support for GraalVM native image usage
> - Improved discovery support for file-based test engines
> - Customizable classpath scanning
> - Parallel execution support in JUnit Vintage engine
Christian Stein has updated the pull request incrementally with one additional commit since the last revision:
Update expected failure message
-------------
Changes:
- all: https://git.openjdk.org/jtreg/pull/269/files
- new: https://git.openjdk.org/jtreg/pull/269/files/8339a64a..bc9193eb
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jtreg&pr=269&range=01
- incr: https://webrevs.openjdk.org/?repo=jtreg&pr=269&range=00-01
Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
Patch: https://git.openjdk.org/jtreg/pull/269.diff
Fetch: git fetch https://git.openjdk.org/jtreg.git pull/269/head:pull/269
PR: https://git.openjdk.org/jtreg/pull/269
More information about the jtreg-dev
mailing list