Paquet : libtest-mockdatetime-perl (0.02-4)
Liens pour libtest-mockdatetime-perl
Ressources Debian :
- Rapports de bogues
- Developer Information
- Journal des modifications Debian
- Fichier de licence
- Suivis des correctifs pour Debian
Télécharger le paquet source libtest-mockdatetime-perl :
- [libtest-mockdatetime-perl_0.02-4.dsc]
- [libtest-mockdatetime-perl_0.02.orig.tar.gz]
- [libtest-mockdatetime-perl_0.02-4.debian.tar.xz]
Responsables :
Ressources externes :
- Page d'accueil [metacpan.org]
Paquets similaires :
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.
Autres paquets associés à 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
- langage de rapports et d'extractions pratiques de Larry Wall
Télécharger libtest-mockdatetime-perl
Architecture | Taille du paquet | Espace occupé une fois installé | Fichiers |
---|---|---|---|
all | 6,4 ko | 21,0 ko | [liste des fichiers] |