Skip to main content

Dustin Marx: JUnit Built-in Hamcrest Core Matcher Support

Dustin Marx demonstrates JUnit's Built-in Hamcrest Core Matcher Support:

In the post Improving On assertEquals with JUnit and Hamcrest, I briefly discussed Hamcrest "core" matchers being "baked in" with modern versions of JUnit... In this post, I look at additional Hamcrest "core" matchers that are bundled with recent versions of JUnit...

Community: Java Tools