Shaun Abram
Technology and Leadership Blog
AssertJ > Fest > Hamcrest
I have previously blogged about Hamcrest, and using its assertThat methods in preference to JUnit’s Assert.
However, I quickly after discovered FEST Assertions, and happily switched to it. It provides the same improved test readability and failure messages as Hamcrest, but has the extra benefit of enabling IDE auto completion, rather than having to search through package and class docs to find the right matcher.
Unfortunately, Fest seems to not longer be actively developed. The last stable release of the 1.x branch, 1.4, was released way back in 2011, and the new 2.x branch never made it to a stable release and hasn’t had a commit since June 2013.
Enter AssertJ…