Libraries tagged by moc
badoo/soft-mocks
33885 Downloads
The idea behind "Soft Mocks" - as opposed to "hardcore" mocks that work on the level of the PHP interpreter (runkit and uopz) - is to rewrite class code on the spot so that it can be inserted in any place. It works by rewriting code on the fly during file inclusion instead of using extensions like runkit or uopz.
mnapoli/phpunit-easymock
50770 Downloads
Helpers to build PHPUnit mocks
mcustiel/phiremock-common
668845 Downloads
Common libraries for Phiremock
mcustiel/phiremock-codeception-module
392748 Downloads
Codeception module for PhireMock. Allows to stub remote services for HTTP requests.
mcustiel/phiremock-client
569163 Downloads
Client library to communicate with Phiremock server
icecave/isolator
1290396 Downloads
Dependency injection for global functions.
hafriedlander/phockito
264716 Downloads
PHP Mocking framework inspired by Mockito for Java
dnadesign/silverstripe-populate
91221 Downloads
Populate your database through YAML files
brain/faker
71132 Downloads
Faker (phpfaker/faker) for WordPress via Brain Monkey
eloquent/phony
447995 Downloads
Mocks, stubs, and spies for PHP.
simpletest/simpletest
341870 Downloads
SimpleTest is a framework for unit testing, web site testing and mock objects for PHP.
ptrofimov/xpmock
462949 Downloads
PHPUnit: simple syntax to create mock-objects
jimbojsb/pseudo
68619 Downloads
PDO/MySQL Connection Mocking
codeception/util-universalframework
2633709 Downloads
Mock framework module used in internal Codeception tests
ciareis/bypass
8844 Downloads
Bypass for PHP provides a quick way to create a custom instead of an actual HTTP server to return prebaked responses to client requests. This is most useful in tests, when you want to create a mock HTTP server and test how your HTTP client handles different types of responses from the server.