Libraries tagged by prophecy
phpspec/prophecy
560327007 Downloads
Highly opinionated mocking framework for PHP 5.3+
phpspec/prophecy-phpunit
59281776 Downloads
Integrating the Prophecy mocking library in PHPUnit test cases
jangregor/phpstan-prophecy
20098480 Downloads
Provides a phpstan/phpstan extension for phpspec/prophecy
php-mock/php-mock-prophecy
521059 Downloads
Mock built-in PHP functions (e.g. time()) with Prophecy. This package relies on PHP's namespace fallback policy. No further extension is needed.
pamil/prophecy-common
176026 Downloads
Common helper classes for Prophecy
ramunasd/symfony-container-mocks
97679 Downloads
Provides extended Symfony dependency injection container enabling service mocking.
weirdan/prophecy-shim
244930 Downloads
Compatibility shim to be able to use ProphecyTrait with older PHPUnit versions
peridot-php/peridot-prophecy-plugin
101278 Downloads
Inject prophecy mocks into your Peridot tests
runroom/rector-prophecy-to-mocking
10060 Downloads
Rector migration rules for Prophecy to Mocking
console-helpers/prophecy-phpunit
3505 Downloads
Integrating the Prophecy mocking library in PHPUnit test cases
hjerichen/prophecy-php
15470 Downloads
Prophesize PHP Functions.
facile-it/moka
11656 Downloads
Shorthand for creating mock objects
c-malet/class-test
3345 Downloads
PHP Class testing
hautelook/frankenstein
3243 Downloads
The creature that is summoned by mixing PHPUnit, Prophecy, Atoum.
crimsonkissaki/mockmaker
44 Downloads
Whether you call them doubles, stubs, mocks, partials, fakes, or something else there are times when a mocking library such as PHPUnit's mockBuilder, Mockery, Prophecy, etc. just doesn't do exactly what you need or want. Sometimes you just need a concrete class implementation to run through the unit test wringer or a full end to end functional unit test suite. MockMaker aims to simplify the process of generating concrete fake ORM entity objects. Flexible and extendable, the generated seed code can be altered to suit your particular project with relative ease. That means after the initial setup you can re-run MockMaker for any new entities that get added in or update existing entities that change with little to no fuss. What's more, once MockMaker has made your files it's done; you don't have to include it in your code base and can use the generated files like any other project class.