Libraries tagged by test mock
rasuvaeff/understudy-phpunit
165 Downloads
PHPUnit adapter for the understudy test double library: automatic verification and cleanup after every test
rasuvaeff/understudy-phpstan
179 Downloads
PHPStan extension for the understudy test double library: matcher-aware specification closures and misuse rules
lazypdo/lazypdo
105780 Downloads
LazyPDO is a set of wrappers over PHP's standard PDO and PDOStatement classes. It enables lazy loading, serialization and decoration.
fp/fumocker
1264 Downloads
A php function mocker
cloud-castle/faker
80 Downloads
Мультиязычный генератор фейковых данных для PHP 8.1+: 75 провайдеров и полный суперсет семи аналогов (FakerPHP, fzaninotto, DummyGenerator, mbezhanov, nubs, rando-php, php-loremipsum) с API FakerPHP — имена, адреса, телефоны, компании, тексты, даты, платёжные данные, HTML, UUID/ULID на 8 языках (ru/en/de/fr/es/pl/bg/ro) со склонением имён, датами прописью и реальными словами словаря. Сидируемый, детерминированный, часы PSR-20.
narrowspark/testing-helper
64545 Downloads
Provides test helpers.
eloquent/phony-kahlan
76965 Downloads
Phony for Kahlan.
elephantly/kahlan-bundle
31269 Downloads
Symfony bundle for Kahlan Test Framework integration
microunit/microunit
15 Downloads
A new way to test PHP. Built for today. The dependency-free testing framework, with tests you can read at a glance and fast runs.
kuria/clock
12211 Downloads
Provides access to current date and time that can be mocked for testing purposes
daycry/phpunit-extension-vcr
5548 Downloads
A library that allows you to easily use the PHP-VCR library in your PHPUnit tests.
d3/testingtools
1006 Downloads
some tools to improve code tests
console-helpers/prophecy-phpunit
3931 Downloads
Integrating the Prophecy mocking library in PHPUnit test cases
sorge-it/http-server
185 Downloads
In-process HTTP/1.1 server for Pest and PHPUnit browser tests, built for coding agents. The page sees the test's RefreshDatabase transaction, actingAs() user and fakes. No event loop, no package dependencies; tests compare each response to a valid request with FrankenPHP, byte for byte in the form Chrome receives. Loopback only; not for production, WebDriver or HTTP mocks.
lastcraft/simpletest
21901 Downloads
Unit testing, mock objects and web testing framework for PHP built around test cases.