logging-log4j2
logging-log4j2 copied to clipboard
Port `log4j-core-test` migration to JUnit 5 into `main`
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 takes the changes introduced in this PR and ports them into the main branch, as requested.
Most of the changes were not suitable:
- Many tests in
mainwere already in JUnit 5 - The tests were not equal between
2.xandmain(the tests inmainneed a separate and dedicated refactor) 2.xhas test suites not present inmain
Thank you!
Checklist
- Base your changes on
2.xbranch if you are targeting Log4j 2; usemainotherwise ./mvnw verifysucceeds (if it fails due to code formatting issues reported by Spotless, simply run./mvnw spotless:applyand retry)- Non-trivial changes contain an entry file in the
src/changelog/.2.x.xdirectory - Tests for the changes are provided
- Commits are signed (optional, but highly recommended)