-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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 parts of log4j-core-test
to migrate to JUnit5
#3061
base: 2.x
Are you sure you want to change the base?
Refactor parts of log4j-core-test
to migrate to JUnit5
#3061
Conversation
log4j-core-test
to migrate to JUnit5log4j-core-test
to migrate to JUnit5
@ninetteadhikari, @hulkoba, thanks so much! 😍 Would it be possible to keep all JUnit 4-to-5 migration changes in this PR for |
sure thing:) let me then convert this PR to draft and open it for review later once we have migrated all the files. |
Signed-off-by: Ninette Adhikari <ninette.adhikari@gmail.com>
Signed-off-by: Ninette Adhikari <ninette.adhikari@gmail.com>
Signed-off-by: Ninette Adhikari <ninette.adhikari@gmail.com>
9412b17
to
4b3bfd5
Compare
hi @vy we had a quick question, we are trying to write new extensions to replace some of the old ones and getting some errors. For example we created
do we have to add anything additional to make extensions work or make changes to the build? let us know thanks! |
@ninetteadhikari, that is an API compatibility check failure – see Fixing API compatibility check failures |
@ninetteadhikari, this is a breaking change to |
thanks so much for the response! we'll see if we can make it work:) |
Hi @vy sorry to bug you again, we tried ignoring different versions but had no luck: We are still getting the same build failure. To give you a bit of a context I pushed the extension change commit here and these are the build failures we are seeing. Please let us know if you have insights into this thanks! |
@ninetteadhikari, I think your changes need to be sync'ed with
(I was able to fix the issue locally, but since you did not give us rights to edit your PRs, I could not push them.) |
Introduction
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 inlog4j-core-test
to JUnit5.cPlease note the
log4j-core-test
module contains over 150 files and this PR updates the tests for 40 of them. Further PRs will be made to update the rest of the tests.Checklist
2.x
branch if you are targeting Log4j 2; usemain
otherwise./mvnw verify
succeeds (if it fails due to code formatting issues reported by Spotless, simply run./mvnw spotless:apply
and retry)src/changelog/.2.x.x
directory