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

Migrate Log4j slf4j2 impl to junit5 #7

Closed
wants to merge 3 commits into from

Conversation

AlbaHerrerias
Copy link

@AlbaHerrerias AlbaHerrerias commented Oct 4, 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-jakarta-smtp to JUnit5.

⚠️ We've found out that OverflowTest is set to run specifically with Junit 4. This behaviour was added not long ago so we wanted to ask, should we leave it like this or should we refactor OverflowTest to JUnit 5?

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)

Copy link

github-actions bot commented Oct 4, 2024

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

@AlbaHerrerias AlbaHerrerias force-pushed the log4j-slf4j2-impl-migrate-junit5 branch from c799492 to c0b8144 Compare October 4, 2024 14:46
@AlbaHerrerias AlbaHerrerias force-pushed the log4j-slf4j2-impl-migrate-junit5 branch from c0b8144 to 4c23edd Compare October 21, 2024 14:41
@AlbaHerrerias AlbaHerrerias force-pushed the log4j-slf4j2-impl-migrate-junit5 branch from 4c23edd to 67a954c Compare October 22, 2024 07:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant