spring-projects / spring-projects/spring-boot
Remove mentions of JUnit 4 from javadoc and reference documentation
Open
@snicoll is already working on this.
Since Nov 24, 2025.
type: documentation
- Dominant language
- Java
- Stars
- 81.5k
- Forks
- 42.7k
- Avg merge
- 2d 4h
- Merged PRs (30d)
- 65
Description
Spring Framework 7 has deprecated support for JUnit 4 and will remove it in 7.1 or 7.2. Aligned with this, we should consider what we want to do and when. For example, our javadoc mentions JUnit 4 in a number of places such as:
This is common across many (all?) of our test slice annotations. Should we remove this and similar now or wait until support's completely removed from Framework?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.