Port details on branch 2022Q3 |
- p5-Mock-MonkeyPatch Monkey patching with test mocking in mind
- 1.02 devel =0 1.02Version of this port present on the latest quarterly branch.
- Maintainer: svysh.fbsd@gmail.com
- Port Added: 2021-07-28 09:30:06
- Last Update: 2022-09-07 21:58:51
- Commit Hash: fb16dfe
- Also Listed In: perl5
- License: ART10 GPLv1+
- WWW:
- https://metacpan.org/dist/Mock-MonkeyPatch
- Description:
- Mocking is a common tool, especially for testing. By strategically
replacing a subroutine, one can isolate segments (units) of code to
test individually. When this is done it is important to know that the
mocked sub was actually called and with what arguments it was called.
Mock::MonkeyPatch injects a subroutine in the place of an existing one.
It returns an object by which you can revisit the manner in which the
mocked subroutine was called. Further when the object goes out of scope
(or when the "restore" method is called) the original subroutine is
replaced.
- ¦ ¦ ¦ ¦
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - Dependency lines:
-
- p5-Mock-MonkeyPatch>0:devel/p5-Mock-MonkeyPatch
- To install the port:
- cd /usr/ports/devel/p5-Mock-MonkeyPatch/ && make install clean
- To add the package, run one of these commands:
- pkg install devel/p5-Mock-MonkeyPatch
- pkg install p5-Mock-MonkeyPatch
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: p5-Mock-MonkeyPatch
- Flavors: there is no flavor information for this port.
- distinfo:
- TIMESTAMP = 1627428368
SHA256 (Mock-MonkeyPatch-1.02.tar.gz) = c5b6944ca54fe8355737673060ed4e9ef8723726577d796e1cae5e56bf1b0181
SIZE (Mock-MonkeyPatch-1.02.tar.gz) = 15294
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- p5-Scalar-List-Utils>=1.56 : lang/p5-Scalar-List-Utils
- perl5>=5.32.r0<5.33 : lang/perl5.32
- p5-Module-Build-Tiny>=0.039 : devel/p5-Module-Build-Tiny
- perl5>=5.32.r0<5.33 : lang/perl5.32
- Runtime dependencies:
-
- p5-Scalar-List-Utils>=1.56 : lang/p5-Scalar-List-Utils
- perl5>=5.32.r0<5.33 : lang/perl5.32
- There are no ports dependent upon this port
Configuration Options:
- No options to configure
- Options name:
- devel_p5-Mock-MonkeyPatch
- USES:
- perl5
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|