Skip to content
Sections
>> Trisquel >> Packages >> aramo >> php >> php-mock
aramo  ]
[ Source: 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

  • depends
  • recommends
  • suggests
  • sug: php-php-mock-phpunit
    Пакунок недоступний

Завантажити php-mock

Завантаження для всіх доступних архітектур
Архітектура Розмір пакунка Розмір після встановлення Файли
all 20.6 kB135 kB [список файлів]