всички настройки
bullseye  ] [  bookworm  ] [  trixie  ] [  sid  ]
[ Източник: libtest-mockdatetime-perl  ]

Пакет: libtest-mockdatetime-perl (0.02-4)

Връзки за libtest-mockdatetime-perl

Screenshot

Ресурси за Debian:

Изтегляне на пакет-източник libtest-mockdatetime-perl.

Отговорници:

Външни препратки:

Подобни пакети:

module to mock DateTime->now calls during tests

Getting the current time sometimes is not very helpful for testing scenarios. Instead, if you could obtain a known value during the runtime of a testcase will make your results predictable.

The Test::MockDateTime module allows faking a given date and time for the runtime of a subsequent code block. By default the on keyword is exported into the namespace of the test file. The date to get mocked must be in a format that is recognized by DateTime::Format::DateParse.

Други пакети, свързани с libtest-mockdatetime-perl

  • зависимости
  • препоръчани
  • предложени
  • enhances

Изтегляне на libtest-mockdatetime-perl

Изтегляне за всички налични архитектури
Архитектура Големина на пакета Големина след инсталиране Файлове
all 6,4 кБ21,0 кБ [списък на файловете]