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 [文件列表]