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 [ファイル一覧]