Libraries tagged by mock-objects
mockery/mockery
565123209 Downloads
Mockery is a simple yet flexible PHP mock object framework
phpunit/phpunit-mock-objects
211433291 Downloads
Mock Object library for PHPUnit
simpletest/simpletest
377443 Downloads
SimpleTest is a framework for unit testing, web site testing and mock objects for PHP.
ptrofimov/xpmock
485209 Downloads
PHPUnit: simple syntax to create mock-objects
phpunit/phpunit-mock-objects
Downloads
chubbyphp/chubbyphp-mock
215831 Downloads
A strict mocking solution. It works with any testing framework; the examples below use PHPUnit.
sminnee/phpunit-mock-objects
201653 Downloads
Mock Object library for PHPUnit (fork to add PHP 7.4 support to 3.4)
michalv8/xpmock
73627 Downloads
PHPUnit: simple syntax to create mock-objects
mockfromyaml/mockfromyaml
141 Downloads
PHP traits to mock objects from arrays and read the data provider arrays from yaml files.
zookal/magento-mock
26 Downloads
Magento Mock Objects for disabled core modules
lastcraft/simpletest
21891 Downloads
Unit testing, mock objects and web testing framework for PHP built around test cases.
blackbird/magento-mock-object
247 Downloads
N/A
crimsonkissaki/mockmaker
44 Downloads
Whether you call them doubles, stubs, mocks, partials, fakes, or something else there are times when a mocking library such as PHPUnit's mockBuilder, Mockery, Prophecy, etc. just doesn't do exactly what you need or want. Sometimes you just need a concrete class implementation to run through the unit test wringer or a full end to end functional unit test suite. MockMaker aims to simplify the process of generating concrete fake ORM entity objects. Flexible and extendable, the generated seed code can be altered to suit your particular project with relative ease. That means after the initial setup you can re-run MockMaker for any new entities that get added in or update existing entities that change with little to no fuss. What's more, once MockMaker has made your files it's done; you don't have to include it in your code base and can use the generated files like any other project class.
williamgall/simpletest
160 Downloads
SimpleTest is a framework for unit testing, web site testing and mock objects for PHP.
facile-it/moka
11661 Downloads
Shorthand for creating mock objects