./devel/p5-Test-MockModule, Perl 5 module to override subroutines in a module for unit testing

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: pkgsrc-2015Q2, Version: 0.09nb1, Package name: p5-Test-MockModule-0.09nb1, Maintainer: pkgsrc-users

The Perl 5 module Test::MockModule lets you temporarily redefine
subroutines in other packages for the purposes of unit testing.
A Test::MockModule object is set up to mock subroutines for a given
module. The object remembers the original subroutine so it can be
easily restored. This happens automatically when all MockModule
objects for the given module go out of scope, or when you unmock()
the subroutine.


Required to build:
[devel/p5-SUPER] [devel/p5-Test-Pod-Coverage] [devel/p5-Test-Pod]

Master sites: (Expand)

SHA1: 55d095486788126eb956a9a7c3fc913ac8d3b950
RMD160: ba02e2d96f538fa184710599996f24dd5386ac0c
Filesize: 22.566 KB

Version history: (Expand)