Web lists-archives.com

Bug#878042: ITP: libtest-mock-time-perl -- Deterministic time & timers for event loop tests




Package: wnpp
Owner: Hideki Yamane <henrich@xxxxxxxxxx>
Severity: wishlist
X-Debbugs-CC: debian-devel@xxxxxxxxxxxxxxxx, debian-perl@xxxxxxxxxxxxxxxx

* Package name    : libtest-mock-time-perl
  Version         : 0.1.6
  Upstream Author : Alex Efros <powerman@xxxxxxxx>
* URL             : https://metacpan.org/release/Test-Mock-Time
* License         : MIT
  Programming Lang: Perl
  Description     : Deterministic time & timers for 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.).

The package will be maintained under the umbrella of the Debian Perl Group.