Hasty Briefsbeta

JUnit 6 Is Released

17 hours ago
  • #Release Notes
  • #Java Testing
  • #JUnit
  • JUnit 6.0.0 released on September 30, 2025, with Java 17 and Kotlin 2.2 as baseline.
  • Single version number for Platform, Jupiter, and Vintage modules.
  • Introduction of JSpecify annotations for nullability.
  • Integration of JFR functionality in junit-platform-launcher.
  • Removal of junit-platform-runner and junit-platform-jfr modules.
  • Deterministic order for @Nested classes and support for Kotlin suspend functions as test methods.
  • New --fail-fast mode for ConsoleLauncher and cancellation support via CancellationToken.
  • Migration from univocity-parsers to FastCSV for @CsvSource and @CsvFileSource.
  • Deprecation and removal of various APIs and behaviors, including minimum Java version upgrade to 17.
  • JUnit Vintage engine deprecated, signaling a move towards JUnit Jupiter or other frameworks.