BSD Ports

devel/p5-Mock-Sub 1.09 OpenBSD

mock package, object and standard subroutines, with unit

System
OpenBSD
Repository
OpenBSD ports
Maintainer
Wen Heping <[email protected]>
Categories
devel, perl5

Description

Easy to use and very lightweight module for mocking out sub calls. Very useful for testing areas of your own modules where getting coverage may be difficult due to nothing to test against, and/or to reduce test run time by eliminating the need to call subs that you really don't want or need to test.

In the other systems

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

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
OpenBSDdevel/p5-Mock-Sub1.09 newestno data-Wen Heping <[email protected]>-
FreeBSDdevel/p5-Mock-Sub1.09 newestnone known-[email protected]-
DragonFlydevel/p5-Mock-Sub1.09 newestnone known-[email protected]-
HardenedBSDdevel/p5-Mock-Sub1.09 newestno data-[email protected]-
GhostBSDdevel/p5-Mock-Sub1.09 newestno data-[email protected]-

Compare across BSDs

Install

Binary package:

pkg_add p5-Mock-Sub

From the ports tree:

cd /usr/ports/devel/p5-Mock-Sub && make install

Dependencies

No port depends on this one.