Libraries tagged by Test Doubles
fabiensalles/phpstan-test-practices
2 Downloads
PHPStan rules that check the shape of PHPUnit tests: assertions last, no guard assertions, literal expected values, one verified double, spies over mocks.
pedrohenrique-conectala/teste01
3 Downloads
olvlvl/phpunit-given
60 Downloads
An alternative to PHPUnit's ReturnValueMap and ReturnCallback. A convenient solution to migrate from Prophecy.
net-tools/phpunit-given
10 Downloads
An alternative to PHPUnit's ReturnValueMap and ReturnCallback. A convenient solution to migrate from Prophecy.
kartavik/php-mock-integration
7 Downloads
Integration package for PHP-Mock
kartavik/php-mock
27 Downloads
PHP-Mock can mock built-in PHP functions (e.g. time()). PHP-Mock relies on PHP's namespace fallback policy. No further extension is needed.
kambo/classopener
10 Downloads
Mock/stub final classes and methods in PHPUnit.
gealex/doublit
96 Downloads
Doublit : A simple tool to test your class dependencies in PhpUnit
elmpp/mockery
36 Downloads
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). Designed as a drop in alternative to PHPUnit's phpunit-mock-objects library, Mockery is easy to integrate with PHPUnit and can operate alongside phpunit-mock-objects without the World ending.
bilge/mockery
34 Downloads
Mockery is a simple yet flexible PHP mock object framework
malkusch/php-mock
5435 Downloads
Use the new package php-mock/php-mock.
ehough/mockery
896 Downloads
Fork of padraic/mockery compatible with PHP 5.2+.
bridgetroll/phony
5 Downloads
Mocks, stubs, and spies for PHP.
avris/function-mock
32 Downloads
Lightweight class for mocking global functions
eloquent/phony-simpletest
27 Downloads
Phony for SimpleTest.