You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The deprecation of Assert#assertThat in 4.13 is missing in the release notes and came as a surprise, seeing thousands and thousands of warnings in our code base.
This should be added to the release notes.
Maybe it should even be re-considered. The import pattern usually looks like
and org.junit.Assert.* is usually a place IDEs's code completions look for methods to be imported statically. This symmetry and convenience is now kind of broken.
The text was updated successfully, but these errors were encountered:
The rationale for deprecating it was that there are other assertion libraries, e.g. AssertJ, so users should make a conscious decision which to use. Moreover, using the method in Hamcrest provides an upgrade path to future versions of Hamcrest that might contain bug fixes or improvements.
The deprecation of Assert#assertThat in 4.13 is missing in the release notes and came as a surprise, seeing thousands and thousands of warnings in our code base.
This should be added to the release notes.
Maybe it should even be re-considered. The import pattern usually looks like
and org.junit.Assert.* is usually a place IDEs's code completions look for methods to be imported statically. This symmetry and convenience is now kind of broken.
The text was updated successfully, but these errors were encountered: