-- Leo's gemini proxy

-- Connecting to gemini.omarpolo.com:1965...

-- Connected

-- Sending request

-- Meta line: 20 text/gemini;lang=en

devel/p5-Test-MockTime v0.17


# pkg_add p5-Test-MockTime

> replaces actual time with simulated time


CVS Web

Port Homepage (WWW)


Maintainer: Benoit Lecocq <benoit at openbsd dot org>


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.

-- Response ended

-- Page fetched on Sat Jun 1 21:22:52 2024