mockery/mockery

testinglibraryBDDTDDtestmockerymockstubtest doublemock objects

Overall: 511 367 installs
This month: 45 535 installs
Today: 612 installs

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-objects without the World ending.

Maintainer: padraicb
Homepage: github.com/padraic/mockery
Canonical: https://github.com/padraic/mockery.git
Source: https://github.com/padraic/mockery/tree/master
Issues: https://github.com/padraic/mockery/issues