BSD Ports

devel/p5-Mock-Sub 1.09 DragonFly

Mock package, object and standard subroutines, with unit testing in mind

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

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
DragonFlydevel/p5-Mock-Sub1.09 newestnone known-[email protected]-
FreeBSDdevel/p5-Mock-Sub1.09 newestnone known-[email protected]-
OpenBSDdevel/p5-Mock-Sub1.09 newestno data-Wen Heping <[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 install p5-Mock-Sub

From DPorts:

cd /usr/dports/devel/p5-Mock-Sub && make install clean

Dependency graph

Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.

Dependencies

Run dependencies 1

No port depends on this one.