Hamcrest - library of matchers for building test expressions

  •        1693

Hamcrest 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 rules. Hamcrest has been ported to Java, C++, Objective-C, Python, PHP and Erlang.

http://hamcrest.org/
https://github.com/hamcrest/JavaHamcrest
http://code.google.com/p/hamcrest/

Tags
Implementation
License
Platform

   




Related Projects

custom-exception-testing - Code showing how to test a custom exception by using a Hamcrest Matcher


Code showing how to test a custom exception by using a Hamcrest Matcher

hamcrest-as3


Port of hamcrest to ActionScript 3, 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 rules.

hamcrest - Hamcrest matchers for the Go programming language


Hamcrest is a fluent framework for declarative Matcher objects that, when applied to input values, produce self-describing results.To install, run make install from the same directory as this README.md file.

bean-property-matcher


Hamcrest matcher to match multiple attributes of an object within a single assertion.

LRMocky - A port of jMock 2.0 for Objective-C


Mocky is an opinionated, jMock inspired mock objects framework for OSX and iOS development.It supports class and protocol-based mocking; a simple, expressive API designed for readability; Hamcrest matcher support using OCHamcrest and ships with support for OCUnit, or any testing framework built on top of it.



satin-python - satin is simple UI matcher and driver library, built on top of hamcrest and PyQt


satin is simple UI matcher and driver library, built on top of hamcrest and PyQt

MWHamcrestCPP - A C++ 11 header-only hamcrest matcher library


A C++ 11 header-only hamcrest matcher library

eventualj - Hamcrest matcher support for things that will eventually happen


Hamcrest matcher support for things that will eventually happen

matcher - A declarative API for specifying expectations.


Support for specifying test expectations, such as for unit tests.The matcher library provides a third-generation assertion mechanism, drawing inspiration from Hamcrest.

test-net-rabbitmq - Test Mock Object for Net::RabbitMQ that implements a really stupid broker


Test Mock Object for Net::RabbitMQ that implements a really stupid broker

perl5-test-device-serialport - A mock object to test virtual serial port-based devices


A mock object to test virtual serial port-based devices

mule-module-hamcrest - Library of matcher objects for Mule ESB.


Library of matcher objects for Mule ESB.

mockery


Mockery is a simple yet flexible PHP mock object framework for use in unit testing with PHPUnit, PHPSpec or any other testing framework. Its core goal is to offer a test double framework with a succint API capable of clearly defining all possible object operations and interactions using a human readable Domain Specific Language (DSL). Designed as a drop in alternative to PHPUnit's phpunit-mock-objects library, Mockery is easy to integrate with PHPUnit and can operate alongside phpunit-mock-objec

padraic-mockery


Mockery is a simple yet flexible PHP mock object framework for use in unit testing with PHPUnit, PHPSpec or any other testing framework. Its core goal is to offer a test double framework with a succint API capable of clearly defining all possible object operations and interactions using a human readable Domain Specific Language (DSL). Designed as a drop in alternative to PHPUnit's phpunit-mock-objects library, Mockery is easy to integrate with PHPUnit and can operate alongside phpunit-mock-objec

jmock-library - An expressive Mock Object library for Test Driven Development


An expressive Mock Object library for Test Driven Development

object-history - Track your object with rspec matcher


Track your object with rspec matcher