BSD Ports

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

SystemPortVersion
MidnightBSDdevel/p5-Test-MockModule0.180.0
FreeBSDdevel/p5-Test-MockModule0.180.0
OpenBSDdevel/p5-Test-MockModule0.177.0
NetBSDdevel/p5-Test-MockModule0.180.0nb1
DragonFlydevel/p5-Test-MockModule0.179.0
HardenedBSDdevel/p5-Test-MockModule0.180.0
GhostBSDdevel/p5-Test-MockModule0.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

Runtime 1

Test 1

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
FileSizeSHA256
Test-MockModule-v0.180.0.tar.gz24736390e60361d2c1c404463a46d496681b05458d50d811ee99282992b9b61ed6cf6
Master sites 1
  • CPAN