Balík: libtest-mockdatetime-perl (0.02-2)
Odkazy pre libtest-mockdatetime-perl
Zdroje Trisquel:
Stiahnuť zdrojový balík libtest-mockdatetime-perl:
- [libtest-mockdatetime-perl_0.02-2.dsc]
- [libtest-mockdatetime-perl_0.02.orig.tar.gz]
- [libtest-mockdatetime-perl_0.02-2.debian.tar.xz]
Správca:
Original Maintainers:
- Debian Perl Group (Konferencia)
- Alexandre Mestiashvili
Externé zdroje:
- Domovská stránka [metacpan.org]
Podobné balíky:
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.
Ostatné balíky súvisiace s balíkom libtest-mockdatetime-perl
|
|
|
-
- dep: libdatetime-format-dateparse-perl
- Perl module parsing Date::Parse compatible formats
-
- dep: libdatetime-perl
- module for manipulating dates, times and timestamps
-
- dep: perl
- Larry Wall's Practical Extraction and Report Language
Stiahnuť libtest-mockdatetime-perl
Architektúra | Veľkosť balíka | Nainštalovaná veľkosť | Súbory |
---|---|---|---|
all | 6.0 kB | 20 kB | [zoznam súborov] |