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
Good news! org.openrewrite.java.testing.junit5.UseHamcrestAssertThatdoes this.
There are also migration recipes for JUnit 4.x to 5.x. I tried that out in jenkinsci/build-timeout-plugin#122 and it worked great. The only thing Jenkins-specific I saw missing was @JenkinsRule -> @WithJenkins.
In JUnit 4.13
org.junit.Assert.assertThat
was deprecated in favor oforg.hamcrest.MatcherAssert.assertThat
. Many plugins still use the old import.The text was updated successfully, but these errors were encountered: