Libraries tagged by test stub
ideasonpurpose/wp-test-stubs
301 Downloads
A simple collection of stubs and doubles for testing WordPress code.
sebkay/wp-unit-test-stubs
5427 Downloads
eonx-com/test-utils
84378 Downloads
A collection of PHP test utils, assertions stubs and test cases
phpolar/http-message-test-utils
1536 Downloads
A PSR-7 Http Message Stub Library
eventjet/test-double
72 Downloads
Reusable PSR-compliant test doubles for HTTP clients, loggers, and SOAP clients
sitphp/doubles
157 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
crimsonkissaki/mockmaker
52 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
1028 Downloads
Simple file fetching interface
eloquent/phony-pho
321 Downloads
Phony for Pho.
eloquent/peridot-phony
80 Downloads
Phony integration for Peridot.
mwx/nextcloud-testing
163 Downloads
Test doubles for a Nextcloud app's unit tests: an in-memory IAppConfig, IUserConfig, system config and ICache, an IL10N that answers in English, a MIME type detector, the Emitter stub, and a bootstrap that finds the server or falls back to nextcloud/ocp
knutle/test-stubs
486 Downloads
Provides simple stub handling for test cases
boggybot/laravel-test-generator
338 Downloads
Generate laravel tests stubs from registered routes.
dantudor/stubber-bundle
17 Downloads
Symfony2 Stubber Bundle