Skip to content
Sections
>> Trisquel >> Packages >> etiona >> perl >> libtest-mock-time-perl
etiona  ] [  nabia  ] [  aramo  ]
[ Source: libtest-mock-time-perl  ]

Package: libtest-mock-time-perl (0.1.7-1)

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.).

Other Packages Related to libtest-mock-time-perl

  • depends
  • recommends
  • suggests
  • dep: libexport-attrs-perl
    Perl 6 'is export(...)' trait as a Perl 5 attribute
  • dep: libtest-mockmodule-perl
    Perl module to override subroutines in a module for unit testing
  • dep: perl
    Larry Wall's Practical Extraction and Report Language
  • dep: perl (>= 5.19.5)
    Larry Wall's Practical Extraction and Report Language
    or libscalar-list-utils-perl (>= 1:1.33)
    modules providing common scalar and list utility subroutines
    also a virtual package provided by perl-base

Download libtest-mock-time-perl

Download for all available architectures
Architecture Package Size Installed Size Files
all 11.3 kB40 kB [list of files]