Skip to content
Sections
>> Trisquel >> Packages >> nabia >> perl >> libtest-mocktime-perl
etiona  ] [  nabia  ] [  aramo  ]
[ Source: libtest-mocktime-perl  ]

Package: libtest-mocktime-perl (0.17-1)

module to simulate time in tests

Test::MockTime enables test suites to test code at specific points in time. Specifically it overrides the localtime, gmtime and time functions at compile time and then relies on the user supplying a mock time via set_relative_time, set_absolute_time or set_fixed_time to alter future calls to gmtime, time or localtime.

Other Packages Related to libtest-mocktime-perl

  • depends
  • recommends
  • suggests
  • dep: perl
    Larry Wall's Practical Extraction and Report Language

Download libtest-mocktime-perl

Download for all available architectures
Architecture Package Size Installed Size Files
all 7.6 kB24 kB [list of files]