Since JUnit 6.0 M1 has been released, we should start running our test suite using JUnit 6 for the following reasons.
- We want to ensure that our own test suite works with JUnit 6 in Gradle and within IDEs.
- We want to ensure that the
SpringExtension
and related JUnit support inspring-test
works properly with JUnit 6.
Comment From: sbrannen
Current work on this effort can be viewed in the following feature branch.
https://github.com/spring-projects/spring-framework/compare/main...sbrannen:spring-framework:junit6
On a positive note, the build in that branch is green! ✅