BSD Ports

devel/p5-Test-Time 0.092 DragonFly

Perl extension to override time()/sleep() core functions for testing

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
ART10, GPLv1+
Categories
devel, perl5
Package size
9.7 KiB, 40.0 KiB installed

Description

Test::Time can be used to test modules that deal with time. Once you use this module, all references to time and sleep will be internalized. You can set custom time by passing time => number after the use statement.

In the other systems

SystemPortVersion
DragonFlydevel/p5-Test-Time0.092
FreeBSDdevel/p5-Test-Time0.092
OpenBSDdevel/p5-Test-Time0.092
NetBSDtime/p5-Test-Time0.092nb4
MidnightBSDdevel/p5-Test-Time0.092
HardenedBSDdevel/p5-Test-Time0.092
GhostBSDdevel/p5-Test-Time0.092

Install

Binary package:

pkg install p5-Test-Time

From DPorts:

cd /usr/dports/devel/p5-Test-Time && make install clean

Dependencies

Run dependencies 1

No port depends on this one.