Libraries tagged by test mock
mihaeu/test-generator
18754 Downloads
Generate test cases for existing files
sirbrillig/spies
68231 Downloads
Easier spies, stubs, and mocking for PHP tests
protomock/protomock
28318 Downloads
Mocking native PHP requests (file_get_contents(), ...)
mschop/simplified-isolator
27288 Downloads
Simplified isolator without dynamic code generation as replacement for icecave/isolator.
leoloso/faker
131064 Downloads
Fork for PoP of: Faker (fzaninotto/faker) for WordPress via Brain Monkey
elliotchance/concise
224263 Downloads
Concise is test framework for using plain English and minimal code, built on PHPUnit.
gamez/psr-testlogger
199459 Downloads
PSR-3 compliant test logger for developers who like tests and want to check if their application logs messages as they expect.
eloquent/phony-phpunit
256934 Downloads
Phony for PHPUnit.
ciareis/bypass
14119 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.
gromatics/http-fixtures
3283 Downloads
A Laravel package that generates fake JSON responses for HTTP testing using Http::fake(). It simplifies the creation of mock HTTP responses by integrating with FakerPHP to generate realistic test data.
badasswp/wp-mock-tc
1954 Downloads
WP Mock Test Case Library
jfalque/http-mock
71315 Downloads
Allows to create HTTP fixtures to mock tests
silasyudi/inject-mocks
12326 Downloads
Automatic injection of mocks into test subjects via #InjectMocks and #Mock annotations, to speed up unit testing with PHPUnit.
thatsus/test-api-protect
75451 Downloads
Avoid hitting third party API's by forcing their client classes to be mocked in tests
tweakers/symfony-service-mock
70075 Downloads
Proxy layer to allow services to have their internals replaced with a test double, without affecting a service-container's (i.e. Symfony) bindings.