Provides a library of matcher objects (also known as constraints or predicates) allowing 'match' rules to be defined declaratively, to be used in other frameworks. Typical scenarios include testing frameworks, mocking libraries and UI validation rul
Hamcrest is a framework for creating matchers ('Hamcrest' is an anagram of 'matchers'), allowing match rules to be defined declaratively .[1] These matchers have uses in unit testing frameworks such as JUnit [2] and jMock. Hamcrest has been ported t