Skip to content
Sections
>> Trisquel >> 软件包 >> nabia >> perl >> libtest-mock-time-perl
etiona  ] [  nabia  ] [  aramo  ]
[ 源代码: libtest-mock-time-perl  ]

软件包: 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.).

其他与 libtest-mock-time-perl 有关的软件包

  • 依赖
  • 推荐
  • 建议
  • 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
    或者 libscalar-list-utils-perl (>= 1:1.33)
    modules providing common scalar and list utility subroutines

下载 libtest-mock-time-perl

下载可用于所有硬件架构的
硬件架构 软件包大小 安装后大小 文件
all 11.5 kB40 kB [文件列表]