全部搜索项
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 有关的软件包

  • 依赖
  • 推荐
  • 建议
  • 增强

下载 libtest-mockdatetime-perl

下载可用于所有硬件架构的
硬件架构 软件包大小 安装后大小 文件
all 6.4 kB21.0 kB [文件列表]