alla flaggor
bullseye  ] [  bookworm  ] [  trixie  ] [  sid  ]
[ Källkod: libtest-mockdatetime-perl  ]

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

Länkar för libtest-mockdatetime-perl

Screenshot

Debianresurser:

Hämta källkodspaketet libtest-mockdatetime-perl:

Ansvariga:

Externa resurser:

Liknande paket:

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.

Andra paket besläktade med libtest-mockdatetime-perl

  • beror
  • rekommenderar
  • föreslår
  • enhances

Hämta libtest-mockdatetime-perl

Hämtningar för alla tillgängliga arkitekturer
Arkitektur Paketstorlek Installerad storlek Filer
all 6,4 kbyte21,0 kbyte [filförteckning]