todas as opções
bullseye  ] [  bookworm  ] [  trixie  ] [  sid  ]
[ Fonte: libtest-mockdatetime-perl  ]

Pacote: libtest-mockdatetime-perl (0.02-4)

Links para libtest-mockdatetime-perl

Screenshot

Recursos de Debian:

Baixe o pacote-fonte libtest-mockdatetime-perl:

Mantenedores(as):

Fontes externas:

Pacotes similares:

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.

Outros pacotes relacionados a libtest-mockdatetime-perl

  • depende
  • recomenda
  • sugere
  • melhora

Download de libtest-mockdatetime-perl

Baixe para todas as arquiteturas disponíveis
Arquitetura Tamanho do pacote Tamanho instalado Arquivos
all 6.4 kB21.0 kB [lista de arquivos]