Binary package “libtest-mock-time-perl” in ubuntu bionic

module for deterministic time & timers in event loop tests

 Test::Mock::Time 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 be loaded by your script/app/test before other
 related modules (Time::HiRes, Mojolicious, EV, etc.).