This document contains the change log for all JUnit 5 releases since 5.11 GA.

Please refer to the User Guide for comprehensive reference documentation for programmers writing tests, extension authors, and engine authors as well as build tool and IDE vendors.

5.12.0-M1

Date of Release:

Scope:

For a complete list of all closed issues and pull requests for this release, consult the 5.12.0-M1 milestone page in the JUnit repository on GitHub.

JUnit Platform

Bug Fixes

  • Fix support for disabling ANSI colors on the console when the NO_COLOR environment variable is available.

Deprecations and Breaking Changes

New Features and Improvements

JUnit Jupiter

Bug Fixes

Deprecations and Breaking Changes

New Features and Improvements

JUnit Vintage

Bug Fixes

Deprecations and Breaking Changes

New Features and Improvements

5.11.1

Date of Release:

Scope: minor bug fixes and improvements since 5.11.0

For a complete list of all closed issues and pull requests for this release, consult the 5.11.1 milestone page in the JUnit repository on GitHub.

JUnit Platform

Bug Fixes

  • Fixed potential locking issue with ExclusiveResource in the HierarchicalTestExecutorService, which could lead to deadlocks in certain scenarios.

Deprecations and Breaking Changes

New Features and Improvements

  • Introduce ReflectionSupport.makeAccessible(Field) for third-party use rather than calling the internal ReflectionUtils.makeAccessible(Field) method directly.

JUnit Jupiter

Bug Fixes

Deprecations and Breaking Changes

New Features and Improvements

JUnit Vintage

Bug Fixes

Deprecations and Breaking Changes

New Features and Improvements

5.11.0

Date of Release: August 14, 2024

Scope:

  • @FieldSource annotation for use with @ParameterizedTest methods

  • Repeatable @..Source annotations for parameterized tests

  • Enhancements for authoring dynamic and parameterized tests

  • @AutoClose annotation to automatically close field resources in tests

  • ConversionSupport utility for converting from a string to a supported target type

  • Extensible syntax for specifying discovery selectors

  • @BeforeSuite and @AfterSuite annotations

  • Classpath resource scanning support for engines

  • Numerous bug fixes and enhancements regarding field and method search algorithms

For complete details consult the 5.11.0 Release Notes online.