Libraries tagged by test-doubles
jeroen/post-request-sender
35088 Downloads
Micro library with interface for sending post requests. Includes test doubles and adapters
americanreading/view-mock
3301 Downloads
Test double for View
ray/test-double
963 Downloads
An AOP powered test double library
eventjet/test-double
59 Downloads
Reusable PSR-compliant test doubles for HTTP clients, loggers, and SOAP clients
sitphp/doubles
153 Downloads
A simple yet powerful library to make class doubles for testing
isidromerayo/simple_php_skeleton
103 Downloads
Simple skeleton PHP project with Symfony2 components
dancras/doubles
99 Downloads
A test doubles framework
crimsonkissaki/mockmaker
46 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
5435 Downloads
Use the new package php-mock/php-mock.
jeroen-de-dauw/file-fetcher
1023 Downloads
Simple file fetching interface
queuey/symfony
4 Downloads
Symfony bundle for queuey: container wiring, configuration, console commands, events and test doubles for the pure-PHP, Rust-wire-compatible job queue.
mekras/test-doubles
715 Downloads
Заглушки и вспомогательные инструменты для PHPUnit
pedrohenrique-conectala/teste01
3 Downloads
olvlvl/phpunit-given
60 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.