Libraries tagged by Test Doubles
gealex/doublit
76 Downloads
Doublit : A simple tool to test your class dependencies in 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.
malkusch/php-mock
5347 Downloads
Use the new package php-mock/php-mock.
jeroen-de-dauw/file-fetcher
891 Downloads
Simple file fetching interface
eloquent/phony-peridot
2121 Downloads
Phony integration for Peridot.
eloquent/peridot-phony
78 Downloads
Phony integration for Peridot.
americanreading/view-mock
2796 Downloads
Test double for View
sitphp/doubles
134 Downloads
A simple yet powerful library to make class doubles for testing
ray/test-double
943 Downloads
An AOP powered test double library
raigu/psr20-clock-testdoubles
0 Downloads
Test Doubles for PSR-20 clock interface
raigu/psr16-simple-cache-testdoubles
1 Downloads
Test Doubles for PSR-16 simple cache
mekras/test-doubles
715 Downloads
Заглушки и вспомогательные инструменты для PHPUnit
ideasonpurpose/wp-test-stubs
231 Downloads
A simple collection of stubs and doubles for testing WordPress code.
pedrohenrique-conectala/teste01
2 Downloads
net-tools/phpunit-given
6 Downloads
An alternative to PHPUnit's ReturnValueMap and ReturnCallback. A convenient solution to migrate from Prophecy.