JUnit 5 is dead, long live JUnit 6!
This title could be clearer and more informative.Try out Clickbait Shieldfor free (5 uses left this month).
JUnit 6 was officially released on September 30, 2025, marking a smooth evolution from JUnit 5 rather than a disruptive overhaul. The new version requires Java 17 as baseline, unifies version numbers across Platform, Jupiter, and Vintage modules, and adds full Kotlin 2.1+ support with suspend functions. Key improvements include
Table of contents
Where the tradition of testing meets the spirit of modern developmentA smooth transitionThe main directions of this new releaseA modernized foundationA unified and simplified platformBetter-ordered and more predictable testsExplicit nullability and cleaner outputGet Erwan LE TUTOUR’s stories in your inboxParameterized tests and improved CSV formattingNew execution control optionsThe twilight of VintageControlled continuityIn conclusionSort: