Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor(1.2-api): migrate to junit5 #3067

Merged
merged 2 commits into from
Nov 12, 2024

Conversation

hulkoba
Copy link
Contributor

@hulkoba hulkoba commented Oct 7, 2024

Hello 👋

We are from Neighbourhoodie, the implementation partner of the STF Bug Resilience Program. This work is part of our agreed Milestone 1. Upgrade from JUnit 4 to JUnit 5. This PR migrates the tests located in log4j-1.2-api to JUnit5.

Thank you!

Checklist

  • Base your changes on 2.x branch if you are targeting Log4j 2; use main otherwise
  • ./mvnw verify succeeds (if it fails due to code formatting issues reported by Spotless, simply run ./mvnw spotless:apply and retry)
  • Non-trivial changes contain an entry file in the src/changelog/.2.x.x directory
  • Tests for the changes are provided
  • Commits are signed (optional, but highly recommended)

@ppkarwasz ppkarwasz added the tests Pull requests or issues related to tests label Oct 7, 2024
@hulkoba hulkoba force-pushed the refactor-1.2-api-junit5 branch 3 times, most recently from d316a5c to 252f28f Compare October 11, 2024 10:24
Copy link

github-actions bot commented Oct 11, 2024

Job Requested goals Build Tool Version Build Outcome Build Scan®
build-macos-latest clean install 3.9.8 Build Scan PUBLISHED
build-ubuntu-latest clean install 3.9.8 Build Scan PUBLISHED
build-windows-latest clean install 3.9.8 Build Scan PUBLISHED
Generated by gradle/develocity-actions

@ppkarwasz
Copy link
Contributor

@hulkoba,

In #3039 I removed some ancient and disabled tests from log4j-1.2-api. To prevent some useless work, make sure you base your PR on a recent 2.x commit.

@hulkoba hulkoba force-pushed the refactor-1.2-api-junit5 branch 2 times, most recently from 9b660fe to e478abd Compare October 21, 2024 11:47
@hulkoba hulkoba force-pushed the refactor-1.2-api-junit5 branch from 230c6b5 to f873b58 Compare November 4, 2024 13:10
@hulkoba hulkoba marked this pull request as ready for review November 4, 2024 13:11
@hulkoba
Copy link
Contributor Author

hulkoba commented Nov 4, 2024

@ppkarwasz This is ready for review now 👋

Copy link
Contributor

@ppkarwasz ppkarwasz left a comment

Choose a reason for hiding this comment

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

LGTM

@ppkarwasz ppkarwasz merged commit cab5454 into apache:2.x Nov 12, 2024
7 checks passed
@ppkarwasz
Copy link
Contributor

@hulkoba, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tests Pull requests or issues related to tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants