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 ...
DDICK/Test-MockTime-0.17 - 01 Apr 2018 06:09:08 UTC"Test::MockTime::HiRes" is a Time::HiRes compatible version of Test::MockTime. You can wait milliseconds in simulated time. It also provides "mock_time" to restrict the effect of the simulation in a code block....
TARAO/Test-MockTime-HiRes-0.08 - 04 Feb 2018 06:55:18 UTC"Test::MockTime::DateCalc" arranges for the functions in "Date::Calc" to follow the Perl level "time()" function (see perlfunc) and in particular any fake date/time set there by "Test::MockTime". The following "Date::Calc" functions are changed Syste...
KRYDE/Test-MockTime-DateCalc-7 - 17 Aug 2019 13:15:52 UTCGetting 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. Why another Date Mocker? I wanted something simple with a ve...
WKI/Test-MockDateTime-0.02 - 01 Oct 2013 20:12:01 UTCThis module replaces actual time with simulated time everywhere (core time(), Time::HiRes, EV, AnyEvent with EV, Mojolicious, …) and provide a way to write deterministic tests for event loop based applications with timers. IMPORTANT! This module must...
POWERMAN/Test-Mock-Time-v0.1.7 - 09 Jan 2018 19:07:00 UTC"Test::MockSleep" overrides perl's "sleep" call. A call to "sleep" will not really sleep. It also provides a facility to check how many seconds a program would have slept. It has a few bonuses: * If Time::HiRes is available, this module will override...
MNUNBERG/Test-MockSleep-0.02 - 01 Jan 2012 20:33:33 UTC