Libraries tagged by test-double
chubbyphp/chubbyphp-mock
219420 Downloads
A strict mocking solution. It works with any testing framework; the examples below use PHPUnit.
wmde/clock
101041 Downloads
Simple interface to get the current time without binding to global system resources. Includes test doubles!
jeroen/message-reporter
59884 Downloads
An interface to report and relay arbitrary messages to registered handlers, plus test doubles
lastzero/test-tools
44730 Downloads
Increases testing productivity by adding a service container and self-initializing fakes to PHPUnit
zalas/phpunit-doubles
14123 Downloads
Initialises test doubles in PHPUnit test cases for you
prestashopheaven/build-testing-js
484 Downloads
JavaScript test doubles of the PrestaHaven modules for Vitest: window.prestashop, jQuery, the admin components, runScript and the setup file that resets listeners and globals after every test, with TypeScript types.
tweakers/symfony-service-mock
71471 Downloads
Proxy layer to allow services to have their internals replaced with a test double, without affecting a service-container's (i.e. Symfony) bindings.
bkubicki/magento2-unit-tests-doubles
14933 Downloads
Unit tests doubles for Magento 2
jasonmccreary/test-double
702 Downloads
A modern PHP double library that puts developer experience first.
etel/phpunit-double
301 Downloads
Provides double configurators with fluent interface support.
jeroen-de-dauw/file-fetcher
1023 Downloads
Simple file fetching interface
mwx/nextcloud-testing
138 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
jeroen/post-request-sender
35088 Downloads
Micro library with interface for sending post requests. Includes test doubles and adapters
americanreading/view-mock
3287 Downloads
Test double for View
tomkyle/mock-psr
3584 Downloads
Mock common PSR standard components in PhpUnit tests