Libraries tagged by mocking
eloquent/peridot-phony
78 Downloads
Phony integration for Peridot.
widoz/phpunit-mock-utilities
5184 Downloads
A set of phpunit mock utilities to make mocking more simpler
usox/hackmock
1715 Downloads
Mocking framework for hacklang
tomkyle/mock-psr
382 Downloads
Traits for mocking common PSR components in PhpUnit tests
mockrr/mockrr
7 Downloads
Simple, zero-dependency API mocking library.
m3m0r7/method-injector
1 Downloads
The library enhance mocking your test.
jimbojsb/spray
154 Downloads
A tool for mocking PHP Streams
jbzoo/mock-server
2158 Downloads
Flexible HTTP mocking application for testing and fast prototyping
incraigulous/data-factories
434 Downloads
A data factory helper class for mocking data. This is inspired by Laravel's model factories, the difference being that data factories are not tied to a model. Data factories are great for mocking api responses, requests or other data not persisted to a database. Data Factories are not dependant on Laravel, so you can use this package anywhere.
helpscout/specter-php
567 Downloads
JSON API Mocking and Testing for PHP
hafriedlander/silverstripe-phockito
34295 Downloads
Integrate Phockito (a PHP Mocking framework) with SilverStripe
er1z/fakemock
1552 Downloads
A library to provide mocking abilities for annotated class properties
czukowski/phpunit-mock-dibi
1460 Downloads
Dibi mocking helpers for PHPUnit
crimsonkissaki/mockmaker
42 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.
crashuxx/phockito
4258 Downloads
PHP Mocking framework inspired by Mockito for Java