Hamcrest is based on the concept of a matcher, which can be a very natural way of asserting whether or not the result of a test is in a desired state. If you have not used Hamcrest, examples in this ...
Just like production code, test code needs to be rigorously examined to ensure it’s clean and bug free. In this first half of a two-part article, Klaus Berg makes the case for why good unit tests are ...