Integrated: 7904046: Update jtreg to bundle JUnit 5.13.2

Christian Stein cstein at openjdk.org
Wed Jun 25 06:36:40 UTC 2025


On Tue, 24 Jun 2025 14:54:32 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

This pull request has now been integrated.

Changeset: 9c22a6c3
Author:    Christian Stein <cstein at openjdk.org>
URL:       https://git.openjdk.org/jtreg/commit/9c22a6c31866299612199aa992e05af5d2580e3e
Stats:     10 lines in 3 files changed: 6 ins; 0 del; 4 mod

7904046: Update jtreg to bundle JUnit 5.13.2

Reviewed-by: iris

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

PR: https://git.openjdk.org/jtreg/pull/269


More information about the jtreg-dev mailing list