Libraries tagged by prophecy
phpspec/prophecy
513052307 Downloads
Highly opinionated mocking framework for PHP 5.3+
phpspec/prophecy-phpunit
38856686 Downloads
Integrating the Prophecy mocking library in PHPUnit test cases
jangregor/phpstan-prophecy
12526309 Downloads
Provides a phpstan/phpstan extension for phpspec/prophecy
php-mock/php-mock-prophecy
350977 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.
ramunasd/symfony-container-mocks
90350 Downloads
Provides extended Symfony dependency injection container enabling service mocking.
weirdan/prophecy-shim
203389 Downloads
Compatibility shim to be able to use ProphecyTrait with older PHPUnit versions
peridot-php/peridot-prophecy-plugin
97670 Downloads
Inject prophecy mocks into your Peridot tests
crellbar/prophecy-extensions
12789 Downloads
Prophecy promise for fluid interfaces
hjerichen/prophecy-php
11766 Downloads
Prophesize PHP Functions.
pamil/prophecy-common
169071 Downloads
Common helper classes for Prophecy
facile-it/moka
11641 Downloads
Shorthand for creating mock objects
c-malet/class-test
3101 Downloads
PHP Class testing
hautelook/frankenstein
3243 Downloads
The creature that is summoned by mixing PHPUnit, Prophecy, Atoum.
crimsonkissaki/mockmaker
42 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.
talentrydev/prophecy-phpunit
289 Downloads
Integrating the Prophecy mocking library in PHPUnit test cases