RFR: 7904046: Update jtreg to bundle JUnit 5.13.2 [v2]

Iris Clark iris at openjdk.org
Tue Jun 24 17:48:51 UTC 2025


On Tue, 24 Jun 2025 17:40:58 GMT, Christian Stein <cstein at openjdk.org> wrote:

>> 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

Marked as reviewed by iris (Reviewer).

-------------

PR Review: https://git.openjdk.org/jtreg/pull/269#pullrequestreview-2954773562


More information about the jtreg-dev mailing list