Libraries tagged by mock

lstrojny/phpunit-function-mocker

53 Favers
334543 Downloads

Allows mocking otherwise untestable PHP functions through the use of namespaces

Go to Download


badoo/soft-mocks

310 Favers
34278 Downloads

The idea behind "Soft Mocks" - as opposed to "hardcore" mocks that work on the level of the PHP interpreter (runkit and uopz) - is to rewrite class code on the spot so that it can be inserted in any place. It works by rewriting code on the fly during file inclusion instead of using extensions like runkit or uopz.

Go to Download


neur0toxine/pock

4 Favers
35271 Downloads

PSR-18 compatible HTTP mock library

Go to Download


mcustiel/phiremock-common

3 Favers
680891 Downloads

Common libraries for Phiremock

Go to Download


mcustiel/phiremock-codeception-module

8 Favers
401107 Downloads

Codeception module for PhireMock. Allows to stub remote services for HTTP requests.

Go to Download


mcustiel/phiremock-client

16 Favers
579336 Downloads

Client library to communicate with Phiremock server

Go to Download


icecave/isolator

38 Favers
1292837 Downloads

Dependency injection for global functions.

Go to Download


hafriedlander/phockito

70 Favers
265830 Downloads

PHP Mocking framework inspired by Mockito for Java

Go to Download


brain/faker

34 Favers
73092 Downloads

Faker (phpfaker/faker) for WordPress via Brain Monkey

Go to Download


simpletest/simpletest

153 Favers
342820 Downloads

SimpleTest is a framework for unit testing, web site testing and mock objects for PHP.

Go to Download


ptrofimov/xpmock

78 Favers
463416 Downloads

PHPUnit: simple syntax to create mock-objects

Go to Download


jimbojsb/pseudo

66 Favers
69392 Downloads

PDO/MySQL Connection Mocking

Go to Download


codeception/util-universalframework

1 Favers
2699043 Downloads

Mock framework module used in internal Codeception tests

Go to Download


ciareis/bypass

119 Favers
10574 Downloads

Bypass for PHP provides a quick way to create a custom instead of an actual HTTP server to return prebaked responses to client requests. This is most useful in tests, when you want to create a mock HTTP server and test how your HTTP client handles different types of responses from the server.

Go to Download


adriansuter/php-autoload-override

22 Favers
43513 Downloads

Override global scoped fully qualified function calls inside your class methods in order to be able to mock them during testing.

Go to Download


<< Previous Next >>