Libraries tagged by test mock
liuqian123/test
6 Downloads
Mock Object library for PHPUnit
ksfraser/mock-wordpress
0 Downloads
WordPress core mocks, factories, and assertions for unit testing
ksfraser/mock-woocommerce
0 Downloads
WooCommerce mocks, factories, and assertions for unit testing WooCommerce plugins
kohanaworld/http-mock
25 Downloads
Mock HTTP requests on the server side in your PHP unit tests, PSR/7 Fork of internations version php: >= 8.2
kartavik/php-mock-integration
7 Downloads
Integration package for PHP-Mock
kartavik/php-mock
27 Downloads
PHP-Mock can mock built-in PHP functions (e.g. time()). PHP-Mock relies on PHP's namespace fallback policy. No further extension is needed.
jiriknesl/mockista
3569 Downloads
Mockista is library for mocking, which I've written, because I find mocking in PHPUnit slow.
hungdx/mock-builder
38 Downloads
The Mock builder for Laravel Framework. Use for unit test
fintem/unit-test-case
19542 Downloads
Simplified phpunit mocking.
feedtailor/mocking-property-modifier
103 Downloads
A property modifier for Mock object.
fabiensalles/phpstan-test-practices
2 Downloads
PHPStan rules that check the shape of PHPUnit tests: assertions last, no guard assertions, literal expected values, one verified double, spies over mocks.
elmpp/mockery
36 Downloads
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). 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.
cyruscollier/phpspec-php-mock
412 Downloads
Adds the PHP Mock function mocking library as a phpspec Collaborator
bilge/mockery
34 Downloads
Mockery is a simple yet flexible PHP mock object framework
betterphp/php-native-mock
11363 Downloads
PHP Native Mock is a helper class that allows for easy mocking of native PHP functions and class methods in unit tests using the UOPZ extension.