Skip to content

Conversation

@AlexeyKuznetsov-DD
Copy link
Contributor

What Does This Do

  • Cleans up and reduces JUnit 4 usage across the codebase.
  • Migrates straightforward cases to JUnit 5 where safe.
  • Clearly isolates and marks remaining JUnit 4 tests so their presence is explicit.

Motivation

Most tests have already been migrated to JUnit 5. This PR reduces mixed-framework friction, simplifies test execution, and makes the remaining migration surface obvious.

Additional Notes

Some modules depend on legacy libraries that currently block migration to JUnit 5. For those modules, JUnit 4 remains in place and is explicitly documented/isolated.

@AlexeyKuznetsov-DD AlexeyKuznetsov-DD self-assigned this Oct 12, 2025
@AlexeyKuznetsov-DD AlexeyKuznetsov-DD added tag: no release notes Changes to exclude from release notes comp: tooling Build & Tooling labels Oct 12, 2025
@AlexeyKuznetsov-DD AlexeyKuznetsov-DD marked this pull request as ready for review October 12, 2025 15:24
@AlexeyKuznetsov-DD AlexeyKuznetsov-DD requested review from a team as code owners October 12, 2025 15:24
Copy link
Contributor

@PerfectSlayer PerfectSlayer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sounds good. I left a question about the ClassRule support for clarification.

@AlexeyKuznetsov-DD AlexeyKuznetsov-DD merged commit 6dc3f85 into master Oct 13, 2025
535 checks passed
@AlexeyKuznetsov-DD AlexeyKuznetsov-DD deleted the alexeyk/junit4-cleanup branch October 13, 2025 15:07
@github-actions github-actions bot added this to the 1.55.0 milestone Oct 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

comp: tooling Build & Tooling tag: no release notes Changes to exclude from release notes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants