BSD Ports

devel/p5-Test-SubCalls 1.10p1 OpenBSD

track the number of times subs are called

System
OpenBSD
Repository
OpenBSD ports
Maintainer
The OpenBSD ports mailing-list <[email protected]>
Categories
devel, perl5

Description

There are a number of different situations (like testing caching code) where you want to want to do a number of tests, and then verify that some underlying subroutine deep within the code was called a specific number of times.

Test::SubCalls provides a number of functions for doing testing in this way in association with your normal Test::More (or similar) test scripts.

In the other systems

The newest version among them is 1.10, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
OpenBSDdevel/p5-Test-SubCalls1.10p1 newestno data-The OpenBSD ports mailing-list <[email protected]>-
FreeBSDdevel/p5-Test-SubCalls1.10 newestnone known-[email protected]-
NetBSDdevel/p5-Test-SubCalls1.10nb9 newestnone known-[email protected]2026-07-16
DragonFlydevel/p5-Test-SubCalls1.10 newestnone known-[email protected]-
MidnightBSDdevel/p5-Test-SubCalls1.10 newestno data-[email protected]-
HardenedBSDdevel/p5-Test-SubCalls1.10 newestno data-[email protected]-
GhostBSDdevel/p5-Test-SubCalls1.10 newestno data-[email protected]-

Compare across BSDs

Install

Binary package:

pkg_add p5-Test-SubCalls

From the ports tree:

cd /usr/ports/devel/p5-Test-SubCalls && make install

Dependencies

No port depends on this one.