Hamcrest
-
Enterprise Java
Hamcrest Matchers, Guava Predicate and Builder design pattern
Often, while coding we have to deal with some POJO objects that have dozens of fields in them. Many times…
Read More » -
Enterprise Java
Hamcrest Containing Matchers
The Hamcrest 1.3 Javadoc documentation for the Matchers class adds more documentation for several of that class’s methods than were…
Read More » -
Enterprise Java
Test-driving Builders with Mockito and Hamcrest
A lot of people asked me in the past if I test getters and setters (properties, attributes, etc). They also…
Read More » -
Enterprise Java
Moving Beyond Core Hamcrest in JUnit
In the post Improving On assertEquals with JUnit and Hamcrest I introduced use of Hamcrest with JUnit. I then looked…
Read More » -
Core Java
JUnit and Hamcrest: Improving On assertEquals
In my blog post Are Static Imports Becoming Increasingly Accepted in Java?, I discussed the increasing use of static imports…
Read More »