všetky možnosti
bullseye  ] [  bookworm  ] [  trixie  ] [  sid  ]
[ Zdroj: libtest-mockdatetime-perl  ]

Balík: libtest-mockdatetime-perl (0.02-4)

Odkazy pre libtest-mockdatetime-perl

Screenshot

Zdroje Debian:

Stiahnuť zdrojový balík libtest-mockdatetime-perl:

Správcovia:

Externé zdroje:

Podobné balíky:

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.

Ostatné balíky súvisiace s balíkom libtest-mockdatetime-perl

  • závisí
  • odporúča
  • navrhuje
  • vylepšuje

Stiahnuť libtest-mockdatetime-perl

Stiahnuť pre všetky dostupné architektúry
Architektúra Veľkosť balíka Nainštalovaná veľkosť Súbory
all 6.4 kB21.0 kB [zoznam súborov]