Hamcrest Notes


Here are some notes on Hamcrest as I feel the urge.

Site: http://code.google.com/p/hamcrest/

Sample static imports:

  org.hamcrest.Matchers.equalTo;
  org.hamcrest.Matchers.nullValue;

JARs:

  hamcrest-all-1.3.ORC1.jar
  hamcrest-core-1.2.1-sources.jar
  hamcrest-library-1.3.RC2.jar --contains Matchers

JARs

Depending on how you intend to use Hamcrest, you should use different JARs.