Hamcrest alternatives and similar libraries
Based on the "Testing" category
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest. Visit our partner's website for more details.
Do you think we are missing an alternative of Hamcrest or a related project?
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.
For Hamcrest extension projects see the hamcrest extensions page.
Documentation can be found on the Hamcrest site.
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.
*Note that all licence references and agreements mentioned in the Hamcrest README section above are relevant to that project's source code only.