devel/p5-Test-MockModule 0.180.0 MidnightBSD
Override subroutines in a module for unit testing
- System
- MidnightBSD
- Repository
- mports
- Maintainer
- [email protected]
- License
- artistic, gpl
- Categories
- devel, perl5
Description
Test::MockModule lets you temporarily redefine subroutines in other packages for the purposes of unit testing.
In the other systems
| System | Port | Version |
|---|---|---|
| MidnightBSD | devel/p5-Test-MockModule | 0.180.0 |
| FreeBSD | devel/p5-Test-MockModule | 0.180.0 |
| OpenBSD | devel/p5-Test-MockModule | 0.177.0 |
| NetBSD | devel/p5-Test-MockModule | 0.180.0nb1 |
| DragonFly | devel/p5-Test-MockModule | 0.179.0 |
| HardenedBSD | devel/p5-Test-MockModule | 0.180.0 |
| GhostBSD | devel/p5-Test-MockModule | 0.180.0 |
Install
Binary package:
mport install p5-Test-MockModule
From mports:
cd /usr/mports/devel/p5-Test-MockModule && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= p5-Test-MockModule>0:devel/p5-Test-MockModule
Dependencies
As this port's Makefile names them.
Build 1
p5-SUPER>=0: devel/p5-SUPER
Runtime 1
p5-SUPER>=0: devel/p5-SUPER
Test 1
p5-Test-Warnings>=0: devel/p5-Test-Warnings
Build dependencies 1
Run dependencies 1
No port depends on this one.
Configuration
No options to configure.
- USES
- perl5
- Service scripts
- none
Files
pkg-plist 5
- %%SITE_PERL%%/Test/MockModule.pm
- %%PERL5_MAN3%%/Test::MockModule.3.gz
- @dir %%SITE_PERL%%/Test
- @dir %%SITE_ARCH%%/auto/Test/MockModule
- @dir %%SITE_ARCH%%/auto/Test
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| Test-MockModule-v0.180.0.tar.gz | 24736 | 390e60361d2c1c404463a46d496681b05458d50d811ee99282992b9b61ed6cf6 |
Master sites 1
- CPAN