-
Notifications
You must be signed in to change notification settings - Fork 6.7k
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
Consider suggesting the package name of assertThat in Code of Conduct
#19845
Comments
+1 |
|
|
|
Feature Request
For English only, other languages will not accept.
Please pay attention on issues you submitted, because we maybe need more details.
If no response anymore and we cannot make decision by current information, we will close it.
Please answer these questions before submitting your issue. Thanks!
Is your feature request related to a problem?
Yes, refer to #15296 .
Describe the feature you would like.
According to Deprecate APIs that use Hamcrest classes. Users should use java-hamcrest junit-team/junit4#1150, Hamcrest related APIs are deprecated in Junit 4.13.x. Meanwhile, according to the discussion at Update to hamcrest 2.2 junit-team/junit4#1741, Junit4 is likely to completely remove the Hamcrest dependency in the next major version, which means like
org.junit.Assert.assertThat
will be removed.I think the recommendation in the Code of Conduct to replace
org.junit.Assert.assertThat
withorg.hamcrest.MatcherAssert.assertThat
inhamcrest 1.3
might be a good future-proof option.I don't feel the need to submit a huge PR to change the Hamcrest-related class package names, it's just too big. Changing the Code of Conduct first is an easy option.
The text was updated successfully, but these errors were encountered: