Skip to content

Migrate bson tests from JUnit 4 to 5 #1229

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

Merged
merged 1 commit into from
Oct 24, 2023
Merged

Migrate bson tests from JUnit 4 to 5 #1229

merged 1 commit into from
Oct 24, 2023

Conversation

jyemin
Copy link
Collaborator

@jyemin jyemin commented Oct 23, 2023

JAVA-5215

I tried to use the IntelliJ inspection to do this automatically. It got me part of the way there, but there were a bunch of tests that it either didn't pick up or didn't know how to translate (e.g. the parameterized test), so I went ahead and finished the job manually. It's tedious but low risk.

@jyemin jyemin requested a review from rozza October 23, 2023 23:20
@jyemin jyemin self-assigned this Oct 23, 2023
Copy link
Member

@rozza rozza left a comment

Choose a reason for hiding this comment

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

LGTM - Parameterized tests have changed some what, I forgot it used to be class based in junit4.

@jyemin jyemin merged commit 3e7401b into mongodb:5.x Oct 24, 2023
@jyemin jyemin deleted the j4850-bson branch October 24, 2023 14:04
jyemin added a commit that referenced this pull request Dec 4, 2023
jyemin added a commit that referenced this pull request Dec 5, 2023
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.

2 participants