Libraries tagged by test-double
sitphp/doubles
151 Downloads
A simple yet powerful library to make class doubles for testing
rasuvaeff/understudy-psalm
147 Downloads
Psalm plugin for the understudy test double library: matcher-aware setup closures and misuse diagnostics
rasuvaeff/understudy-phpunit
137 Downloads
PHPUnit adapter for the understudy test double library: automatic verification and cleanup after every test
rasuvaeff/understudy-phpstan
144 Downloads
PHPStan extension for the understudy test double library: matcher-aware specification closures and misuse rules
isidromerayo/simple_php_skeleton
103 Downloads
Simple skeleton PHP project with Symfony2 components
dancras/doubles
98 Downloads
A test doubles framework
crimsonkissaki/mockmaker
45 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.
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.
ray/test-double
961 Downloads
An AOP powered test double library
eventjet/test-double
54 Downloads
Reusable PSR-compliant test doubles for HTTP clients, loggers, and SOAP clients
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.