Skip to content

make use of @ParameterizedClass feature (since JUnit 5.13) to simplify tests #118

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

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

NathanQingyangXu
Copy link
Contributor

@NathanQingyangXu NathanQingyangXu commented Aug 12, 2025

JUnit5 introduced the long-awaited class level parameterized testing feature since 5.13.3. This PR makes use of this handy feature to simplify our four JDBC related integration testing classes.

To enjoy the new version, Hibernate ORM library needs to bump its version accordingly (otherwise some lazy loadin related runtime exception would be thrown for hibernate-testing is coupled with JUnit internal` during integration testing). The new version fixed some existing bugs, so some outdated Unsupported testing case has to be removed.

@NathanQingyangXu NathanQingyangXu requested a review from a team as a code owner August 12, 2025 02:21
@NathanQingyangXu NathanQingyangXu requested review from katcharov and removed request for a team August 12, 2025 02:21
@NathanQingyangXu NathanQingyangXu requested review from stIncMale and removed request for katcharov August 12, 2025 02:22
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