libtest-mockdatetime-perl 0.02-4 (arm64 binary) in ubuntu oracular
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:
Details
- Package version:
- 0.02-4
- Status:
- Published
- Component:
- universe
- Priority:
- Optional
Downloadable files
amd64 build of libtest-mockdatetime-perl 0.02-4 in ubuntu lunar PROPOSED produced
these files:
- libtest-mockdatetime-perl_0.02-4_all.deb (6.2 KiB)
Package relationships
- Depends on: