Libraries tagged by test double
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.
jeroen-de-dauw/file-fetcher
905 Downloads
Simple file fetching interface
eloquent/peridot-phony
78 Downloads
Phony integration for Peridot.
americanreading/view-mock
2933 Downloads
Test double for View
sitphp/doubles
138 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
2 Downloads
Test Doubles for PSR-16 simple cache
mekras/test-doubles
715 Downloads
Заглушки и вспомогательные инструменты для PHPUnit
double330/composer-test
9 Downloads
composer-test
jamesalday/doublemadoutliers
15 Downloads
Uses the Double Median Absolute Deviation test to find outliers in data
ideasonpurpose/wp-test-stubs
246 Downloads
A simple collection of stubs and doubles for testing WordPress code.
pedrohenrique-conectala/teste01
2 Downloads
olvlvl/phpunit-given
44 Downloads
An alternative to PHPUnit's ReturnValueMap and ReturnCallback. A convenient solution to migrate from Prophecy.
net-tools/phpunit-given
7 Downloads
An alternative to PHPUnit's ReturnValueMap and ReturnCallback. A convenient solution to migrate from Prophecy.