Hamcrest
Composite Recipes
Recipes that include further recipes, often including the individual recipes below.
- Migrate Hamcrest assertions to AssertJ
- Migrate Hamcrest assertions to JUnit Jupiter
- Use consistent Hamcrest matcher imports
Recipes
- Add
org.hamcrest:hamcrest
if it is used. - Migrate Hamcrest
assertThat(boolean, Matcher)
to AssertJ - Migrate Hamcrest
is(Object)
to AssertJ - Migrate Hamcrest
not(Matcher)
to AssertJ - Migrate
anyOf
Hamcrest Matcher to AssertJ - Migrate from Hamcrest
Matcher
to AssertJ - Migrate from Hamcrest
Matcher
to JUnit 5 - Migrate from Hamcrest
instanceOf
matcher to JUnit 5 - Remove Hamcrest
is(Matcher)