BSD Ports

devel/p5-Mock-Quick 1.111 DragonFly

Quickly mock objects and classes

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

Description

Mock-Object provides a declarative mocking interface that results in a very concise, but clear syntax. There are separate facilities for mocking object instances, and classes. You can quickly create an instance of an object with custom attributes and methods. You can also quickly create an anonymous class, optionally inheriting from another, with whatever methods you desire.

Mock-Object also provides a tool that provides an OO interface to overriding methods in existing classes. This tool also allows for the restoration of the original class methods. Best of all this is a localized tool, when your control object falls out of scope the original class is restored.

In the other systems

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

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
DragonFlydevel/p5-Mock-Quick1.111 newestnone known-[email protected]-
FreeBSDdevel/p5-Mock-Quick1.111 newestnone known-[email protected]-
NetBSDdevel/p5-Mock-Quick1.111nb6 newestnone known-[email protected]2026-07-16
HardenedBSDdevel/p5-Mock-Quick1.111 newestno data-[email protected]-
GhostBSDdevel/p5-Mock-Quick1.111 newestno data-[email protected]-

Compare across BSDs

Install

Binary package:

pkg install p5-Mock-Quick

From DPorts:

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

Dependencies

Run dependencies 2

No port depends on this one.