Package: php-mock (2.5.0-1)
Links for php-mock
Debian Resources:
Download Source Package php-mock:
Maintainers:
External Resources:
- Homepage [github.com]
Similar packages:
Experimental package
Warning: This package is from the experimental distribution. That means it is likely unstable or buggy, and it may even cause data loss. Please be sure to consult the changelog and other possible documentation before using it.
mock built-in PHP functions
PHP-Mock is a testing library which mocks non deterministic built-in PHP functions like time() or rand(). This is achieved by PHP's namespace fallback policy. Therefore it is required to be in a non global namespace context and call the function unqualified.
PHP-Mock has integrations for PHPUnit, Mockery, and Prophecy (phpspec).
Other Packages Related to php-mock
|
|
|
|
-
- dep: php-common
- Common files for PHP packages
-
- dep: php-text-template
- Simple template engine
-
- sug: php-mock-phpunit
- mock built-in PHP functions with PHPUnit
Download php-mock
Architecture | Package Size | Installed Size | Files |
---|---|---|---|
all | 20.3 kB | 134.0 kB | [list of files] |