Yoann Rodière (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%...
) *created* an issue
Hibernate ORM (
https://hibernate.atlassian.net/browse/HHH?atlOrigin=eyJpIjoiMzg3YTk0M2Uz...
) / Task (
https://hibernate.atlassian.net/browse/HHH-16497?atlOrigin=eyJpIjoiMzg3YT...
) HHH-16497 (
https://hibernate.atlassian.net/browse/HHH-16497?atlOrigin=eyJpIjoiMzg3YT...
) Deprecate JUnit 4 testing annotations (
https://hibernate.atlassian.net/browse/HHH-16497?atlOrigin=eyJpIjoiMzg3YT...
)
Issue Type: Task Assignee: Yoann Rodière (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%...
) Components: hibernate-testing Created: 20/Apr/2023 04:54 AM Fix Versions: 6.3.0
Priority: Major Reporter: Yoann Rodière (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%...
)
We have two sets of annotations for @SkipForDialect / @RequireDialectFeature / etc., in
different packages: one that work with JUnit 4 and one that works with Junit 5.
It can lead to confusion when using the JUnit 4 annotation on a JUnit 5 test, because the
annotation will get ignored and the reason won’t be immediately obvious.
We should deprecate the JUnit 4 annotations to at least give a hint that something odd is
being used, and eventually (in a future major version) we should probably remove them.
See
https://hibernate.zulipchat.com/#narrow/stream/132094-hibernate-orm-dev/t...
(
https://hibernate.atlassian.net/browse/HHH-16497#add-comment?atlOrigin=ey...
) Add Comment (
https://hibernate.atlassian.net/browse/HHH-16497#add-comment?atlOrigin=ey...
)
Get Jira notifications on your phone! Download the Jira Cloud app for Android (
https://play.google.com/store/apps/details?id=com.atlassian.android.jira....
) or iOS (
https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=Em...
) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100222- sha1:57eb20e )