Tag Archives: jmock

Matching rules with Hamcrest

Hamcrest is library of matcher objects to define matching rules declaratively. You get a Java DSL for buildung assertions, constraints and predicates in quite more readable fashion. Typical scenarios are writing of assertions in (unit) tests, expectations in mocking frameworks, … Continue reading

Posted in Java and Quality | Tagged , , , , , | Leave a comment