hamcrest/JavaHamcrest
hamcrest/JavaHamcrest has 2,190 GitHub stars and 386 forks. GitHot measured 0 stars in 24 hours. Last checked 2026-11-07 22:48 UTC. Last push 2025-02-24.
Java (and original) version of Hamcrest
Measured star growth
- in 24h
- 0
- in 7 days
- Collecting history
- in 15 days
- Collecting history
- in 1 month
- Collecting history
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.md
Original
Java Hamcrest
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.
The tutorial is good place to see how Hamcrest can be used.
Downloads
You can obtain Hamcrest binaries from maven central. If you are using build tooling such as Maven, Gradle, etc, you can simply add a dependency declaration to your build definition. Learn more at Hamcrest Distributables.
Documentation
Documentation can be found on the Hamcrest site. For a detailed list of recent changes, see CHANGES.md
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.
Build from Source
Building Hamcrest from source requires a minimum of JDK 1.8.
Clone the repository, and from the top level directory in the repo workspace run the following command:
./gradlew clean build javadoc
This will download the correct version of Gradle, do a full clean build,
run all tests and (if successful) package the compiled classes in a jar
file. The resulting look under the hamcrest/build/libs directory.
Acknowledgements
Developers:
- Joe Walnes
- Nat Pryce
- Steve Freeman
Contributors:
- Robert Chatley
- Tom White
- Neil Dunn
- Dan North
- Magne Rasmussen
- David Saff
- Tom Denley
- Joe Schmetzer
Also, thanks to everyone who has worked on DynaMock, nMock, jMock, EasyMock and MiniMock! These libraries inspired Hamcrest.
Explore related projects
codecrafters-io/build-your-own-x
Master programming by recreating your favorite technologies from scratch.
560,800 starspublic-apis/public-apis
A collective list of free APIs
497,028 starsmorluto/rea
Reverse engineer anything with agents, from app behavior down to native binaries.
441,107 starsopenclaw/openclaw
The AI that really does things. Any OS. Any Platform. The lobster way. 🦞
394,147 stars