FreeBSD.software
Home/devel/p5-Test-MockTime

p5-Test-MockTime

0.17

Replaces actual time with simulated time

Test::MockTime 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.

Origin: devel/p5-Test-MockTime
Category: devel
Size: 15.7KiB
License: ART10, GPLv1+
Maintainer: bofh@FreeBSD.org
Dependencies: 1 packages
Required by: 1 packages
$pkg install p5-Test-MockTime

Dependencies (1)

Required By (1 packages)

More in devel