Skip to content
Sections
>> Trisquel >> Pakiety >> aramo >> php >> php-mock
aramo  ]
[ Pakiet źródłowy: php-mock  ]

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

Inne pakiety związane z php-mock

  • wymaga
  • poleca
  • sugeruje
  • sug: php-php-mock-phpunit
    Pakiet niedostępny

Pobieranie php-mock

Pobierz dla wszystkich dostępnych architektur
Architektura Rozmiar pakietu Rozmiar po instalacji Pliki
all 20,6 KiB135 KiB [lista plików]