Libraries tagged by mocking

phpspec/prophecy

8480 Favers
576673591 Downloads

Highly opinionated mocking framework for PHP 5.3+

Go to Download


dg/bypass-finals

584 Favers
36488850 Downloads

🔓 BypassFinals: removes final and readonly from your code on the fly, so you can mock final classes and methods in PHPUnit, Mockery or Nette Tester.

Go to Download


phpspec/prophecy-phpunit

197 Favers
67838066 Downloads

Integrating the Prophecy mocking library in PHPUnit test cases

Go to Download


brain/monkey

349 Favers
19343738 Downloads

Mocking utility for PHP functions and WordPress plugin API

Go to Download


nunomaduro/mock-final-classes

115 Favers
2064218 Downloads

Allows mocking of final methods and classes in PHP.

Go to Download


10up/wp_mock

725 Favers
3785150 Downloads

A mocking library to take the pain out of unit testing for WordPress

Go to Download


slope-it/clock-mock

77 Favers
2383854 Downloads

A library for mocking current date and time in tests.

Go to Download


sanmai/duoclock

3 Favers
11776279 Downloads

PHP time mocking for tests - PSR-20 clock with mockable sleep(), time(), and TimeSpy for PHPUnit testing

Go to Download


polishsymfonycommunity/symfony-mocker-container

141 Favers
8408995 Downloads

Provides base Symfony dependency injection container enabling service mocking.

Go to Download


codeception/aspect-mock

785 Favers
3767829 Downloads

Experimental Mocking Framework powered by Aspects

Go to Download


happyr/service-mocking

45 Favers
296216 Downloads

Make it easy to mock services in a built container

Go to Download


lucatume/function-mocker

19 Favers
1628232 Downloads

Function mocking with Patchwork

Go to Download


letsdrink/ouzo-goodies

133 Favers
723691 Downloads

Utility classes, test assertions and mocking framework extracted from Ouzo framework.

Go to Download


noeldemartin/laravel-dusk-mocking

36 Favers
113596 Downloads

Mock facades in Laravel Dusk tests.

Go to Download


imdhemy/es-testing-utils

11 Favers
69790 Downloads

Elasticsearch Testing utils

Go to Download


Next >>