./time/p5-Test-MockTime, Replaces actual time with simulated time

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: pkgsrc-2022Q4, Version: 0.17nb5, Package name: p5-Test-MockTime-0.17nb5, Maintainer: pkgsrc-users

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.


Master sites: (Expand)

Filesize: 5.747 KB

Version history: (Expand)