devel/p5-Test-MockModule 0.180.0
Override subroutines in a module for unit testing
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- License
- ART10, GPLv1+
- Categories
- devel, perl5
- Package size
- 18.1 KiB, 60.7 KiB installed
Description
Test::MockModule lets you temporarily redefine subroutines in other packages for the purposes of unit testing.
Install
As a binary package — by origin, or by package name:
pkg install devel/p5-Test-MockModule
pkg install p5-Test-MockModule
From the ports tree:
cd /usr/ports/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
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 0.180.0 | 0.180.0 | 0.177.0 | 0.180.0 | 0.180.0 |
| FreeBSD:14:quarterly | 0.180.0 | 0.180.0 | n/a | 0.179.0 | 0.180.0 |
| FreeBSD:15:latest | 0.180.0 | 0.180.0 | n/a | 0.180.0 | 0.180.0 |
| FreeBSD:15:quarterly | 0.180.0 | 0.180.0 | n/a | n/a | n/a |
| FreeBSD:16:latest | 0.180.0 | 0.180.0 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Build 1
p5-SUPER>=1.20: devel/p5-SUPER
Runtime 1
p5-SUPER>=1.20: devel/p5-SUPER
Test 3
p5-Test-Pod-Coverage>=0: devel/p5-Test-Pod-Coveragep5-Test-Pod>=0: devel/p5-Test-Podp5-Test-Warnings>=0: devel/p5-Test-Warnings
The full lists below include those, and their dependencies in turn.
All build dependencies 4
All run dependencies 3
Required by 2
Configuration
No options to configure.
- USES
- perl5
- Service scripts
- none
Files
pkg-plist 2
- %%SITE_PERL%%/Test/MockModule.pm
- %%PERL5_MAN3%%/Test::MockModule.3.gz
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| Test-MockModule-v0.180.0.tar.gz | 24736 | 390e60361d2c1c404463a46d496681b05458d50d811ee99282992b9b61ed6cf6 |
Master sites 1
- CPAN
Commit history 0
No commits in the history this site was built from.