Clone this repo:
  1. 8ac829b Merge "Build hamcrest with core_current" by Treehugger Robot · 5 months ago master nougat-iot-release o-mr1-iot-preview-7 o-mr1-iot-preview-8 oreo-mr1-iot-release android-n-iot-release-lg-thinq-wk7 android-n-iot-release-polk-at1 android-o-mr1-iot-preview-7 android-o-mr1-iot-preview-8 android-o-mr1-iot-release-1.0.0 android-o-mr1-iot-release-1.0.1 android-p-preview-1 android-p-preview-2 android-p-preview-3 android-wear-p-preview-2
  2. d565088 Build hamcrest with core_current by Jiyong Park · 5 months ago
  3. bc46af5 Merge changes from topic "junit-soong" am: 9f35e340ac am: a87b7d3237 by Colin Cross · 8 months ago android-wear-8.0.0_r1
  4. 86c71ca Merge changes from topic "junit-soong" am: 9f35e340ac am: a87b7d3237 by Colin Cross · 9 months ago
  5. a87b7d3 Merge changes from topic "junit-soong" am: 9f35e340ac by Colin Cross · 9 months ago o-mr1-iot-preview-6 android-o-mr1-iot-preview-6


Build Status

Java Hamcrest

Licensed under BSD License.

What is Hamcrest?

Hamcrest is a library of matchers, which can be combined in to create flexible expressions of intent in tests. They've also been used for other purposes.


You can obtain Hamcrest binaries from maven central, or from [google code downloads][].


For Hamcrest extension projects see the hamcrest extensions page.


Documentation can be found on the Hamcrest site.

Reporting Bugs/Issues

If you find an issue with Java Hamcrest, please report it via the GitHub issue tracker, after first checking that it hasn't been raised already.


To build, please read BUILDING.txt



  • Joe Walnes
  • Nat Pryce
  • Steve Freeman


  • Robert Chatley
  • Tom White
  • Neil Dunn
  • Dan North
  • Magne Rasmussen
  • David Saff
  • Tom Denley

Also, thanks to everyone who has worked on DynaMock, nMock, jMock, EasyMock and MiniMock! These libraries inspired Hamcrest.