Skip to content

Update processor tests to use JUnit 5 #10379

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
Jun 27, 2025

Conversation

marko-bekhta
Copy link
Member

Hey @sebersole, @gavinking

I was looking at where we still have junit 4 rules/runners and noticed that the entire suite for the processor is junit4 based. This PR changes that 😃.

I'm looking at Envers tests now, and I think I found how to make those work with "parameterized classes extension". I'll experiment a bit more with those and then see if I can convert them all 🙈

with Envers and processor tests converted it seems we would only need to update core tests to get it all on JUnit 5 🤞🏻 😄


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license
and can be relicensed under the terms of the LGPL v2.1 license in the future at the maintainers' discretion.
For more information on licensing, please check here.


@hibernate-github-bot
Copy link

hibernate-github-bot bot commented Jun 20, 2025

Thanks for your pull request!

This pull request does not follow the contribution rules. Could you have a look?

❌ All commit messages should start with a JIRA issue key matching pattern HHH-\d+
    ↳ Offending commits: [d1635b2]

› This message was automatically generated.

@gavinking
Copy link
Member

Thanks!

@marko-bekhta marko-bekhta force-pushed the test/migrate-to-junit5 branch from 68a2e11 to d1635b2 Compare June 27, 2025 12:11
@marko-bekhta
Copy link
Member Author

I'll merge this one so that it won't get outdated. Let me know if there's anything to adjust with the new extension.

@marko-bekhta marko-bekhta merged commit 0f256e4 into hibernate:main Jun 27, 2025
25 of 26 checks passed
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