-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Open
Labels
Description
Module
Core
Proposal
With the release of JUnit 6.0, the JUnit team introduced a new versioning scheme:
all modules of JUnit Platform, Jupiter, and Vintage now use the same version number: 6.0.0.
Currently, the junit-jupiter integration in Testcontainers still depends on JUnit Platform 1.x and Jupiter 5.x, creating a scenario where mixing with JUnit 6.x causes runtime failures (e.g., NoClassDefFoundError) due to mismatched versions.
Request
- Provide explicit support for JUnit 6.x: Platform 6.x + Jupiter 6.x.
- Ensure all Testcontainers
test-integrationmodules align to that version scheme. - Either release a dedicated
testcontainers-junit-jupiter-6variant or upgrade the existing module to JUnit 6 compatibility.
Goal
- Allow projects upgrading to JUnit 6.0 to use Testcontainers seamlessly without forcing a fallback to Platform 1.x or Jupiter 5.x.
More info
- Currently used Testcontainers version:
1.21.32.0.2
dzaow