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

Paket: libtest-mock-time-perl (0.1.7-2)

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

Andere Pakete mit Bezug zu libtest-mock-time-perl

  • hängt ab von
  • empfiehlt
  • schlägt vor
  • 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
    oder libscalar-list-utils-perl (>= 1:1.33)
    modules providing common scalar and list utility subroutines

libtest-mock-time-perl herunterladen

Download für alle verfügbaren Architekturen
Architektur Paketgröße Größe (installiert) Dateien
all 11,5 kB40 kB [Liste der Dateien]