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.
| System | Port | Version | Vulnerabilities | Status | Maintainer | Last update |
|---|---|---|---|---|---|---|
| DragonFly | devel/p5-Mock-Quick | 1.111 newest | none known | - | [email protected] | - |
| FreeBSD | devel/p5-Mock-Quick | 1.111 newest | none known | - | [email protected] | - |
| NetBSD | devel/p5-Mock-Quick | 1.111nb6 newest | none known | - | [email protected] | 2026-07-16 |
| HardenedBSD | devel/p5-Mock-Quick | 1.111 newest | no data | - | [email protected] | - |
| GhostBSD | devel/p5-Mock-Quick | 1.111 newest | no data | - | [email protected] | - |
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.