Testing10.7k

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 succinct API capable of clearly defining all possible object operations and interactions using a human readable Domain Specific Language (DSL).

mockmockerymockingphpphpunitstubtest-doublesPHP

About DevTools Hub

DevTools Hub curates the best free and open source developer tools. We help developers discover tools that boost productivity without breaking the bank.