Skip to content
Sections
>> Trisquel >> 软件包 >> aramo >> php >> php-mock
aramo  ]
[ 源代码: php-mock  ]

软件包: php-mock (2.3.0-2)

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).

其他与 php-mock 有关的软件包

  • 依赖
  • 推荐
  • 建议
  • sug: php-php-mock-phpunit
    软件包暂时不可用

下载 php-mock

下载可用于所有硬件架构的
硬件架构 软件包大小 安装后大小 文件
all 20.6 kB135 kB [文件列表]