16 Repositories
PHP mock Libraries
Attempting to create an intelligent mock of the Google API PHP Client for unit and functional testing
google-api-php-client-mock A small scale intelligent mock of the Google API PHP Client for unit and functional testing. Overview This is intended to m
Mockery - Designed as a drop in alternative to PHPUnit's phpunit-mock-objects library
Mockery Mockery is a simple yet flexible PHP mock object framework for use in unit testing with PHPUnit, PHPSpec or any other testing framework. Its c
SimpleTest is a framework for unit testing, web site testing and mock objects for PHP
SimpleTest SimpleTest is a framework for unit testing, web site testing and mock objects for PHP. Installation Downloads All downloads are stored on G
Mock implementation of the Translation package, for testing with PHPUnit
PoP Translation - Mock Mock implementation of the Translation package, for testing with PHPUnit Install Via Composer composer require getpop/translati
Allows DataObjects to self-populate intelligently with fake data
Mock DataObjects for SilverStripe This module provides intelligent content generation functionality to all DataObjects. The object introspects its fie
Very simple mock HTTP Server for testing Restful API, running via Docker.
httpdock Very simple mock HTTP Server for testing Restful API, running via Docker. Start Server Starting this server via command: docker run -ti -d -p
PHP Mocking Framework
Phake Phake is a framework for PHP that aims to provide mock objects, test doubles and method stubs. Phake was inspired by a lack of flexibility and e
Mock authentication for CodeIgniter 4
Tatter\Imposter Mock authentication for CodeIgniter
A simple way to mock a client
Mocked Client A simple way to mock a client Install Via Composer $ composer require doppiogancio/mocked-client guzzlehttp/guzzle php-http/discovery No
Add mocking capabilities to Pest or PHPUnit
This repository contains the Pest Plugin Mock. The Mocking API can be used in regular PHPUnit projects. For that, you just have to run the following c
A PHP library for mocking date and time in tests
ClockMock Slope s.r.l. ClockMock provides a way for mocking the current timestamp used by PHP for \DateTime(Immutable) objects and date/time related f
vfsStream is a stream wrapper for a virtual file system that may be helpful in unit tests to mock the real file system. It can be used with any unit test framework, like PHPUnit or SimpleTest.
vfsStream vfsStream is a stream wrapper for a virtual file system that may be helpful in unit tests to mock the real file system. It can be used with
Mock built-in PHP functions (e.g. time(), exec() or rand())
PHP-Mock: mocking built-in PHP functions PHP-Mock is a testing library which mocks non deterministic built-in PHP functions like time() or rand(). Thi
Mockery is a simple yet flexible PHP mock object framework for use in unit testing with PHPUnit, PHPSpec or any other testing framework. Its core goal is to offer a test double framework with a succinct API capable of clearly defining all possible object operations and interactions using a human readable Domain Specific Language (DSL).
Mockery Mockery is a simple yet flexible PHP mock object framework for use in unit testing with PHPUnit, PHPSpec or any other testing framework. Its c
Mock HTTP requests on the server side in your PHP unit tests
HTTP Mock for PHP Mock HTTP requests on the server side in your PHP unit tests. HTTP Mock for PHP mocks the server side of an HTTP request to allow in
Supercharge your app or SDK with a testing library specifically for Guzzle
Full Documentation at guzzler.dev Supercharge your app or SDK with a testing library specifically for Guzzle. Guzzler covers the process of setting up