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 кБ135 кБ [списък на файловете]