Add PHP-Mock (#643)

PHP-Mock is a library to mock built-in PHP functions (e.g. time()).

See also: https://github.com/php-mock/php-mock
This commit is contained in:
Markus Malkusch 2016-09-15 17:48:15 +02:00 committed by Jose Diaz-Gonzalez
parent 336f519662
commit ca729b4817

View File

@ -287,6 +287,7 @@ Please see [CONTRIBUTING](https://github.com/ziadoz/awesome-php/blob/master/CONT
* [Peridot](https://github.com/peridot-php/peridot) - An event driven test framework. * [Peridot](https://github.com/peridot-php/peridot) - An event driven test framework.
* [Phake](https://github.com/mlively/Phake) - Another mock object library for testing. * [Phake](https://github.com/mlively/Phake) - Another mock object library for testing.
* [Pho](https://github.com/danielstjules/pho) - Another behaviour driven development testing framework. * [Pho](https://github.com/danielstjules/pho) - Another behaviour driven development testing framework.
* [PHP-Mock](https://github.com/php-mock/php-mock) - A mock library for built-in PHP functions (e.g. time()).
* [PHPSpec](https://github.com/phpspec/phpspec) - A design by specification unit testing library. * [PHPSpec](https://github.com/phpspec/phpspec) - A design by specification unit testing library.
* [PHPT](https://qa.php.net/write-test.php) - A test tool used by PHP itself. * [PHPT](https://qa.php.net/write-test.php) - A test tool used by PHP itself.
* [PHPUnit](https://github.com/sebastianbergmann/phpunit) - A unit testing framework. * [PHPUnit](https://github.com/sebastianbergmann/phpunit) - A unit testing framework.