The devel/p5-Test-MockTime port
p5-Test-MockTime-0.17p0 – replaces actual time with simulated time (cvsweb github mirror)
Description
This module was created to enable test suites to test code at specific points in time. Specifically it overrides localtime, gmtime and time 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.WWW: https://metacpan.org/release/Test-MockTime
Maintainer
Benoit Lecocq
Categories
Test dependencies
Reverse dependencies
Files
- /usr/local/libdata/perl5/site_perl/Test/
- /usr/local/libdata/perl5/site_perl/Test/MockTime.pm
- /usr/local/man/man3p/Test::MockTime.3p