Libraries tagged by mock time

php-mock/php-mock

376 Favers
21214069 Downloads

PHP-Mock can mock built-in PHP functions (e.g. time()). PHP-Mock relies on PHP's namespace fallback policy. No further extension is needed.

Go to Download


php-mock/php-mock-phpunit

176 Favers
9517430 Downloads

Mock built-in PHP functions (e.g. time()) with PHPUnit. This package relies on PHP's namespace fallback policy. No further extension is needed.

Go to Download


slope-it/clock-mock

77 Favers
2118860 Downloads

A library for mocking current date and time in tests.

Go to Download


php-mock/php-mock-mockery

39 Favers
2436933 Downloads

Mock built-in PHP functions (e.g. time()) with Mockery. This package relies on PHP's namespace fallback policy. No further extension is needed.

Go to Download


php-mock/php-mock-prophecy

16 Favers
541995 Downloads

Mock built-in PHP functions (e.g. time()) with Prophecy. This package relies on PHP's namespace fallback policy. No further extension is needed.

Go to Download


mcustiel/mockable-datetime

5 Favers
573374 Downloads

A DateTime library that allows mock dates and times in UnitTests.

Go to Download


robier/mock-global-php-functions

3 Favers
18564 Downloads

Mock any function that exists in global namespace

Go to Download


rezzza/time-traveler

106 Favers
8433 Downloads

Travel the time in PHP

Go to Download


carpiftw/clock-mock

0 Favers
7815 Downloads

A library for mocking current date and time in tests.

Go to Download


shyru/timedilation

1 Favers
12387 Downloads

Mocking time() for PHPUnit

Go to Download


crimsonkissaki/mockmaker

4 Favers
44 Downloads

Whether you call them doubles, stubs, mocks, partials, fakes, or something else there are times when a mocking library such as PHPUnit's mockBuilder, Mockery, Prophecy, etc. just doesn't do exactly what you need or want. Sometimes you just need a concrete class implementation to run through the unit test wringer or a full end to end functional unit test suite. MockMaker aims to simplify the process of generating concrete fake ORM entity objects. Flexible and extendable, the generated seed code can be altered to suit your particular project with relative ease. That means after the initial setup you can re-run MockMaker for any new entities that get added in or update existing entities that change with little to no fuss. What's more, once MockMaker has made your files it's done; you don't have to include it in your code base and can use the generated files like any other project class.

Go to Download


acts/time-mock-bundle

0 Favers
2113 Downloads

A simple bundle for Symfony2 which enables the current time to be mocked.

Go to Download


kartavik/php-mock

0 Favers
27 Downloads

PHP-Mock can mock built-in PHP functions (e.g. time()). PHP-Mock relies on PHP's namespace fallback policy. No further extension is needed.

Go to Download


timesplinter/proxy-mock

1 Favers
40385 Downloads

Go to Download


knutle/pest-mock-recorder

0 Favers
93 Downloads

Lets you easily bind a mock to the service container that can flexibly record history every time it is used

Go to Download


Next >>