replaces actual time with simulated time
Project homepage: https://metacpan.org/release/Test-MockTime
Description
This module was created to enable test suites to test code at specific
points in time. Specifically it overrides localtime, gmtime and time at
compile time and then relies on the user supplying a mock time via
set_relative_time, set_absolute_time or set_fixed_time to alter future
calls to gmtime, time or localtime.
Package information
- Ports path
- devel/p5-Test-MockTime
- Package architecture
- *
- Maintainer
- Benoit Lecocq <benoit@openbsd.org>
- Categories
- devel, perl5
- Available flavors
- None listed
Ports list build and test dependencies as well as runtime dependencies. pkg_add selects those needed for installation.
Direct dependencies
Test
Used by (10 dependency relationships)
Includes library, runtime, build and test dependencies.