Libraries tagged by test-double
etel/phpunit-double
196 Downloads
Provides double configurators with fluent interface support.
dancras/doubles
97 Downloads
A test doubles framework
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.
malkusch/php-mock
5428 Downloads
Use the new package php-mock/php-mock.
jeroen-de-dauw/file-fetcher
989 Downloads
Simple file fetching interface
ehough/mockery
896 Downloads
Fork of padraic/mockery compatible with PHP 5.2+.
americanreading/view-mock
3235 Downloads
Test double for View
eventjet/test-double
43 Downloads
Reusable PSR-compliant test doubles for HTTP clients, loggers, and SOAP clients
mekras/test-doubles
715 Downloads
Заглушки и вспомогательные инструменты для PHPUnit
sitphp/doubles
143 Downloads
A simple yet powerful library to make class doubles for testing
pedrohenrique-conectala/teste01
3 Downloads
olvlvl/phpunit-given
49 Downloads
An alternative to PHPUnit's ReturnValueMap and ReturnCallback. A convenient solution to migrate from Prophecy.
net-tools/phpunit-given
10 Downloads
An alternative to PHPUnit's ReturnValueMap and ReturnCallback. A convenient solution to migrate from Prophecy.
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.