全部搜尋項
bullseye  ] [  bookworm  ] [  trixie  ] [  sid  ]
[ 原始碼: libtest-mockdatetime-perl  ]

套件:libtest-mockdatetime-perl(0.02-2)

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 有關的套件

  • 依賴
  • 推薦
  • 建議
  • 增強

下載 libtest-mockdatetime-perl

下載可用於所有硬體架構的
硬體架構 套件大小 安裝後大小 檔案
all 6。2 kB21。0 kB [檔案列表]